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. The goal
|
9 |
For the time being, it is an incomplete, "work in progress" project. The goal
|
10 |
is to make SvarCOM the default SvarDOS shell, replacing FreeCOM.
|
10 |
is to make SvarCOM the default SvarDOS shell, replacing FreeCOM.
|
11 |
|
11 |
|
- |
|
12 |
Why replacing FreeCOM, you ask? See FREECOM.TXT for details.
|
12 |
|
13 |
|
13 |
*** Why replacing FreeCOM, the FreeDOS COMMAND.COM? ***
|
- |
|
14 |
|
14 |
|
15 |
FreeCOM is an impressive piece of software, but there are a few things that I
|
15 |
Since SvarCOM is a work-in-progress effort, it still lacks a few things:
|
16 |
do not like about it. SvarCOM is my attempt at addressing these things.
|
- |
|
17 |
|
16 |
|
18 |
- FreeCOM is not suitable for low-memory machines. It takes about 55K of
|
- |
|
19 |
conventional memory when XMS is unavailable. XMS being a 386+ thing, FreeCOM
|
- |
|
20 |
is a poor fit for pre-386 machines. There is the KSSF hack, but it is a
|
17 |
- no support for redirections or pipes (eg. file.exe | more > out.txt)
|
21 |
kludge with many limitations. As pointed out by one of the FreeCOM authors,
|
- |
|
22 |
FreeCOM is designed with 21'st century machines in mind and not IBM PC
|
- |
|
23 |
compatibles (or "museum computers", as they refer to them).
|
- |
|
24 |
https://www.mail-archive.com/freedos-user@lists.sourceforge.net/msg23472.html
|
- |
|
25 |
|
- |
|
26 |
SvarDOS will not rely on XMS, and performs runtime swapping that works on
|
- |
|
27 |
any IBM PC compatible machine.
|
18 |
- no batch file support
|
28 |
|
- |
|
29 |
- FreeCOM requires custom NLS files. While the vast majority of FreeDOS
|
- |
|
30 |
programs use a single "standard" (CATS/Kitten), FreeCOM uses a different
|
- |
|
31 |
approach with pre-compiled NLS strings, which makes it necessary to
|
- |
|
32 |
distribute as many binary blobs as there are supported languages. It also
|
19 |
- few internal commands missing: BREAK, CHCP, CLS, CTTY, LH, REN, COPY, DATE,
|
33 |
makes the translation process much more difficult.
|
- |
|
34 |
|
- |
|
35 |
SvarDOS will use Kitten-style translations, like other applications.
|
- |
|
36 |
|
- |
|
37 |
- FreeCOM is a complex beast: it aims for compatibility with multiple
|
- |
|
38 |
compilers and supports many embedded features. This makes the code uneasy to
|
- |
|
39 |
follow and changes require careful testing on all supported compilers and
|
- |
|
40 |
all possible build variants.
|
- |
|
41 |
|
- |
|
42 |
SvarDOS, on the other hand, is meant to be simple and universal. It is meant
|
- |
|
43 |
to be compiled with OpenWatcom only, which makes a ton of IFDEF's go away.
|
- |
|
44 |
It also won't integrate features that can be reasonably implemented as
|
- |
|
45 |
third-party tools (typically: DOSKEY). It strives to reimplement the
|
- |
|
46 |
functionalities of MS-DOS 5/6.
|
20 |
TIME, VOL, PAUSE, ECHO, IF, REM, SHIFT
|
47 |
|
21 |
|
48 |
- FreeCOM code is released under the terms of a toxic (GPL) license that
|
- |
|
49 |
restrain the freedom of its users due to its virality.
|
- |
|
50 |
|
22 |
|
- |
|
23 |
Latest version available here: http://svardos.osdn.io/svarcom
|
- |
|
24 |
|
- |
|
25 |
|
- |
|
26 |
=== INTERNAL COMMANDS ========================================================
|
- |
|
27 |
|
- |
|
28 |
SvarCOM implements the following internal commands. For help on each command,
|
- |
|
29 |
run it with a "/?" argument.
|
- |
|
30 |
|
- |
|
31 |
CD/CHDIR - displays the name of or changes the current directory
|
- |
|
32 |
DEL/ERASE - deletes one or more files
|
- |
|
33 |
DIR - displays a list of files and subdirectories in a directory
|
- |
|
34 |
EXIT - quits the command.com program (command interpreter)
|
- |
|
35 |
MD/MKDIR - creates a directory
|
- |
|
36 |
PATH - displays or sets a search path for executable files
|
- |
|
37 |
PROMPT - changes the DOS command prompt
|
- |
|
38 |
RMDIR - removes (deletes) a directory
|
- |
|
39 |
SET - displays, sets or removes DOS environment variables
|
- |
|
40 |
TYPE - displays the contents of a text file
|
- |
|
41 |
VER - displays the DOS version
|
- |
|
42 |
VERIFY - tells DOS whether to verify that files are written correctly
|
- |
|
43 |
|
- |
|
44 |
|
- |
|
45 |
=== LICENSE ==================================================================
|
- |
|
46 |
|
51 |
SvarCOM is released under the terms of a liberal and permissive (MIT)
|
47 |
SvarCOM is published under the terms of the MIT license.
|
- |
|
48 |
|
- |
|
49 |
Copyright (C) 2021 Mateusz Viste
|
- |
|
50 |
|
- |
|
51 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
- |
|
52 |
of this software and associated documentation files (the "Software"), to deal
|
52 |
license that does not impose limitations on how users may or may not use it.
|
53 |
in the Software without restriction, including without limitation the rights
|
- |
|
54 |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
- |
|
55 |
copies of the Software, and to permit persons to whom the Software is
|
- |
|
56 |
furnished to do so, subject to the following conditions:
|
- |
|
57 |
|
- |
|
58 |
The above copyright notice and this permission notice shall be included in all
|
- |
|
59 |
copies or substantial portions of the Software.
|
- |
|
60 |
|
- |
|
61 |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
- |
|
62 |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
- |
|
63 |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
- |
|
64 |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
- |
|
65 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
- |
|
66 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
- |
|
67 |
SOFTWARE.
|
- |
|
68 |
|
- |
|
69 |
|
- |
|
70 |
==================================================================== [EOF] ===
|
53 |
|
71 |
|