Added CHOICE command and fixed a cursor bug.

svn path=/trunk/; revision=626
This commit is contained in:
Eric Kohl 1999-08-21 22:06:03 +00:00
parent 0b84d00506
commit a35e54e5f8
3 changed files with 11 additions and 9 deletions

View file

@ -18,6 +18,7 @@ batch.c Batch file interpreter
beep.c Implements beep command beep.c Implements beep command
call.c Implements call command call.c Implements call command
chcp.c Implements chcp command chcp.c Implements chcp command
choice.c Implements choice command
cls.c Implements cls command cls.c Implements cls command
cmdinput.c Command-line input functions cmdinput.c Command-line input functions
cmdtable.c Table of available internal commands cmdtable.c Table of available internal commands
@ -53,4 +54,4 @@ time.c Implements time command
type.c Implements type command type.c Implements type command
ver.c Implements ver command ver.c Implements ver command
where.c Code to search path for executables where.c Code to search path for executables
verify.c Implements verify command verify.c Implements verify command

View file

@ -344,10 +344,11 @@ o Added CHCP command.
o Fixed keyboard input bug. o Fixed keyboard input bug.
o Rewrote DEL and MOVE commands. o Rewrote DEL and MOVE commands.
30-Mar-1999 ReactOS CMD version 0.1 pre 2 (Eric Kohl <ekohl@abo.rhein-zeitung.de>) 19-Aug-1999 ReactOS CMD version 0.1 pre 5 (Eric Kohl <ekohl@abo.rhein-zeitung.de>)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
o Cleaned up DIR command. o Cleaned up DIR command.
o Searching for executables in the right order. o Searching for executables in the right order.
o Fixed some little but nasty bugs. o Fixed some little but nasty bugs.
o Added TITLE command. Thanks to Emanuele Aliberti! o Added TITLE command. Thanks to Emanuele Aliberti!
o Added "/Q", "/W" and "/Z" options to DEL command. o Added "/Q", "/W" and "/Z" options to DEL command.
o Added CHOICE command.

View file

@ -4,12 +4,12 @@
all: cmd.exe all: cmd.exe
OBJECTS = cmd.o attrib.o alias.o batch.o beep.o call.o \ OBJECTS = cmd.o attrib.o alias.o batch.o beep.o call.o chcp.o choice.o \
chcp.o cls.o cmdinput.o cmdtable.o color.o console.o copy.o date.o \ cls.o cmdinput.o cmdtable.o color.o console.o copy.o date.o del.o \
del.o dir.o dirstack.o echo.o error.o filecomp.o for.o goto.o \ dir.o dirstack.o echo.o error.o filecomp.o for.o goto.o history.o \
history.o if.o internal.o label.o locale.o misc.o move.o path.o \ if.o internal.o label.o locale.o misc.o move.o path.o pause.o \
pause.o prompt.o redir.o ren.o set.o shift.o start.o time.o title.o \ prompt.o redir.o ren.o set.o shift.o start.o time.o title.o \
type.o ver.o verify.o vol.o where.o type.o ver.o verify.o vol.o where.o
CLEAN_FILES = *.o cmd.exe cmd.sym CLEAN_FILES = *.o cmd.exe cmd.sym
@ -21,7 +21,7 @@ $(CLEAN_FILES:%=%_clean): %_clean:
.phony: clean $(CLEAN_FILES:%=%_clean) .phony: clean $(CLEAN_FILES:%=%_clean)
cmd.exe: $(OBJECTS) cmd.exe: $(OBJECTS)
$(CC) $(OBJECTS) -lkernel32 -lcrtdll -o cmd.exe $(CC) $(OBJECTS) -lkernel32 -lcrtdll -luser32 -o cmd.exe
$(NM) --numeric-sort cmd.exe > cmd.sym $(NM) --numeric-sort cmd.exe > cmd.sym
include ../rules.mak include ../rules.mak