Subversion Repositories SvarDOS

Rev

Rev 511 | Rev 521 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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