Subversion Repositories SvarDOS

Rev

Rev 474 | Rev 497 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 474 Rev 482
1
 
1
 
2
                               === SVARCOM ===
2
                               === SVARCOM ===
3
 
3
 
4
 
4
 
5
SvarCOM is the SvarDOS command line interpreter, known usually under the name
5
SvarCOM is the SvarDOS command line interpreter, known usually under the name
6
"COMMAND.COM". It is designed and maintained by Mateusz Viste, and distributed
6
"COMMAND.COM". It is designed and maintained by Mateusz Viste, and distributed
7
under the terms of the MIT license.
7
under the terms of the MIT license.
8
 
8
 
9
For the time being, it is an incomplete, "work in progress" project. SvarCOM
9
For the time being, it is a work-in-progress project that is not entirely
10
version 2021.0 must be considered as a "preview" version.
10
complete yet. SvarCOM version 2021.0 must be considered as a "preview"
-
 
11
version.
11
 
12
 
12
The goal is to make SvarCOM the default SvarDOS shell, replacing FreeCOM.
13
The goal is to make SvarCOM the default SvarDOS shell, replacing FreeCOM.
13
Why replacing FreeCOM, you ask? See FREECOM.TXT for details.
14
Why replacing FreeCOM, you ask? See FREECOM.TXT for details.
14
 
15
 
15
Since SvarCOM is a work-in-progress effort, it is missing a few things yet:
16
Since SvarCOM is a work-in-progress effort, it is missing a few things yet:
16
 - no support for pipes (eg. file.exe | more)
17
 - no support for pipes (eg. file.exe | more)
17
 - no support for advanced batch constructs (conditionals, errorlevels...)
18
 - no support for advanced batch constructs (conditionals, errorlevels...)
18
 - a few internal commands missing: CALL, CTTY, GOTO, IF, LH, SHIFT
19
 - a few internal commands missing: CALL, CTTY, GOTO, IF, LH, SHIFT
19
 
20
 
20
SvarCOM is minimalist and I'd like to keep it that way. It aims to be
21
SvarCOM is minimalist and I'd like to keep it that way. It aims to be
21
functionaly equivalent to COMMAND.COM from MS-DOS 5.x/6.x. No LFN support.
22
functionaly equivalent to COMMAND.COM from MS-DOS 5.x/6.x. No LFN support.
22
 
23
 
23
Latest version available here: http://svardos.osdn.io/svarcom
24
Latest version available here: http://svardos.osdn.io/svarcom
24
 
25
 
25
 
26
 
26
=== INTERNAL COMMANDS ========================================================
27
=== INTERNAL COMMANDS ========================================================
27
 
28
 
28
SvarCOM implements the following internal commands. For help on each command,
29
SvarCOM implements the following internal commands. For help on each command,
29
run it with a "/?" argument.
30
run it with a "/?" argument.
30
 
31
 
31
BREAK       - sets or clears extended CTRL+C checking
32
BREAK       - sets or clears extended CTRL+C checking
32
CD/CHDIR    - displays the name of or changes the current directory
33
CD/CHDIR    - displays the name of or changes the current directory
33
CHCP        - displays or sets the active code page number
34
CHCP        - displays or sets the active code page number
34
CLS         - clears the screen
35
CLS         - clears the screen
35
COPY        - copies one or more files to another location
36
COPY        - copies one or more files to another location
36
DATE        - displays or sets the system date
37
DATE        - displays or sets the system date
37
DEL/ERASE   - deletes one or more files
38
DEL/ERASE   - deletes one or more files
38
DIR         - displays a list of files and subdirectories in a directory
39
DIR         - displays a list of files and subdirectories in a directory
39
ECHO        - displays messages, or turns command-echoing on or off
40
ECHO        - displays messages, or turns command-echoing on or off
40
EXIT        - quits the command.com program (command interpreter)
41
EXIT        - quits the command.com program (command interpreter)
41
MD/MKDIR    - creates a directory
42
MD/MKDIR    - creates a directory
42
PATH        - displays or sets a search path for executable files
43
PATH        - displays or sets a search path for executable files
43
PAUSE       - suspends processing of a batch program
44
PAUSE       - suspends processing of a batch program
44
PROMPT      - changes the DOS command prompt
45
PROMPT      - changes the DOS command prompt
45
REM         - records comments (remarks) in a batch file or CONFIG.SYS
46
REM         - records comments (remarks) in a batch file or CONFIG.SYS
46
REN/RENAME  - renames a file or files
47
REN/RENAME  - renames a file or files
47
RMDIR       - removes (deletes) a directory
48
RMDIR       - removes (deletes) a directory
48
SET         - displays, sets or removes DOS environment variables
49
SET         - displays, sets or removes DOS environment variables
49
TIME        - displays or sets the system time
50
TIME        - displays or sets the system time
50
TYPE        - displays the contents of a text file
51
TYPE        - displays the contents of a text file
51
VER         - displays the DOS version
52
VER         - displays the DOS version
52
VERIFY      - tells DOS whether to verify that files are written correctly
53
VERIFY      - tells DOS whether to verify that files are written correctly
53
VOL         - displays the disk volume label and serial number
54
VOL         - displays the disk volume label and serial number
54
 
55
 
55
 
56
 
56
=== LICENSE ==================================================================
57
=== LICENSE ==================================================================
57
 
58
 
58
SvarCOM is published under the terms of the MIT license.
59
SvarCOM is published under the terms of the MIT license.
59
 
60
 
60
Copyright (C) 2021 Mateusz Viste
61
Copyright (C) 2021 Mateusz Viste
61
 
62
 
62
Permission is hereby granted, free of charge, to any person obtaining a copy
63
Permission is hereby granted, free of charge, to any person obtaining a copy
63
of this software and associated documentation files (the "Software"), to deal
64
of this software and associated documentation files (the "Software"), to deal
64
in the Software without restriction, including without limitation the rights
65
in the Software without restriction, including without limitation the rights
65
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
66
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
66
copies of the Software, and to permit persons to whom the Software is
67
copies of the Software, and to permit persons to whom the Software is
67
furnished to do so, subject to the following conditions:
68
furnished to do so, subject to the following conditions:
68
 
69
 
69
The above copyright notice and this permission notice shall be included in all
70
The above copyright notice and this permission notice shall be included in all
70
copies or substantial portions of the Software.
71
copies or substantial portions of the Software.
71
 
72
 
72
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
74
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
74
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
75
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
75
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
76
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
76
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
77
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
77
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
78
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
78
SOFTWARE.
79
SOFTWARE.
79
 
80
 
80
 
81
 
81
==================================================================== [EOF] ===
82
==================================================================== [EOF] ===
82
 
83