From a35e54e5f86afe41fb4253594418215dcbf86eb9 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 21 Aug 1999 22:06:03 +0000 Subject: [PATCH] Added CHOICE command and fixed a cursor bug. svn path=/trunk/; revision=626 --- rosapps/cmd/files.txt | 3 ++- rosapps/cmd/history.txt | 3 ++- rosapps/cmd/makefile | 14 +++++++------- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/rosapps/cmd/files.txt b/rosapps/cmd/files.txt index 8f1dfefd3da..d7eb1e2fba8 100644 --- a/rosapps/cmd/files.txt +++ b/rosapps/cmd/files.txt @@ -18,6 +18,7 @@ batch.c Batch file interpreter beep.c Implements beep command call.c Implements call command chcp.c Implements chcp command +choice.c Implements choice command cls.c Implements cls command cmdinput.c Command-line input functions cmdtable.c Table of available internal commands @@ -53,4 +54,4 @@ time.c Implements time command type.c Implements type command ver.c Implements ver command where.c Code to search path for executables -verify.c Implements verify command \ No newline at end of file +verify.c Implements verify command diff --git a/rosapps/cmd/history.txt b/rosapps/cmd/history.txt index 4fc998935ee..310a754806b 100644 --- a/rosapps/cmd/history.txt +++ b/rosapps/cmd/history.txt @@ -344,10 +344,11 @@ o Added CHCP command. o Fixed keyboard input bug. o Rewrote DEL and MOVE commands. -30-Mar-1999 ReactOS CMD version 0.1 pre 2 (Eric Kohl ) +19-Aug-1999 ReactOS CMD version 0.1 pre 5 (Eric Kohl ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o Cleaned up DIR command. o Searching for executables in the right order. o Fixed some little but nasty bugs. o Added TITLE command. Thanks to Emanuele Aliberti! o Added "/Q", "/W" and "/Z" options to DEL command. +o Added CHOICE command. diff --git a/rosapps/cmd/makefile b/rosapps/cmd/makefile index 0430068bbbe..688cbafa41b 100644 --- a/rosapps/cmd/makefile +++ b/rosapps/cmd/makefile @@ -4,12 +4,12 @@ all: cmd.exe -OBJECTS = cmd.o attrib.o alias.o batch.o beep.o call.o \ - chcp.o cls.o cmdinput.o cmdtable.o color.o console.o copy.o date.o \ - del.o dir.o dirstack.o echo.o error.o filecomp.o for.o goto.o \ - history.o if.o internal.o label.o locale.o misc.o move.o path.o \ - pause.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 +OBJECTS = cmd.o attrib.o alias.o batch.o beep.o call.o chcp.o choice.o \ + cls.o cmdinput.o cmdtable.o color.o console.o copy.o date.o del.o \ + dir.o dirstack.o echo.o error.o filecomp.o for.o goto.o history.o \ + if.o internal.o label.o locale.o misc.o move.o path.o pause.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 CLEAN_FILES = *.o cmd.exe cmd.sym @@ -21,7 +21,7 @@ $(CLEAN_FILES:%=%_clean): %_clean: .phony: clean $(CLEAN_FILES:%=%_clean) 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 include ../rules.mak