|
lydong
元老会员
        
积分 1468
发帖 407
注册 2002-10-21 来自 广州
状态 离线
|
『楼 主』:
转贴《4DOS 的说明书1》
使用 LLM 解释/回答一下
1. 4DOS 到底是什么东东?
-------------------------
4DOS 是由 JP Software Inc. 所发行。一般 BBS 站上的是 4DOS SW 版
,另外 JP Software Inc. 也有发行商业版,但是国内似乎并没有代理商或
经销商;不过基本上 SW 版除了有使用期限之外(执行时会出现使用期限的
警告讯息,至于是否真的过期后就无法再使用?这个弟不知道,因为弟使用
的是‘破解版’....B-b),在功能上和商业版并没有什么差异。目前 4DOS
最新的版本为 4.02b 版(由 FIDO 网 4DOS 信区信件得知,但目前国内 BBS
站上流传的似乎都只是 4.02 版,要是有哪位玩家有 4.02b 版,请将它传到
站上以飨众玩家吧)。
基本上 4DOS 的功能就像是 MS-DOS 的 command.com ,也就是一般俗称
‘shell 程式’或‘命令转译器’,不过 command.com 和 4DOS 比起来,那
就差太多了(这是事实,相信每一位用过 4DOS 的玩家都会赞成),即使是
MS-DOS 已改版至 DOS 6.0 但是有很多功能还是差 4DOS 一大截,至于到底
4DOS 强在哪里以后会有较详尽的介绍,在此不再赘述。
2. 那么 4DOS 和 MS-DOS 或其他程式的相容性怎样?
------------------------------------------------
Well ,4DOS 并不是被设计来和 MS-DOS 的 command.com 搭配使用的,
而是要用来‘完全取代’command.com 的,注意是‘完全取代’喔!意思是
说当您有了 4DOS 之后,您就可以考虑要用哪片磁片来放 command.com 了,
因为您几乎不会再想要用它了!
OK ,既然是‘完全取代’那么和其他程式的相容性自然就不用怀疑了,
要是有哪个程式和 4DOS 有相容性的问题,那么 99.99999...% 也会和 DOS
有相容性的问题。就弟这几个月来的使用经验,真的不曾发生过有什么程式
和 4DOS 有相容性的问题(弟很喜欢尝试一些奇奇怪怪的东东,而有些程式
摆明‘很挑机器’,所以系统常常会出现相容性的问题,但是经过百般尝试
之后,最后的问题却都不在于 4DOS ,所以它的相容性应该是值得信赖的)
3. 既然 4DOS 的功能这么强,那么一定很复杂、不好学吧?
-----------------------------------------------------
Well ,要完全发挥 4DOS 的特异功能的确需要学习许多使用技巧;但是
对于一个初学者或是只想看看 4DOS 有何功能的玩家而言,使用 4DOS 就和
使用 MS-DOS 一模一样,您完全不用再学什么新的技巧就可以使用 4DOS ,
换句话说,只要您会使用 MS-DOS 您就会使用 4DOS !
But ,身为一位电脑玩家自然不会以此为满足,更何况也只有了解 4DOS
的一些技巧,才能看出它比 command.com 强在哪里。而您可以在使用 4DOS
的过程中慢慢的发掘它的技巧、长处,So ,您总是可以在使用 4DOS 时发现
它的优点,终于在使用、发现、学习的过程中,您发现您己离不开 4DOS 了
,要是再要您用 MS-DOS 的 command.com,您会说:‘让我ㄕˇ了吧!’
4. 那么 4DOS 会不会很占记忆体?
--------------------------------
‘占记忆体’? Are you kidding me ?‘占记忆体少’正是 4DOS 的
特异功能之一。但是先决条件是要先学会怎么设定,这个技巧以后也会提到
,所以也不再多说,不过在此还是就‘占记忆体’方面和 MS-DOS 作个比较
,让您知道 4DOS 有多‘强悍’。
这是 MS-DOS 占记忆体的情形:
Name Total = Conventional + Upper Memory
-------- ---------------- ---------------- ----------------
MSDOS 15565 (15K) 15565 (15K) 0 (0K)
HIMEM 2912 (3K) 2912 (3K) 0 (0K)
EMM386 3120 (3K) 3120 (3K) 0 (0K)
COMMAND 2976 (3K) 2976 (3K) 0 (0K)
^^^^^^^ ^^^^^^^^^^^^
这是 4DOS 占记忆体的情形:
Name Total = Conventional + Upper Memory
-------- ---------------- ---------------- ----------------
MSDOS 15549 (15K) 15549 (15K) 0 (0K)
QEMM386 800 (1K) 800 (1K) 0 (0K)
4DOS 4048 (4K) 320 (0K) 3728 (4K)
^^^^ ^^^^^^^^^^^
看到了吗?4DOS 只占主记忆体 320 bytes 而 command.com 却要 3k!
占主记忆体少而功能却非常强悍----这就是 4DOS!嗯,真是‘俗又大碗’!
其实 4DOS 可以做到最少只占主记忆体 256 bytes,不过弟觉得 320 bytes
这样就已经很了不起了。
如何,看了以上的介绍之后您是否对 4DOS 有了初步的认识?又是否会
觉得非常心动?‘心动不如马上行动’!赶快去找一套来试试,相信 4DOS
一定会‘好得让您耳目一新’。
这次只为您作 4DOS 的基本介绍,下次再为您介绍 4DOS 的基本用法。
欢迎在使用上有心得或有问题的玩家一起来加入讨论的行列。
Subj: 4DOS (2) --- 4DOS 要如何使用?
Hello, Everybody :
这次为各位介绍 4DOS 的一些最基本的用法:
1. 什么地方可以找到 4DOS ?
----------------------------
您可以到各 BBS 站找找,应该找得到,以 4DOS V4.02 SW 版为例:
档 名 大 小 说 明
------------ ------ ---------------------
4DOS402D.ZIP 262145 4DOS V4.02 说明文件档
4DOS402P.ZIP 310863 4DOS V4.02 执行程式档
4DOS402U.ZIP 175545 4DOS V4.02 Patch 档,给 V4.0 ,V4.01 用的
And ,您只要有其中的 4DOS402P.ZIP 就可以了,不过最好还是将说明
文件档也一起抓回去,因为其中的 4dos.doc( 就是 4DOS 的使用手册 )
写得十分详尽,有什么问题都可以从文件档中得到解答,不过您得和弟一样
先培养看英文的耐性,否则 1 Mega 的英文文件会让您看到眼睛‘脱窗’。
2. 我找到这些档了,可是要怎么 install ?
-----------------------------------------
Well ,先造个子目录( 如 C:\4DOS ),再用 PKUNZIP 将上述档案解
至目录中就可以了,因为是 shareware 版本,这样就算 install 完了。
3. 然后呢?要怎么执行?在 C:\4DOS> 中执行 4DOS.COM 吗?
--------------------------------------------------------
Well ,您最好不要这么做。因为这么做等于是造出‘第二层的 shell’
( 关于 shell 的观念弟不再此多作叙述 ),一般这么做的目的只有一个,
那就是您想先试试看 4DOS 有什么功能,不过弟想聪明如您,应该可以直接
跳过这个步骤,直接将它设定为 Primary shell 吧!
ok ,先找到您的 config.sys ,用文书处理程式在其最后一行加上:
SHELL=C:\4DOS\4DOS.COM C:\4DOS @C:\4DOS\4DOS.INI /P
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^
① ② ③ ④
PS: 要是您使用 DOS 6.0 的 multi-config 功能,这一行要加在您想加入的
block 中的最后一行 )
说明: ① 告诉系统到 C:\4DOS> 目录中去找 4dos.com 来作为其 shell
程式,其中 C:\4DOS> 是您 4dos.com 所在的目录,若是您将
4dos.com 拷贝到根目录,则可改为 SHELL=C:\4DOS.COM....。
② 告诉系统 C:\4DOS> 是您 4DOS 存放的子目录,4DOS 利用这个
PATH 存放 COMSPEC 环境变数,所以这个参数最好不要省略。
③ 告诉 4DOS 到 C:\4DOS> 中找 4dos.ini 作为‘初始设定档’
( initial file )。在这个档案中存放的是 4DOS 的初始设定
资料,几乎所有的 4DOS 功能都可以在此档中设定,那么 4DOS
执行之时,就可以根据这些资料来作设定工作,但是如何设定
4dos.ini 已经算是中、高级的用法,不在此多说。不过,若是
您第一次执行 4DOS 时,应该没有 4dos.ini 这个档案,因此
您可以省略这个参数。
④ 告诉系统 4DOS.COM 是用来作为 primary shell ,故这个参数
不可省略。
ok ,修改完 config.sys 中后,存档再开机,萤幕中是否有下列讯息:
4DOS 4.02 DOS 6.0
Copyright 1988-1993 Rex Conn & JP Software Inc. All Rights Reserved
C:\>
PS: 以上讯息为 cracked version 所显示的讯息,若您使用的版本尚未注册
,那么还会出现一些使用期限的警告讯息。
恭喜您! 4DOS 已经准备好为您工作了!
4. 就这样?怎么这么简单!再来我要作什么?
------------------------------------------
Hey ,Man , Take it easy!先按 F1 看看 4DOS 提供哪些指令/功能。
Oh ,对了,F1 是 4DOS 内设的 ON-LINE HELP 热键,基本上和 DOS 6.0 的
ON-LINE HELP 十分类似,只是功能更强、使用起来更方便( 这不是废话?
要不然怎么‘完全取代’?)您是否发现您以前使用 MS-DOS 所惯用的指令
在 4DOS 中一样可以用,不但如此,4DOS 还提供许多 MS-DOS 没有的功能,
而这些功能则需要您慢慢的去发掘了。
到目前为止都只为您介绍 4DOS 的基本使用方法,并没有提到如何使用其所
提供的特异功能,不过别急,以后会再为您介绍。
ok ,下次再为您介绍 4dos.ini 中的一些最基本的设定方法,其中则包含了
几个特异功能的设定,当然,您一定会很惊讶的发觉,原来要使用这些功能竟是
如此的简单!
See you next time !
Subj: 4DOS (3) --- 嗯,不错喔!
Hello ,everybody :
这一次来为您介绍一些设定 4dos.ini 的方法:
1. 你骗我!我按 F1 怎么没有作用?
----------------------------------
Oh ,I am very very sorry! 我忘了交待要先将 4dos.hlp 先拷贝至
根目录。不过其实只要您知道如何设定 4dos.ini 就可以不用这么作了。
At first ,您得先用文书处理程式编辑一个档,档名 4dos.ini ,这个
档最好放在根目录或是 4DOS 所在的子目录,记得还要把 config.sys 中的
shell 那一行命令设好。
ok ,您只要在 4dos.ini 中加入:
HelpPath=C:\4DOS ;设定 4DOS 到 C:\4DOS> 目录中找 4dos.hlp
就行了,然后存档再重新开机。按 F1 看看怎么样?这次没再‘出锤’吧!
2. 要怎么作才能使 4DOS 少占记忆?
----------------------------------
Well ,要是您没有使用 4DOS 的特异功能,那么在您进入系统时它将会
占掉 4k 的记忆体,但是 4DOS 提供可以将其一部份 load high 至 UMB 的
功能,可以将其占用主记忆体的部份减少至 256 bytes。
其实要使用这功能也是十分简单,只要在 4dos.ini 中加入:
UmbEnv=Yes ;设定 4DOS 将其环境变数 load high 至 UMB
UmbLoad=Yes ;设定 4DOS 将其常驻部份 load high 至 UMB
这两行然后再重新开机就可以啦,That's all!
对了,差点又忘了,4DOS 在执行时分为两部份,一部份称为常驻部份
( Resident Portion ),另一部份称为转换部份( Transient Portion )
;常驻部份占主记忆体约 3k ,但若使用上述功能可使其减少至 256 bytes
;转换部份约 88k,4DOS 将这一部份转换至 EMS 或 XMS 甚至于磁碟机上,
不过您得在 4dos.ini 中加入一行:
Swapping=XMS,EMS,C:\ ;设定 4DOS 先尝试将转换部份转换至
;XMS ,若无 XMS 再尝试 EMS ,若都
;没有则转换至磁碟机 C:\ 上
其中 XMS,EMS,C:\等参数位置最好随您的系统而设定。
3. 真不习惯 4DOS 在 dir 时显示方式,能不能教它以大写显示?
-----------------------------------------------------------
It's very easy ! 只要在 4dos.ini 中加入:
UpperCase=Yes ;设定 4DOS 以大写来显示
就可以啦!
### 1. What exactly is 4DOS?
-------------------------
4DOS is published by JP Software Inc. The version commonly found on BBS stations is the 4DOS SW version. Additionally, JP Software Inc. also publishes a commercial version, but there doesn't seem to be any agents or distributors in China. However, basically, the SW version only has a usage period (a warning message about the usage period will appear during execution. As for whether it can really no longer be used after expiration? I don't know, because I use the 'cracked version'.... B-b). In terms of functionality, there is no difference from the commercial version. Currently, the latest version of 4DOS is version 4.02b (learned from the 4DOS message area of the FIDO network, but the version currently circulating on domestic BBS stations seems to only be version 4.02. If any player has version 4.02b, please upload it to the station to treat all players).
Basically, the function of 4DOS is like MS-DOS's command.com, which is commonly known as a 'shell program' or 'command interpreter'. However, compared with command.com, 4DOS is far superior (this is a fact, and I believe every player who has used 4DOS will agree). Even though MS-DOS has been upgraded to DOS 6.0, there are still many functions that are far behind 4DOS. The specific strengths of 4DOS will be introduced in detail later, so I won't go into details here.
### 2. Then how is the compatibility of 4DOS with MS-DOS or other programs?
--------------------------------------------------------------------
Well, 4DOS is not designed to be used in conjunction with MS-DOS's command.com, but to 'completely replace' command.com. Note that it's 'completely replace'! This means that when you have 4DOS, you can consider which disk to put command.com on, because you will hardly want to use it anymore!
OK, since it's 'completely replace', there's no need to doubt the compatibility with other programs. If there is a compatibility problem between a program and 4DOS, then 99.99999...% of the time there will also be a compatibility problem with DOS. Based on my experience of using it for the past few months, I have really never encountered any program that has a compatibility problem with 4DOS (I really like to try some strange things, and some programs clearly 'pick machines', so the system often has compatibility problems. But after various attempts, the final problem is never with 4DOS, so its compatibility should be reliable).
### 3. Since 4DOS is so powerful, must it be complicated and difficult to learn?
---------------------------------------------------------------------
Well, to fully exert the unique functions of 4DOS, you do need to learn many usage skills. But for a beginner or a player who just wants to see what functions 4DOS has, using 4DOS is exactly the same as using MS-DOS. You don't need to learn any new skills to use 4DOS. In other words, as long as you can use MS-DOS, you can use 4DOS!
But, as a computer player, you naturally won't be satisfied with this. Moreover, only by understanding some skills of 4DOS can you see what's better than command.com. And you can slowly discover its skills and strengths in the process of using 4DOS. So, you will always find its advantages when using 4DOS. Finally, in the process of using, discovering, and learning, you find that you can't live without 4DOS. If you are asked to use MS-DOS's command.com again, you will say: 'Let me die!'
### 4. Then will 4DOS take up a lot of memory?
--------------------------------
'Take up memory'? Are you kidding me? 'Taking up little memory' is one of the unique functions of 4DOS. But the prerequisite is to first learn how to set it up. This skill will be mentioned later, so I won't say more. But here, I will still compare it with MS-DOS in terms of 'taking up memory' to let you know how 'powerful' 4DOS is.
This is the situation of MS-DOS taking up memory:
Name Total = Conventional + Upper Memory
-------- ---------------- ---------------- ----------------
MSDOS 15565 (15K) 15565 (15K) 0 (0K)
HIMEM 2912 (3K) 2912 (3K) 0 (0K)
EMM386 3120 (3K) 3120 (3K) 0 (0K)
COMMAND 2976 (3K) 2976 (3K) 0 (0K)
^^^^^^^ ^^^^^^^^^^^^
This is the situation of 4DOS taking up memory:
Name Total = Conventional + Upper Memory
-------- ---------------- ---------------- ----------------
MSDOS 15549 (15K) 15549 (15K) 0 (0K)
QEMM386 800 (1K) 800 (1K) 0 (0K)
4DOS 4048 (4K) 320 (0K) 3728 (4K)
^^^^ ^^^^^^^^^^^
Did you see? 4DOS only takes up 320 bytes of main memory, while command.com takes up 3K! Taking up little main memory but having very powerful functions----this is 4DOS! Well, it's really 'cheap and good'. Actually, 4DOS can be made to take up at least 256 bytes of main memory, but I think 320 bytes is already very remarkable.
How about it? After reading the above introduction, do you have a preliminary understanding of 4DOS? And do you feel very excited? 'Action speaks louder than words'! Hurry up and find a set to try, and I believe 4DOS will definitely 'be so good that it makes you refreshed'.
This time, only the basic introduction of 4DOS is given. Next time, the basic usage of 4DOS will be introduced.
Players who have experience in use or have questions are welcome to join the discussion.
Subj: 4DOS (2) --- How to use 4DOS?
Hello, Everybody :
This time, some of the most basic usages of 4DOS are introduced for you:
### 1. Where can I find 4DOS?
----------------------------
You can look for it on various BBS stations. It should be found. Take 4DOS V4.02 SW version as an example:
File Name Size Description
------------ ------ ---------------------
4DOS402D.ZIP 262145 4DOS V4.02 instruction file
4DOS402P.ZIP 310863 4DOS V4.02 executable file
4DOS402U.ZIP 175545 4DOS V4.02 Patch file, for V4.0, V4.01
And, you only need to have 4DOS402P.ZIP among them, but it's better to also grab the instruction file back, because 4dos.doc (which is the user manual of 4DOS) in it is very detailed. Any questions can be answered from the file. But you have to develop the patience to read English like me, otherwise a 1 Mega English file will make your eyes 'pop out'.
### 2. I found these files, but how to install?
-----------------------------------------
Well, first create a subdirectory (such as C:\4DOS), then use PKUNZIP to extract the above files to the directory, and it's installed. Because it's a shareware version, that's how the installation is completed.
### 3. Then? How to execute? Execute 4DOS.COM in C:\4DOS>?
--------------------------------------------------------
Well, you'd better not do this. Because doing this is equivalent to creating a 'second layer of shell' (I won't go into detail about the concept of shell here). The only purpose of doing this is that you want to first see what functions 4DOS has. But I think you are as smart as you, so you should be able to skip this step directly and set it as the Primary shell!
OK, first find your config.sys, and add the following line at the last line with a word processing program:
SHELL=C:\4DOS\4DOS.COM C:\4DOS @C:\4DOS\4DOS.INI /P
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^
① ② ③ ④
PS: If you use DOS 6.0's multi-config function, this line should be added at the last line in the block you want to add.)
Explanation: ① Tell the system to find 4dos.com in the C:\4DOS> directory as its shell program. Here, C:\4DOS> is the directory where your 4dos.com is located. If you copy 4dos.com to the root directory, it can be changed to SHELL=C:\4DOS.COM....
② Tell the system that C:\4DOS> is the subdirectory where 4DOS is stored. 4DOS uses this PATH to store the COMSPEC environment variable, so this parameter should not be omitted.
③ Tell 4DOS to find 4dos.ini in C:\4DOS> as the 'initial configuration file' (initial file). The initial configuration data of 4DOS is stored in this file. Almost all functions of 4DOS can be configured here. Then, when 4DOS is executed, it can make the configuration work according to these data. However, how to configure 4dos.ini is already an intermediate and advanced usage, which won't be said here. But if you execute 4DOS for the first time, there will be no 4dos.ini file, so you can omit this parameter.
④ Tell the system that 4DOS.COM is used as the primary shell, so this parameter cannot be omitted.
OK, after modifying config.sys, save it and restart the computer. Will there be the following message on the screen:
4DOS 4.02 DOS 6.0
Copyright 1988-1993 Rex Conn & JP Software Inc. All Rights Reserved
C:\>
PS: The above message is the message displayed by the cracked version. If the version you use is not registered, some warning messages about the usage period will also appear.
Congratulations! 4DOS is ready to work for you!
### 4. That's it? How so simple! What should I do next?
------------------------------------------
Hey, Man, Take it easy! First press F1 to see what instructions/functions 4DOS provides. Oh, right, F1 is the ON-LINE HELP hotkey built into 4DOS. Basically, it's very similar to DOS 6.0's ON-LINE HELP, but the functions are stronger and it's more convenient to use (isn't this nonsense? Otherwise, how can it 'completely replace'?). Did you find that the commands you are used to using in MS-DOS can also be used in 4DOS? Not only that, 4DOS also provides many functions that MS-DOS doesn't have, and you need to discover these functions slowly.
So far, only the basic usage methods of 4DOS have been introduced, and the unique functions it provides haven't been mentioned. But don't worry, they will be introduced later.
OK, next time, some of the most basic setting methods in 4dos.ini will be introduced for you, which include the settings of several unique functions. Of course, you will be surprised to find that it's actually so simple to use these functions!
See you next time!
Subj: 4DOS (3) --- Hmm, not bad!
Hello, everybody :
This time, some methods for setting 4dos.ini are introduced for you:
### 1. You lied to me! Why doesn't F1 work when I press it?
----------------------------------
Oh, I am very very sorry! I forgot to explain that you need to first copy 4dos.hlp to the root directory. But actually, as long as you know how to set 4dos.ini, you don't need to do this.
At first, you need to use a word processing program to edit a file, named 4dos.ini. This file is best placed in the root directory or the subdirectory where 4DOS is located. Remember to set the shell command in config.sys well.
OK, you only need to add the following in 4dos.ini:
HelpPath=C:\4DOS ; Set 4DOS to find 4dos.hlp in the C:\4DOS> directory
That's it, then save it and restart the computer. Press F1 and see how it goes? This time it didn't 'fail' again!
### 2. How to make 4DOS take up less memory?
----------------------------------
Well, if you don't use the unique functions of 4DOS, then when you enter the system, it will take up 4k of memory. But 4DOS provides the function of loading part of it high to UMB, which can reduce the part that occupies main memory to 256 bytes.
In fact, using this function is also very simple. Just add the following in 4dos.ini:
UmbEnv=Yes ; Set 4DOS to load its environment variables high to UMB
UmbLoad=Yes ; Set 4DOS to load its resident part high to UMB
Just restart the computer after these two lines. That's all!
Oh, right, I almost forgot again. 4DOS is divided into two parts when executing, one part is called the resident portion (Resident Portion), and the other part is called the transient portion (Transient Portion); the resident portion takes up about 3k of main memory, but if the above function is used, it can be reduced to 256 bytes; the transient portion is about 88k. 4DOS converts this part to EMS or XMS or even to the disk drive. However, you need to add a line in 4dos.ini:
Swapping=XMS,EMS,C:\ ; Set 4DOS to first try to convert the transient portion to
; XMS, if there is no XMS, then try EMS, if there is none, then convert to the disk drive C:\
The parameters such as XMS, EMS, C:\ are best set according to your system.
### 3. I'm really not used to the display method of 4DOS when dir. Can you teach it to display in uppercase?
---------------------------------------------------------------------------
It's very easy! Just add the following in 4dos.ini:
UpperCase=Yes ; Set 4DOS to display in uppercase
That's it!
|

欢迎大家观临我的个人主页:
http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/
EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
|
|
2002-10-22 00:00 |
|
|
lydong
元老会员
        
积分 1468
发帖 407
注册 2002-10-21 来自 广州
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
4. 听说 4DOS 有支援彩色 dir 显示,要怎么作?
---------------------------------------------
其实弟是觉得这并没有什么,因为它虽然有支援,但是功能上并不强,
最好还是要搭配 ANSI driver 才好,不过由于弟觉得 ANSI driver 和中文
总没有办法搭配得很好,所以就很少用它。不过既然您想知道,弟还是介绍
一下好了,只要在 4dos.ini 中加入:
BrightBG=Yes ;设定 4DOS 以 bright color 来显示背景,
;若设定为 No ,则会以 blinking 来显示
ColorDir=ext1 ext2...:colora;ext3 ext4...:colorb...
例:ColorDir=txt doc me:BRIght Yellow on black;arj zip sqz ddi
:BRIght Green on balck 表示附加档名为 .txt .doc .me 的档案
在 dir 时以‘背景为黑,前景为高亮度黄色显示’;附加档名为
.arj .zip .sqz .ddi 的档案,则以‘背景为黑,前景为高亮度青
色显示’
这两行即可。怎么样,还看得懂吗?若是真的看不懂,那么还是自己去看看
4dos.doc 吧,其中介绍得十分详细。
关于 4dos.ini 的设定还有很多,不过有的并不常用,有的则需要一些技术
方面的资料才能设定,所以对其设定就介绍到此,有几个指令以后将会提到,就
到时候再补充了!
下一次再为您介绍几个 4DOS 很好用的功能,很简单,但就靠这几个功能就
把 MS-DOS 的 command.com 给比下去了!
ok ,See you next time !
Subj: 4DOS (4) --- 哇!真好用!
Hello ,everybody :
这一次来谈谈几个 4DOS 很好用的功能!
1. 4DOS 怎么没有像 MS-DOS 的 doskey.com ?我已经用得很习惯了耶!
----------------------------------------------------------------
doskey.com?那个 MS-DOS 5.0 以后才提供的又占记忆体、又不好用、
又笨、让人使用起来恨得牙痒痒的 doskey.com ?您饶了我吧!您将 4DOS
拿来和 doskey.com 比,简直是污蔑了 4DOS !
ok ,4DOS 不但有提供类似的功能,更棒的是这个功能是内建在 4DOS
中,您不必像 MS-DOS 一样还要再执行 doskey.com,更何况还多占记忆体
。只要您在 4DOS 下,随时都可以像使用 doskey.com 一样来使用这个功能
,这么说似乎还无法看出 4DOS 到底多强,ok ,let's take one example:
Example: 如果您已经在 DOS 中下了几十个指令,现在想重覆其中某个指令
时,您该怎么做?
Solution: ① 如果使用 doskey.com,您要先按 F7 看看您要找的那个指令
的编号,记住编号然后再按 F9 将编号输入,可是 F7 一次
只能在萤幕中出现 23 个您使用过的指令,要是您已用过几十
个,那么您还必须多按几个键才能找到您要的指令。
② 如果使用 4DOS ,很简单,您只要按 PGUP/PGDN,4DOS 会在
萤幕中出现一个 window,其中则是您使用过的指令,你可以
很方便的以方向键来选择您要的指令。
还有,如果您记得您要的指令的前几个字,例如 dir.....,
您可以先键入 dir 然后再按 PGUP/PGDN,4DOS 会先过滤再
将以 dir 开始指令列在 window 中,如此可大幅减少出现的
指令,增加效率。
That's not good enough !您是否也觉得发现有些指令很短
,如 dir ,cd\ ....找到这些指令花的时间比直接在 DOS 中
输入还多,So ,这些很短的指令实在不需要记在 history 中
。4DOS 提供了一个功能,您只要在 4dos.ini 中加入:
HistMin=4 ;限制指令必须超过 4 个字元才记录
;这个数字可根据您自己的需要而设定
那么以后 4DOS 就只会记录多于 4 个字元的指令,那些很短
的指令就不会再在出现在 history 中了。
4DOS 在这方面还提供许多的功能/用法,您若有兴趣可自行
参考 4dos.doc。
2. 你怎么都说得不清不楚?能不能再说清楚一点?
----------------------------------------------
大哥,您杀了我吧!4DOS 用 1 mega bytes 的文件档来作为使用手册
再怎么说也无法说得比手册还清楚啊!所以弟也一再强调,只提出一些基本
的用法,想知道一些其他的或较高级的用法,还是得要麻烦您‘高抬贵眼’
瞄一下 4dos.doc ,其实您也不必像弟一样全部都看完,只要挑一些有兴趣
的、养眼的、火辣辣的....咦?说到哪儿去了?不是,弟是指可以先看其中
的 index ,找出想要知道的部份,再根据这个去找就可以了。
说实在的, 4dos.doc 中的英文其实并不难,多看看对您的英文程度也
有提升的作用。
ok ,这次就为您介绍到此为止了,下一次再为您介绍一些幼齿的....不是,
是好用的功能。
See you next time!
Subj: 4DOS (5) --- 天啊!帅毙了!
Hello ,everybody :
这一次再来谈谈 4DOS 提供的几个好用的功能:
1. 什么是 alias ?听说很好用,到底有什么特异功能?
---------------------------------------------------
说起 alias 这又是 4DOS 所提供的很好用的功能,只要您会使用,一定
会觉得非常好用。先问您几个问题:
① 您是否常常在 DOS 下输入 dir/p ,mem/c|more.....?
② 您是否常常执行一些程式,例如 c:\arj\arj.exe
c:\pkzip\pkunzip.exe
c:\he\he.exe
③ 您是否常常执行一些需要输入参数的程式,例如:
c:\xpress\xpreadp /chin /e3=93
c:\et3\etctl/c:st,,3
④ 您是否常常为作某些事而必须‘一次’执行‘一些’程式,例如:
欲执行倚天中文 --- c:\et3\et16v-16 @c:\et3
c:\et3\etinmd
c:\et3\prdrv
这些经常性的输入工作都可以经由 4DOS 所提供的 alias 功能而大幅简化
,而且还可增加您工作的效率。
先说明 alias 的简单用法:
⑴ 您只要在 DOS 下输入 alias dir=*dir/p ,那么您接着输入的 dir
其执行起来就和 dir/p 一样。
⑵ 您只要在 DOS 下输入 alias memo=mem/c|more,那么您在 DOS 下
输入 memo 其执行起来就和输入 mem/c|more 一样。
⑶ 您只要在 DOS 下输入 alias sxr=c:\xpress\xpreadp /chin /e3=93
那么您在 DOS 下输入 sxr 就可以进入银快,而且参数已设定好。
换句话说,只要您觉得常输入的指令想将它简化,就可以利用 alias :
ALIAS 简化后的化名 = 想要简化的指令
^^^^^^^^^^^ ^^^^^^^^^^^^^
其中有一点要特别注意的是,若‘简化后的化名’和‘想要简化的指令’是
同一个指令,那么必须在‘想要简化的指令’前加入一个星号 (*) ,如 ⑴
再来说明 alias 较高级的用法:
⑴ 您只要在 DOS 下输入
alias et3=cd\et3^mgp^et16v @c:\et3^etinmd^prdrv^cd\
那么只要在 DOS 下输入 et3 就可以先执行 MGP 再进入倚天中文
⑵ 您只要在 DOS 下输入
alias quit=cd\et3^etctl/c:iq^mgp^cd\
那么只要在 DOS 下输入 quit 就可以退出倚天中文再退出 MGP
换句话说,只要您觉得常输入的批次指令想将它简化,就可以利用 alias :
ALIAS 简化后的化名 = 想简化的指令^指令^指令^......
其中的 ^ 符号是 4DOS 的‘命令分隔字元’,经由这个符号您可以将许多
的指令指定给一个化名。
2. Are you 'tiger' me ?每次重新开机都要重新键入,那有什么好用?
-----------------------------------------------------------------
ok ,您可以用文书处理程式建立一个文书档,档名不拘,然后将上述的
用法写进此档,存档后再编辑您的 autoexec.bat 加入一行:
ALIAS /R 您刚才建立的文书档档名( 要包含路径 )
以后您开机后就不用再重新键入了,底下列上弟所使用的例子供您参考:
档名: alias.new
DIR *DIR /2PV
MEMO MEM/C|MORE
PCP CD\PCPLUS^PCPLUS
HE C:\HE\HE.EXE
SXR CD\XPRESS^XPREADP /CHIN /E3=93
ARJ C:\ARC\ARJ\ARJ
PKUNZIP C:\ARC\PKZIP\PKUNZIP
SQZ C:\ARC\SQZ\SQZ
LHA C:\ARC\LHA\LHA
SHEZ CD\ARC^*SHEZ^CD -
ET3 CDD C:\ET3^ET16V-16 @C:\ET3^ETINMD^ETCTL/C:ST,,3^PRDRV^CDD -
QUIT CDD C:\ET3^ETCTL/C:IQ^ET4000^CDD -
ETH CDD C:\ET3^MGP^ET16V @C:\ET3^ETINMD^ETCTL/C:ST,,3^PRDRV^CDD -
QUITH CDD C:\ET3^ETCTL/C:IQ^MGP^ET4000^CDD -
PS: 其中有些程式或指令请恕弟不在此多作解释,若您想知道再来信好了。
3. 干么那么麻烦,用 PATH 设定或 batch 档不就好了?
---------------------------------------------------
Well ,batch 档很好用是没错,但是您得为每一个工作建立一个 batch
,那么您就可以看到一大堆的 batch 档,浪费磁碟空间又没有效率!另外
这些 batch 您要放在哪里?全放在根目录?那多难看!
What? PATH? Oh ,No! 设定 PATH 是最不明智的作法!弟曾看过
有人在其 config.sys 中设定 PATH 居然设定了将近 200 个字元!可是弟
仔细分析其设定,发觉那么作真是太笨了!
怎么说呢?弟发觉他居然为了一个执行档就设定一个 PATH,例如:
path=c:\;c:\dos;c:\tools;c:\arc\arj;c:\arc\pkzip;c:\arc\sqz;c:\he....
其中就为了 arj.exe ,pkunzip.exe ,he.exe 就设了一大串。要知道 DOS
只要是不知道您下的指令,就会在目前所在的目录找可执行档,找不到就再
根据 PATH 的资料一个目录一个目录的去找,所以目录设的愈多,只会降低
系统的执行效率,所以像这种只有一个执行档的,用 alias 是最适当了!
### 4. It is heard that 4DOS supports colorful dir display. How to do it?
---------------------------------------------
Actually, the younger brother thinks this is nothing. Because although it supports it, the function is not strong. It is best to match with an ANSI driver. However, because the younger brother feels that the ANSI driver and Chinese can't be well matched, so he rarely uses it. But since you want to know, the younger brother will introduce it. Just add the following in 4dos.ini:
BrightBG=Yes ;Set 4DOS to display the background in bright color. If set to No, it will display in blinking.
;ColorDir=ext1 ext2...:colora;ext3 ext4...:colorb...
Example: ColorDir=txt doc me:BRIght Yellow on black;arj zip sqz ddi:BRIght Green on balck means that files with extensions .txt .doc .me are displayed with 'black background and high-brightness yellow foreground' when dir; files with extensions .arj .zip .sqz .ddi are displayed with 'black background and high-brightness cyan foreground'.
These two lines are okay. How about it? Can you still understand? If you really can't understand, then you'd better go and have a look at 4dos.doc by yourself. It is introduced in detail there.
There are still many settings for 4dos.ini. But some are not commonly used, and some need some technical information to be set. So the introduction to its settings ends here. There are a few commands that will be mentioned later, and they will be supplemented then!
Next time, I will introduce a few more useful functions of 4DOS to you. They are very simple, but with these few functions, it can outperform MS-DOS's command.com!
ok, See you next time!
Subj: 4DOS (4) --- Wow! It's really useful!
Hello, everybody:
This time, let's talk about a few useful functions of 4DOS!
1. Why doesn't 4DOS have something like MS-DOS's doskey.com? I've been used to it very much!
----------------------------------------------------------------
doskey.com? That doskey.com that was only provided after MS-DOS 5.0, which takes up memory, is not easy to use, is stupid, and makes people hate it when using it! Please spare me! You compare 4DOS with doskey.com, which is simply slandering 4DOS!
ok, 4DOS not only provides similar functions, but what's better is that this function is built into 4DOS. You don't have to execute doskey.com like MS-DOS, and it takes up more memory. As long as you are under 4DOS, you can use this function at any time just like using doskey.com. It seems that I still can't see how strong 4DOS is. ok, let's take one example:
Example: If you have entered dozens of commands under DOS, and now you want to repeat one of them, how should you do it?
Solution: ① If you use doskey.com, you have to press F7 to see the number of the command you are looking for, remember the number and then press F9 to enter the number. But F7 can only display 23 commands you have used on the screen at a time. If you have used dozens, then you have to press several more keys to find the command you want.
② If you use 4DOS, it's very simple. You just need to press PGUP/PGDN, and 4DOS will display a window on the screen, in which are the commands you have used. You can conveniently select the command you want with the arrow keys.
Also, if you remember the first few words of the command you want, for example, dir....., you can first type dir and then press PGUP/PGDN. 4DOS will first filter and then list the commands starting with dir in the window, which can greatly reduce the number of commands displayed and increase efficiency.
That's not good enough! Do you also think that you find some commands are very short, such as dir, cd\.... It takes more time to find these commands than to enter them directly in DOS. So, these very short commands really don't need to be recorded in history. 4DOS provides a function. You just need to add the following in 4dos.ini:
HistMin=4 ;Limit that commands must have more than 4 characters to be recorded. This number can be set according to your own needs.
Then 4DOS will only record commands with more than 4 characters in the future, and those very short commands will no longer appear in history.
4DOS also provides many functions/usages in this regard. If you are interested, you can refer to 4dos.doc by yourself.
2. Why do you always speak vaguely? Can you say it more clearly?
----------------------------------------------
Brother, you're killing me! 4DOS uses a 1 mega bytes document as the user manual. No matter how you say it, it can't be clearer than the manual. So the younger brother also repeatedly emphasizes that only some basic usages are put forward. If you want to know some other or more advanced usages, you still have to trouble you to 'raise your noble eyes' to take a look at 4dos.doc. Actually, you don't have to read all of it like the younger brother. You can first look at the index in it, find the part you want to know, and then find it according to this.
To be honest, the English in 4dos.doc is not difficult. Reading more of it will also improve your English level.
ok, this time it ends here. Next time, I will introduce some more useful functions to you.
See you next time!
Subj: 4DOS (5) --- Oh my god! It's super cool!
Hello, everybody:
This time, let's talk about a few useful functions provided by 4DOS:
1. What is alias? It is heard that it's very useful. What special functions does it have?
---------------------------------------------------
Speaking of alias, this is another very useful function provided by 4DOS. As long as you can use it, you will definitely find it very useful. Let's ask you a few questions:
① Do you often enter dir/p, mem/c|more..... under DOS?
② Do you often execute some programs, such as c:\arj\arj.exe, c:\pkzip\pkunzip.exe, c:\he\he.exe?
③ Do you often execute some programs that need to enter parameters, such as c:\xpress\xpreadp /chin /e3=93, c:\et3\etctl/c:st,,3?
④ Do you often have to execute 'some' programs 'at one time' to do something, such as to execute Yitian Chinese --- c:\et3\et16v-16 @c:\et3, c:\et3\etinmd, c:\et3\prdrv.
All these frequent input tasks can be greatly simplified through the alias function provided by 4DOS, and your work efficiency can also be increased.
First, let's explain the simple usage of alias:
⑴ You just need to enter alias dir=*dir/p under DOS. Then the dir you enter next will be executed the same as dir/p.
⑵ You just need to enter alias memo=mem/c|more under DOS. Then the memo you enter under DOS will be executed the same as entering mem/c|more.
⑶ You just need to enter alias sxr=c:\xpress\xpreadp /chin /e3=93 under DOS. Then the sxr you enter under DOS can enter YinKuai and the parameters are set.
In other words, as long as you think the commands you often enter want to simplify them, you can use alias:
ALIAS simplified alias = command to be simplified
^^^^^^^^^^^ ^^^^^^^^^^^^^
There is one thing to pay special attention to. If the 'simplified alias' is the same command as the 'command to be simplified', then you must add an asterisk (*) in front of the 'command to be simplified', as in ⑴.
Then let's explain the advanced usage of alias:
⑴ You just need to enter alias et3=cd\et3^mgp^et16v @c:\et3^etinmd^prdrv^cd\ under DOS. Then just enter et3 under DOS to execute MGP first and then enter Yitian Chinese.
⑵ You just need to enter alias quit=cd\et3^etctl/c:iq^mgp^cd\ under DOS. Then just enter quit under DOS to exit Yitian Chinese and then exit MGP.
In other words, as long as you think the batch commands you often enter want to simplify them, you can use alias:
ALIAS simplified alias = command to be simplified^command^command^......
The ^ symbol in it is the 'command separator character' of 4DOS. Through this symbol, you can assign many commands to one alias.
2. Are you 'tiger' me? You have to type it again every time you restart. What's useful about it?
-----------------------------------------------------------------
ok, you can use a word processing program to create a document. The file name is not restricted. Then write the above usages into this file. After saving, edit your autoexec.bat and add a line:
ALIAS /R the file name of the document you just created (should include the path)
Then you don't have to type it again after booting. The following is the example used by the younger brother for your reference:
File name: alias.new
DIR *DIR /2PV
MEMO MEM/C|MORE
PCP CD\PCPLUS^PCPLUS
HE C:\HE\HE.EXE
SXR CD\XPRESS^XPREADP /CHIN /E3=93
ARJ C:\ARC\ARJ\ARJ
PKUNZIP C:\ARC\PKZIP\PKUNZIP
SQZ C:\ARC\SQZ\SQZ
LHA C:\ARC\LHA\LHA
SHEZ CD\ARC^*SHEZ^CD -
ET3 CDD C:\ET3^ET16V-16 @C:\ET3^ETINMD^ETCTL/C:ST,,3^PRDRV^CDD -
QUIT CDD C:\ET3^ETCTL/C:IQ^ET4000^CDD -
ETH CDD C:\ET3^MGP^ET16V @C:\ET3^ETINMD^ETCTL/C:ST,,3^PRDRV^CDD -
QUITH CDD C:\ET3^ETCTL/C:IQ^MGP^ET4000^CDD -
PS: Some programs or commands are not explained more here. If you want to know, write again.
3. Why is it so troublesome? Can't you just set it with PATH or a batch file?
---------------------------------------------------
Well, batch files are very useful, that's true. But you have to create a batch for each task. Then you can see a large number of batch files, which is a waste of disk space and inefficient! Also, where should you put these batches? All in the root directory? That's so ugly!
What? PATH? Oh, No! Setting PATH is the most unwise practice! The younger brother has seen someone set PATH in his config.sys and actually set nearly 200 characters! But the younger brother carefully analyzed his settings and found that it's really too stupid!
How to say it? The younger brother found that he actually set a PATH for each executable file. For example:
path=c:\;c:\dos;c:\tools;c:\arc\arj;c:\arc\pkzip;c:\arc\sqz;c:\he....
Among them, a long string is set just for arj.exe, pkunzip.exe, he.exe. You should know that DOS will look for the executable file in the current directory if it doesn't know the command you entered. If it can't find it, it will look for it one directory by one directory according to the information in PATH. So the more directories are set, the lower the execution efficiency of the system will be. So for this kind of one executable file, using alias is the most appropriate.
|

欢迎大家观临我的个人主页:
http://dosdiy.bluepc.com.cn/
http://dosdiy.ys168.com/
EMAIL: lydong@china.com.cn lydong@yeah.net
----------------------------------------------
|
|
2002-10-22 00:00 |
|
|
wcr100
初级用户
 
积分 27
发帖 13
注册 2008-9-14
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
老东西了,但还真用得上呀
It's an old thing, but it's really useful!
|
|
2010-12-20 14:58 |
|
|