|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 31 楼』:
使用 LLM 解释/回答一下
Originally posted by namejm at 2007-1-20 04:18 PM:
Originally posted by pengfei at 2007-1-20 15:22:
2. 在提示符界面下浏览帖子, 如有好的内容希望复制下来, 用鼠标在提示符界面下操作,DOS提示符将失去响应。
虽然外观是字符界面,实际上还是用图形界面模拟出来的,本质上这还是一个网页界面,把鼠标定位到命令提示符处就可以了。
这个问题本身倒是不错。为了更好的实现模拟,我现已加入了即使当命令提示符失去焦点的时候按任意键(Ctrl/Alt组合键及键盘指示灯键除外,以允许Ctrl+A/Ctrl+C/Ctrl+V等特殊功能键进行编辑等操作)将自动恢复命令提示符的焦点,并且效果通常将与之前没有失去焦点的情况下按键无异。
------
Originally posted by qzwqzw at 2007-1-20 04:34 PM:
命令行提示中频繁出现一个词——贴子
实际应为帖子
我们常常混用“转帖”与“转贴”二词
虽然二词同义,但不代表二字同义
因为转贴可以 ...
我已将里面所有的“贴”字改为“帖”字。
Originally posted by namejm at 2007-1-20 04:18 PM:
Originally posted by pengfei at 2007-1-20 15:22:
2. When browsing posts in the prompt interface, if you want to copy good content, using the mouse to operate in the prompt interface will make the DOS prompt unresponsive.
Although it appears to be a character interface, it is actually simulated using a graphical interface. Essentially, this is still a web interface. You can position the mouse over the command prompt.
This problem itself is quite good. To better achieve the simulation, I have now added that when the command prompt loses focus, pressing any key (except Ctrl/Alt combination keys and keyboard indicator keys to allow special function keys like Ctrl+A/Ctrl+C/Ctrl+V for editing and other operations) will automatically restore the focus of the command prompt, and the effect is usually the same as pressing the key without losing focus before.
------
Originally posted by qzwqzw at 2007-1-20 04:34 PM:
The word "贴子" frequently appears in the command line prompt.
Actually, it should be "帖子".
We often mix up the two words "转帖" and "转贴".
Although the two words have the same meaning, it does not mean that the two characters have the same meaning.
Because reposting can...
I have changed all "贴" characters to "帖" characters.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-21 15:43 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 32 楼』:
使用 LLM 解释/回答一下
现已正式加上DIR的/A和/V开关的各选项!目前支持的选项包括:
/A开关选项:
A 附件 C 关闭/锁定 D 驱动器/目录
F 普通文件 G 精华 H 热门
L 高亮 P 投票 T 置顶
/V开关选项:
D 日期/时间 I ID P 发帖人/版主
R 记录 S 名称/标题 T 类型
比如:
DIR /A:HT 将显示所有热门帖子或置顶帖子
DIR /A /VDIRTS 将显示所有帖子,并显示它们的日期/时间、类型、ID、回复/查看数、名称/标题。
如果不加上这些选项的话表示显示所有项目,和之前版本的作用相同。选项字母来自于其正式英文名称,而开关和选项之间的冒号可有可无。另外已加上/C开关来显示建立日期/时间,同时现在DIR命令的类型将会显示热门帖子及带有附件的帖子。
Now the /A and /V switches of DIR have been officially added with various options! The currently supported options include:
/A switch options:
A Attachment C Close/Lock D Drive/Directory
F Normal file G Essence H Hot
L Highlight P Vote T Sticky
/V switch options:
D Date/Time I ID P Poster/Moderator
R Record S Name/Title T Type
For example:
DIR /A:HT will display all hot posts or sticky posts
DIR /A /VDIRTS will display all posts and show their date/time, type, ID, reply/view count, name/title.
If these options are not added, it means all items are displayed, the same as the previous version's function. The option letters come from their official English names, and the colon between the switch and the option can be present or absent. Additionally, the /C switch has been added to display the creation date/time, and now the type of the DIR command will display hot posts and posts with attachments.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-22 21:41 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 33 楼』:
使用 LLM 解释/回答一下
新的dir修改很不错,仅报告以下问题
1、dir项目为目录或版区时,会只显示.一个目录
2、/V的选项T(类型)建议改为A(属性)
以后两个概念合为一个,更便于理解
而且,按我的理解,类型是互斥的、单选的,属性是相容的、多选的
3、/A的选项F(普通文件)建议修改为N(普通)或取消
从“属性”的角度理解
没有任何属性的文件就是普通文件
比如CMD中,没有AHSR属性的便是普通文件
但为了过滤方便,普通属性需要一个标记
但此时是用“普通”作为属性,而不是用“普通文件”作为属性
4、文件属性的相容带来一个版面空间问题
一个文件最多可以同时拥有以下7个属性
A(附件)/C(关闭)/G(精华)/H(热门)/L(高亮)/P(投票)/T(置顶)
而dir输出的属性列中显然没有预留出足够的空间来显示全部的属性标识字
-----------------------------------------------------
建议在命令行界面是用net logon后随即加载autoexec.bat
-----------------------------------------------------
使用Opera发现缓冲区宽度增大,缩放至50%后可全显
而使用IE仍然是原来的宽度
-----------------------------------------------------
edit编辑器使用Ctrl+C退出
导致按习惯使用Ctrl+C复制文本时出现退出提示
而输入法打开的情况下
按C键来取消变得很麻烦
而目前我复制文本的临时办法是
选中-Ctrl+X-Ctrl+V-移动到新地点-Ctrl+V
很麻烦
另外,Ctrl+C常用于非正常终止
建议将退出修改为Ctrl+Z或者Ctrl+Q
The new dir modification is quite good, only the following problems are reported:
1. When the dir item is a directory or board area, it will only display. one directory.
2. The option T (type) of /V is suggested to be changed to A (attribute). The two concepts are combined into one later, which is more convenient for understanding. Moreover, according to my understanding, the types are mutually exclusive and single-choice, and the attributes are compatible and multi-choice.
3. The option F (ordinary file) of /A is suggested to be modified to N (ordinary) or canceled. Understand from the perspective of "attribute". A file without any attributes is an ordinary file. For example, in CMD, a file without AHSR attributes is an ordinary file. But for the convenience of filtering, an ordinary attribute needs a mark. But at this time, it is using "ordinary" as an attribute, not using "ordinary file" as an attribute.
4. The compatibility of file attributes brings a problem of layout space. A file can have at most the following 7 attributes: A (attachment)/C (closed)/G (essence)/H (popular)/L (highlight)/P (vote)/T (sticky). Obviously, there is not enough space reserved in the attribute column of dir output to display all the attribute identification characters.
-----------------------------------------------------
It is suggested to load autoexec.bat immediately after net logon in the command line interface.
-----------------------------------------------------
When using Opera, it is found that the buffer width increases, and it can be fully displayed when zoomed to 50%, while using IE is still the original width.
-----------------------------------------------------
The edit editor exits with Ctrl+C, resulting in an exit prompt when copying text according to the habit of using Ctrl+C. And when the input method is turned on, it is very troublesome to press the C key to cancel. And the current temporary way for me to copy text is: select - Ctrl+X - Ctrl+V - move to the new location - Ctrl+V. It is very troublesome. In addition, Ctrl+C is often used for abnormal termination. It is suggested to change the exit to Ctrl+Z or Ctrl+Q.
|
|
2007-1-23 00:43 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 34 楼』:
使用 LLM 解释/回答一下
Originally posted by qzwqzw at 2007-1-22 11:43 AM:
新的dir修改很不错,仅报告以下问题
1、dir项目为目录或版区时,会只显示.一个目录
2、/V的选项T(类型)建议改为A(属性)
以后两个概念合为 ...
DIR显示目录时只显示.的问题为最后一时的手误,已修正。
已将DIR的“类型”全部改为“属性”、/A的F已改为N,即普通。
关于版面问题。当使用代码页437的时候,每个属性会用一个字母(与/A的选项一致)来表示,当使用代码页936时则每个属性为一个汉字。目前的采取方法是当如果超过宽度的时候会自动截去超出的部分,不过由于同时拥有这么属性的文件几乎不存在,所以通常并不会出现这种情况。相反,多数文件一个属性都没有,如果默认留更多的位置,恐怕会造成屏幕空间更加紧张。
关于net logon,有时候autoexec.bat已经运行过一次了,用户只是临时登出并重登录一下,有可能并不一定想再运行一遍。如果确实想运行的话,建议直接输入cmd/p吧,这样autoexec.bat文件就会再自动运行了。
我倒没有发现Opera缓冲区增大。可能是字体或版本原因?我的Opera是9.10版。
关于EDIT下的Ctrl+C,其实这个问题我考虑过很久。本来是直接按ESC键就可以退出的,在IE、Firefox、Opera等浏览器下均没有问题,但偏偏有些人使用的Maxthon浏览器有个BUG,那就是网页中不能识别ESC键,我只好允许加入另一个能达成同样效果的键作为备用。对于MORE或DIR/P命令的分屏,按ESC、Q、Ctrl+C键均可中断。但在EDIT中,Q键显然不能做为退出键,否则就没法输入这个字母了。Ctrl+Z和Ctrl+Q等键本来也很好的,但它们也是特殊键,如Ctrl+Z可用于撤消,而且在一些浏览器上无法对它们进行直接控制,因此只好使用Ctrl+C键了。不过,它又和复制操作键相同,而造成一些麻烦。我暂时只好决定这样处理:当BREAK为ON的时候,允许按Ctrl+C键退出,以照顾Maxthon浏览器;当BREAK为OFF的时候,不能按Ctrl+C键退出,以方便复制操作。如果需要经常进行复制操作,建议在AUTOEXEC.BAT中加上BREAK OFF一行。这样也许算是一种解决办法吧。
Originally posted by qzwqzw at 2007-1-22 11:43 AM:
The new dir modification is quite good, only the following issues are reported
1. When the dir item is a directory or board area, it will only display the . as a directory
2. The option T (type) for /V is suggested to be changed to A (attribute)
The following two concepts are combined ...
The problem that the DIR displays only . when showing a directory was a typo from the last time, and it has been corrected.
All "types" in DIR have been changed to "attributes", and F in /A has been changed to N, which is normal.
Regarding the layout issue. When using code page 437, each attribute will be represented by a letter (consistent with the /A option), and when using code page 936, each attribute will be a Chinese character. The current approach is that if it exceeds the width, the exceeded part will be automatically truncated. However, since there are almost no files with so many attributes at the same time, this situation usually does not occur. On the contrary, most files have no attributes. If more positions are left by default, it may cause more screen space to be tight.
Regarding net logon, sometimes autoexec.bat has already run once, and the user just logs out and logs in again temporarily, and may not necessarily want to run it again. If you really want to run it, it is recommended to directly enter cmd/p, so that the autoexec.bat file will run automatically again.
I didn't find that the Opera buffer increased. Maybe it's due to the font or version? My Opera is version 9.10.
Regarding Ctrl+C under EDIT, in fact, I have thought about this for a long time. Originally, you can exit by pressing the ESC key directly, which is fine in browsers such as IE, Firefox, Opera, etc., but some people use the Maxthon browser which has a bug that is, the ESC key is not recognized in the web page, so I had to allow adding another key that can achieve the same effect as a backup. For the paged display of MORE or DIR/P commands, pressing ESC, Q, Ctrl+C keys can all interrupt. But in EDIT, the Q key obviously cannot be used as the exit key, otherwise you can't enter this letter. Ctrl+Z and Ctrl+Q and other keys were originally good, but they are also special keys. For example, Ctrl+Z can be used for undo, and it cannot be directly controlled on some browsers, so I had to use the Ctrl+C key. However, it is also the same as the copy operation key, causing some troubles. I have to decide to handle it like this temporarily: when BREAK is ON, allow pressing Ctrl+C key to exit, to take care of the Maxthon browser; when BREAK is OFF, cannot press Ctrl+C key to exit, to facilitate copy operation. If you need to perform copy operations frequently, it is recommended to add a line of BREAK OFF in AUTOEXEC.BAT. This may be a solution.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-23 02:25 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 35 楼』:
使用 LLM 解释/回答一下
屏幕缓冲区的问题
我在 Opera 9.01 和 Opera 9.10 都遇到过
但奇怪的是不是每次都这样
这应该与Opera有关
等我观察出规律再说吧
--------------------------------------------
回想起来
命令行界面为兼容浏览器实际上已作了太多的工作
添加Ctrl+C
帖末强制添加</code>代码
修改全角空格等等
现在还有Opera下的Quote块缺省居中的问题
不过我倒觉得
为了兼容非主流浏览器而影响代码的简洁有些得不偿失
这个问题暂时先放一放吧
---------------------------------------------
net logon 问题就按你的意见办吧
---------------------------------------------
刚才发现dir a:的输出略有调整
似乎你正为驱动器和文件并存输出心忧
我想倒不如将autoexec.bat放入默认论坛
一者既解决了并存输出的很多麻烦
二者也为日后的功能扩展奠定基础
扩展方向大约有两个
一个是可以支持更多的脚本
除了启动时的脚本
还可以包括手动执行的脚本,依靠事件触发的脚本
另外一个方向就是用户功能
短消息、我的主题、主题订阅、编辑个人资料等都是比较实用的功能
建议尽早列入开发日程
Problems with the screen buffer
I have encountered it in both Opera 9.01 and Opera 9.10
But strangely, it's not every time like this
This should be related to Opera
I'll wait until I observe the pattern
--------------------------------------------
Recalling
The command-line interface has actually done too much work to be compatible with browsers
Added Ctrl+C
Forcibly added </code> code at the end of the post
Modified full-width spaces, etc.
Now there's also the problem that the Quote block in Opera is centered by default
But I actually think
It's not worth it to affect the simplicity of the code for the sake of being compatible with non-mainstream browsers
Let's put this problem aside for now
---------------------------------------------
I'll handle the net logon issue according to your opinion
---------------------------------------------
Just now I found that the output of dir a: has a slight adjustment
It seems you are worrying about the coexistence output of drives and files
I think it's better to put autoexec.bat into the default forum
On one hand, it solves many troubles of coexistence output
On the other hand, it also lays the foundation for future functional expansion
There are approximately two directions for expansion
One is that it can support more scripts
In addition to the script at startup
It can also include scripts executed manually, and scripts triggered by events
The other direction is user functions
Short messages, my topics, topic subscriptions, editing personal information, etc. are all relatively practical functions
It is suggested to include them in the development schedule as soon as possible
|
|
2007-1-23 04:27 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 36 楼』:
使用 LLM 解释/回答一下
现在Quote的部分已经是只有外框而没有加色显示了,所以居中估计会更显眼些,而且与GUI界面保持一致。
默认论坛(即B盘)其实是一个特殊的版块,是所有Discuz!论坛最初的版块(所以叫默认论坛),里面也可以存放主题、帖子等,只是大多数论坛之后新建了其它版块而将其留空。换句话说,默认论坛从本质上来说还是一个正常版块的,所以如果用它来放AUTOEXEC.BAT似乎不太合适。而且,好像正常的电脑不可以从B盘启动(启动盘只能是A盘或C盘),所以B:\AUTOEXEC.BAT启动时不能被自动运行。目前的AUTOEXEC.BAT是通过扩展现有数据表而做成的,如果要支持更多自定义的脚本的话,光扩展现有数据表是不够的,而需要新增数据表。DOS和CMD下均没有有关阅读短消息的命令,所以我还没想好用什么命令及形式来操作比较合适呢(Unix下倒是有WRITE等命令可以读写消息,但似乎不像是DOS/CMD命令)。
Now the quoted part is only the outer frame without the colored display, so centering it might be more eye-catching and consistent with the GUI interface.
The default forum (that is, drive B) is actually a special section, which is the original section of all Discuz! forums (hence the name default forum). It can also store topics, posts, etc. However, most forums have created other sections later and left this one empty. In other words, essentially the default forum is still a normal section, so it is not appropriate to use it to place AUTOEXEC.BAT. Moreover, it seems that a normal computer cannot boot from drive B (the boot disk can only be drive A or C), so B:\AUTOEXEC.BAT cannot be automatically executed when booting. The current AUTOEXEC.BAT is made by expanding the existing data table. If more custom scripts need to be supported, expanding the existing data table is not enough, and a new data table needs to be added. There are no commands related to reading private messages under DOS and CMD, so I haven't thought about what command and form to use for operation yet (under Unix, there are commands like WRITE to read and write messages, but it doesn't seem to be a DOS/CMD command).
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-23 13:25 |
|
|
Roy
管理员
          專業島民
积分 4869
发帖 1633
注册 2002-12-10
状态 离线
|
『第 37 楼』:
使用 LLM 解释/回答一下
M$不是也有Exchange for DOS嗎? 也有M$ Mail (MAIL.EXE)呢
其實從*nix把mail/uucp指令移植過來也無不可啦。
Last edited by Roy on 2007-1-23 at 05:53 AM ]
M$ also has Exchange for DOS, and there is also M$ Mail (MAIL.EXE). In fact, it's not impossible to port the mail/uucp commands from *nix.
Last edited by Roy on 2007-1-23 at 05:53 AM ]
|

我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
 |
|
2007-1-23 13:46 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 38 楼』:
使用 LLM 解释/回答一下
发短消息可以用net send或者别的
阅读短消息吗
把邮件按文件处理——dir列表/type显示即可
只是为了降低开发的复杂度
可能分拆成两个相对独立的文件系统会好一些
比如专门为短消息箱分配一个或两个驱动器
---------------------------------------------------
至于自由脚本
不太清楚所谓扩展表与新增表
但照我的理解
将他们都作为了一个普通文件来处理
似乎可以用统一的数据表结构来实现
---------------------------------------------------
Roy 出现了
是否意味着950的繁体版也值得期待了?
Sending private messages can use net send or others
reading private messages?
treating emails as files - display with dir list/type
just to reduce the complexity of development
maybe it would be better to split into two relatively independent file systems
for example, allocate one or two drives specifically for the private message box
---------------------------------------------------
as for free scripts
not very clear about the so-called extension table and new table
but according to my understanding
treating them all as a common file for processing
it seems that a unified data table structure can be used to implement
---------------------------------------------------
Roy has appeared
does it mean that the traditional Chinese version of 950 is also worth looking forward to?
|
|
2007-1-24 00:38 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 39 楼』:
使用 LLM 解释/回答一下
Originally posted by qzwqzw at 2007-1-23 11:38 AM:
发短消息可以用net send或者别的
阅读短消息吗
把邮件按文件处理——dir列表/type显示即可
只是为了降低开发的复杂度
可能分拆成两个相对独 ...
net send我也曾考虑过,不过似乎有点不太合适,因为论坛的短消息同时有标题和内容,而内容可以是一些段落,就像帖子一样,而在命令行上用net send则只能发很简单的文字,不太实用。更重要的是,net send只是一个独立的功能,只能发不能收,总觉得不太完整,即使采用特殊手段以DIR命令来列出,也由于这两种功能看起来不相关而觉得有些别扭,缺乏一致性和统一的操作接口。
看到Roy上面提到的MS Mail和Unix中的MAIL命令,我倒有一种想法,看看是否可行:
MAIL:显示收件箱情况及未读消息。
MAIL ALL:显示收件箱中的所有消息,包括未读和已读消息。
MAIL :将显示消息内容。
MAIL TO xxx:给xxx发送消息,其中xxx可以是多人,以逗号分隔。
Originally posted by qzwqzw at 2007-1-23 11:38 AM:
You can use net send or others to send private messages.
To read private messages?
Treat emails as files - list with dir / display with type.
Just to reduce the complexity of development.
Probably split into two relatively independent...
I also considered net send, but it doesn't seem quite suitable. Because the private messages in the forum have both a subject and content, and the content can be several paragraphs, just like a post. But using net send on the command line can only send very simple text, which is not very practical. More importantly, net send is just an independent function, only for sending but not receiving. It always feels incomplete. Even if we use special means to list with the DIR command, it still feels a bit awkward because these two functions seem unrelated, lacking consistency and a unified operation interface.
When I saw Roy mentioned MS Mail and the MAIL command in Unix above, I had an idea. Let's see if it's feasible:
MAIL: Display the inbox situation and unread messages.
MAIL ALL: Display all messages in the inbox, including unread and read ones.
MAIL : Display the message content.
MAIL TO xxx: Send a message to xxx, where xxx can be multiple people, separated by commas.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-24 01:10 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 40 楼』:
使用 LLM 解释/回答一下
我本来的想法是
用文件命令把邮件当文件来管理
邮件命令只用来实现收发
草稿/编辑/分类/筛选/忽略都有了实现的可能性
-----------------------------------------------------------
不过这样也好
反正在CMD中也没有邮件收发的标准
怎么定都可以
先做的也许可以成为事实标准也不一定
而且我的想法是把摊子铺大了些
一个短消息系统似乎没必要做成一个邮件系统
---------------------------------------------------------------
照这样看来
用户资料/主题订阅大约都需要新增命令了
My original idea was
To use file commands to manage emails as files
Email commands are only used to implement sending and receiving
There are possibilities for implementation in drafts/editing/categorizing/filtering/ignoring
-----------------------------------------------------------
But that's okay
Anyway, there is no standard for email sending and receiving in CMD
You can set it however you want
What is done first may become a de facto standard
And my idea is to spread the scope a bit
A short message system doesn't need to be made into an email system
---------------------------------------------------------------
In this case
User profiles/subscription to topics probably need new commands to be added
|
|
2007-1-24 02:11 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 41 楼』:
使用 LLM 解释/回答一下
当然,我还有另一种方案那就是增强NET命令。除支持用NET SEND命令发送短消息外,新增一个NET RECEIVE命令来查看未读的短消息,用NET RECEIVE [数字]则可以显示短消息中的内容。另外还可以考虑加入NET SESSION来显示在线用户列表。不知道哪种方案更合适些。
Of course, I have another plan, which is to enhance the NET command. In addition to supporting sending short messages with the NET SEND command, a new NET RECEIVE command is added to view unread short messages. Using NET RECEIVE can display the content of the short message. In addition, we can also consider adding NET SESSION to display the list of online users. I don't know which plan is more appropriate.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-24 02:14 |
|
|
qzwqzw
银牌会员
     天的白色影子
积分 2343
发帖 636
注册 2004-3-6
状态 离线
|
『第 42 楼』:
使用 LLM 解释/回答一下
既然都是新增命令
自然就根据自己的需求来判断
mail 胜在简单(我一度考虑用 pm)
而且我比较喜欢一个命令仅实现一个相对独立的功能
对于for/if/set/net等所谓集成命令没有太多好感
用户列表建议用 net view 或者 net user
当然还是要根据你以后的开发计划来全盘考虑的
Since they are all newly added commands, naturally, judge according to your own needs. The mail is good for its simplicity (I once considered using pm). And I prefer a command to implement a relatively independent function only. I don't have much liking for integrated commands like for/if/set/net. The user list is suggested to use net view or net user. Of course, it still needs to be considered as a whole according to your future development plans.
|
|
2007-1-24 02:31 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 43 楼』:
使用 LLM 解释/回答一下
看到现在关于短消息系统的实现已经有了至少三种方案,我就来总结一下各种方案的优缺点吧:
方案一:用NET SEND发送消息,将消息当作文件用DIR命令查看。
优点:模拟了DOS/CMD中的NET命令的SEND选项,并且为消息和帖子实现了统一的阅读平台。
缺点:发送消息和阅读消息的方法相互独立,缺乏一致性。实现消息和帖子的统一性虽好,但同时可能也忽略了一些问题,而且实现起来也比较麻烦。当均作为文件系统来处理的时候,现有的所有文件相关命令(比如CD、DIR、TYPE、EDIT、FIND等)也都需进行修改已全面支持新的文件系统(相当于在DOS下加载NTFSDOS之类的程序,而这些程序需提供NTFS等DOS无法直接识别的驱动器下的文件操作接口)。
方案二:新增MAIL命令来专门处理短消息。
优点:简单灵活、操作简便、功能相对完整。
缺点:非通常的DOS/CMD的现有命令,相当于用一个新命令来处理一个独立的系统。
方案三:用NET SEND发送消息,并增加NET的RECEIVE选项来查看消息。
优点:利用了DOS/CMD下的NET命令进行操作,并作了增强以满足实际的需求,以及保持了短消息操作的一致性。
缺点:作为集成命令,可能没有单独的命令那样简单灵活。
以上作为参考,以方便进行判断。
I see that there are at least three schemes for the implementation of the private message system now. I'll summarize the advantages and disadvantages of each scheme:
Scheme 1: Use NET SEND to send messages, and treat the messages as files to view with the DIR command.
Advantages: Simulates the SEND option of the NET command in DOS/CMD, and realizes a unified reading platform for messages and posts.
Disadvantages: The methods of sending messages and reading messages are independent of each other, lacking consistency. Although it's good to realize the unity of messages and posts, it may also ignore some problems, and it's relatively troublesome to implement. When both are treated as a file system, all existing file-related commands (such as CD, DIR, TYPE, EDIT, FIND, etc.) also need to be modified to fully support the new file system (equivalent to loading programs like NTFSDOS under DOS, and these programs need to provide file operation interfaces for drives like NTFS that DOS can't directly recognize).
Scheme 2: Add a MAIL command to specifically handle private messages.
Advantages: Simple and flexible, easy to operate, and relatively complete in functions.
Disadvantages: Not a usual existing command in DOS/CMD, equivalent to using a new command to handle an independent system.
Scheme 3: Use NET SEND to send messages, and add a RECEIVE option to the NET command to view messages.
Advantages: Utilizes the NET command under DOS/CMD for operation, and is enhanced to meet actual needs, as well as maintains the consistency of private message operations.
Disadvantages: As an integrated command, it may not be as simple and flexible as a separate command.
The above is for reference to facilitate judgment.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-24 03:06 |
|
|
Roy
管理员
          專業島民
积分 4869
发帖 1633
注册 2002-12-10
状态 离线
|
『第 44 楼』:
使用 LLM 解释/回答一下
Originally posted by qzwqzw at 2007-1-23 11:38:
Roy 出现了
是否意味着950的繁体版也值得期待了?
現在先要把語言從主系統分離出來以減少需要傳送量我才會把CP950加上呢...
最快我會在週末動工...看情況吧 ;)
Originally posted by qzwqzw at 2007-1-23 11:38:
Roy has appeared
Does it mean that the traditional Chinese version of 950 is also worth looking forward to?
Now we need to separate the language from the main system first to reduce the amount of data to be transmitted before I can add CP950...
I will start working on it this weekend at the earliest... Let's see the situation ;)
|

我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
 |
|
2007-1-24 07:14 |
|
|
Wengier
系统支持
             “新DOS时代”站长
积分 27736
发帖 10521
注册 2002-10-9
状态 离线
|
『第 45 楼』:
使用 LLM 解释/回答一下
现已正式支持收发短消息的功能!
关于最终的实现方法,想了很久,其中qzwqzw提出的第一种方案合理性还是不错的,主要是原先考虑到内容比较复杂而且时间较紧所以一时可能较难实现。不过,最终决定还是采用此方案来实现收发短消息。
现在收件箱中将作为G盘(即原最后一个驱动器的下一个),其中的的短消息和各版块中的帖子的管理形式完全一致,可用DIR、TYPE等命令对其进行列表、查看等操作。<新>表示新消息,可以用DIR的开关进行过滤,和帖子一样。不过,FIND命令目前暂不支持查找此驱动器中的内容(会给出提示)。
发送短消息可使用NET SEND命令的形式,例如NET SEND a,b将发送给a和b两个用户,然后系统将自动提示输入标题和内容。
Now it officially supports the function of sending and receiving short messages!
Regarding the final implementation method, I have thought about it for a long time. Among them, the rationality of the first scheme proposed by qzwqzw is still relatively good. The main reason is that I originally considered that the content was relatively complex and the time was tight, so it might be difficult to implement for a while. However, in the end, it was decided to use this scheme to implement sending and receiving short messages.
Now the inbox will be used as drive G (that is, the next one after the original last drive). The short messages in it are completely consistent with the management form of the posts in each section. You can use commands like DIR, TYPE to list, view and other operations on it. <New> means new messages, which can be filtered using the switches of DIR, just like the posts. However, the FIND command currently does not support finding the content in this drive (will give a prompt).
To send a short message, you can use the form of the NET SEND command. For example, NET SEND a,b will send to two users a and b, and then the system will automatically prompt to enter the title and content.
|

Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)
 |
|
2007-1-25 04:42 |
|
|