Subversion Repositories SvarDOS

Rev

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

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