/svarcom/trunk/cmd/pause.c |
---|
0,0 → 1,15 |
/* |
* pause |
*/ |
static int cmd_pause(struct cmd_funcparam *p) { |
if (cmd_ishlp(p)) { |
outputnl("Suspends processing of a batch program"); |
outputnl("\r\nPAUSE"); |
return(-1); |
} |
press_any_key(); |
return(-1); |
} |
/svarcom/trunk/cmd/rem.c |
---|
0,0 → 1,14 |
/* |
* rem |
*/ |
static int cmd_rem(struct cmd_funcparam *p) { |
/* help screen ONLY if /? is the only argument - I do not want to output |
* help for ex. for "REM mouse.com /?" */ |
if ((p->argc == 1) && (imatch(p->argv[0], "/?"))) { |
outputnl("Records comments (remarks) in a batch file or CONFIG.SYS"); |
outputnl(""); |
outputnl("REM [comment]"); |
} |
return(-1); |
} |
/svarcom/trunk/cmd.c |
---|
38,7 → 38,9 |
#include "cmd/exit.c" |
#include "cmd/mkdir.c" |
#include "cmd/path.c" |
#include "cmd/pause.c" |
#include "cmd/prompt.c" |
#include "cmd/rem.c" |
#include "cmd/rmdir.c" |
#include "cmd/set.c" |
#include "cmd/type.c" |
71,10 → 73,11 |
{"LOADHIGH",cmd_notimpl}, |
{"MD", cmd_mkdir}, |
{"MKDIR", cmd_mkdir}, |
{"PAUSE", cmd_notimpl}, |
{"PAUSE", cmd_pause}, |
{"PATH", cmd_path}, |
{"PROMPT", cmd_prompt}, |
{"RD", cmd_rmdir}, |
{"REM", cmd_rem}, |
{"REN", cmd_notimpl}, |
{"RENAME", cmd_notimpl}, |
{"RMDIR", cmd_rmdir}, |
/svarcom/trunk/svarcom.txt |
---|
17,7 → 17,7 |
- no support for redirections or pipes (eg. file.exe | more > out.txt) |
- no batch file support |
- few internal commands missing: BREAK, CHCP, CLS, CTTY, LH, REN, COPY, DATE, |
TIME, VOL, PAUSE, ECHO, IF, REM, SHIFT |
TIME, ECHO, IF, SHIFT |
Latest version available here: http://svardos.osdn.io/svarcom |
34,12 → 34,15 |
EXIT - quits the command.com program (command interpreter) |
MD/MKDIR - creates a directory |
PATH - displays or sets a search path for executable files |
PAUSE - suspends processing of a batch program |
PROMPT - changes the DOS command prompt |
REM - records comments (remarks) in a batch file or CONFIG.SYS |
RMDIR - removes (deletes) a directory |
SET - displays, sets or removes DOS environment variables |
TYPE - displays the contents of a text file |
VER - displays the DOS version |
VERIFY - tells DOS whether to verify that files are written correctly |
VOL - displays the disk volume label and serial number |
=== LICENSE ================================================================== |