09-Aug-1998 0.75a (Rob Lake ) ~~~~~~~~~~~~~~~~~~~~~~ o dir.c: fixed bug that caused blank lines to be printed o dir.c: renamed _Read_Dir to Read_Dir o del.c: changed check for ^C o del.c: alloced mem for char **arg o misc.c: changed split function o misc.c: added freep function o truename.c: _truename now sets errno o created build.bat 10-Aug-1998 0.75b Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o Corrected ^Break handling in batch.c. If one batch file (BATCH1) calls another (BATCH2), pressing ^Break or ^C most of the time asks to terminate BATCH1.BAT (Y/N/A). If you press 'Y', you should only terminate BATCH1, but BATCH2 should continue. But if you press 'A' (or ^C), all batch files should terminate. o added modifyable batch scripts (following the standard). o bug: nested comments in old split() o bug: DEL memory allocation o added ^Break checks to cmd_type(), cmd_dir() o added: chkCBreak(0) [aka "cbreak"] is a generic form that autodetects if currently a batchfile is active and displays the batchfile prompt, if so. The batchfile prompt now displays the name of the batchfile. 13-Sep-1998 0.75d (Rob Lake ) ~~~~~~~~~~~~~~~~~~~~~~ o added COPY command. Not all functionality is implemented yet, but it's a great start! 13-Sep-1998 0.75d Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o Corrected/rewrote ^Break handling to work on external commands. 13-Sep-1998 0.75d (John P. Price ) ~~~~~~~~~~~~~~~~~~~~~~ o added VOL command. o fixed a couple of bugs in the COPY command. o move nearly all messages to external file that is appended to end of command.com. command.com is now an EXE type program, but has only been renamed to .COM. This allowed the file to be longger than 64K. Also changed model to small instead of tiny. o changed VER to print system info when /R is used. /D shows redistribution info now. 13-Sep-1998 0.75d (Hans B Pufal ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ o added an icon for the program. fdcom.ico. 27-Oct-1998 0.75e Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o bugfix: cmd_del(): Prompting the user for "DEL ab*.*" o chg: display_string(): Invalid FreeDOS ID is not displayed on screen o chg: get_redirection(): join '|'-loop with the other loop o chg: get_redirection(): allocate filenames (instead of parsecommand()) o bugfix: get_redirection(): Missing closing quote o bugfix: parsecommandline(): replace tmpnam() by tmpfn() to ensure that the temporary file is placed into the temporary directory instead of the current one o chg: alias.c: to reflect changes in tempfile.c o chg: rmtmpfile(): to close file pointer o chg: tempfile(): to use tmpfn() o add: tmpfn(): to create a temporary filename 27-Oct-1998 0.75e Rob Green ~~~~~~~~~~~~~~~~~~~~~~ o command.c: changed line in is_delim function to include backslash and period. 03-Dec-1998 0.75f (John P. Price ) ~~~~~~~~~~~~~~~~~~~~~~ o alias.c: changed to convert to lower case instead of upper o cls.c: cls now sets the text colors to lightgray on black before clearing the screen. o command.c: Added code to remove white space from end of command in docommand function. Also added nextcmd char pointer so we don't loose the other commands in the line. This fixes the bug with "type filename.c | more" o dir.c: Rewrote DIR command. fixed problem with "DIR .COM" and other bugs. Recursive switch does not work now, but it will be added soon. o init.c: finished batch file trace mode. Fixed bug with /C command line switch running batch files. Added about 2 second delay where user can press F8 to run autoexec.bat in tracemode, or press F5 to bypass autoexec.bat completely. o messages.c: Reduced the ammount of memory allocated by not reading in entire index, but only the index element needed. 04-Dec-1998 0.75g Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o changed dosalloc.c in the suppl library to fix the environment problem. 16-Dec-1998 0.75h Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o bugfix in init() for the /C branch (collecting arguments) o tracemode interaction in parsecommandline() o vcgetcstr() to fetch a visible user input, incl. validation check o command line parsing now exactly as the help screen (strings.txt) describes o show help screen using display_string() o set exitflag (and exit if allowed) if help screen was issued or a bad option was found o load messages into conventional far memory o change in message.c that string_index is not allocated dynamically o The "load messages into memory" feature allocates the block the messages are read into using the DOS API. It is not guarranteed that this block is freed by DOS upon termination of the program, therefore the atexit() function (installed by init()) explicitly frees the block, because it seems to be the best (and most secure) place to do so. o is designed to work for a file STRINGS.DAT *less* than 64KB only! o bugfix: preserve ECHO state of interactive command line (see TEST1.BAT) o bugfix with infinite loop in aliasexpand() when the useFlag warps 16-Dec-1998 0.75h (John P. Price ) ~~~~~~~~~~~~~~~~~~~~~~ o alias.c: Changed so that a dot before a command will disable alias expansion. I was "noalias" but I prefer the shorter solution. 22-Jan-1999 0.75i Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o bugfix: on suggestion of Charles Dye (raster@highfiber.com) "/ccommand" "/c" must work without a space between [MS COMMAND compatibly] also mimics: "/c/? dir" --> bad command or filename o add: DR DOS compatibly: "/c:" and "/c=" even supports wierd looking: "/c:dir/?" o add: DR DOS compatibly: "/p:AUTOEXEC_replacement" o sub: calling _fullpath() for ComDir; at this point the path must be fully-qualtifed by convention of the environ 25-Jan-1999 0.75i Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o This patch addresses the two bugs reported by Eric Kohl : o alias.c: aliasdel(): accesses dynamic memory after it was free()'ed. o split()'s code to skip leading whitespaces crashes at end of string. 25-Jan-1999 0.75i Steffen Kaiser ~~~~~~~~~~~~~~~~~~~~~~ o This patch includes the CP/M style device name support: o Changed any open() and fopen() calls, when definitely sure that they are called for disk files only, into devopen() and fdevopen(). o Support for COPY is a hack. Rob or John should double check it, or possibly rewrite the whole file. (Thanx Steffen! - John :-) Changes in COPY.C: bugfix: setting time in ASCII mode before writing final ^Z bugfix: copy(): if bsiz < 128: the opened files are not closed chg: all error "return" statements perform the actions in the same sequence to allow the code optimizer to re-use code add: support for CP/M style device names (openf.h) chg/bugfix: overwrite(): use vcgetcstr(); could overflow the buffer chg: there were two individual flags ASCII and BINARY to indicate which option was specified. Internally only the ASCII flag was used, if it was clear, the files were copied in binary mode. To support devices the two flags are passed unchanged to the copy() function and, if both are clear (== none specified on command line), it defaults to ASCII for devices, but will not append the ^Z character. Due to this, the destination file must be opened in ASCII mode, too; otherwise the newline character had to be handled manually. o Two new files: openf.c & openf.h 28-Jan-1999 0.75i (John P. Price ) ~~~~~~~~~~~~~~~~~~~~~~ o alias.c: Changed noalias character from a dot to an asterisk (*). 31-Jan-1999 0.76 (John P. Price ) ~~~~~~~~~~~~~~~~~~~~~~ o dir.c: Changed dir_print_header to use function INT21,AH=69 instead of the function it was using. I'm not sure if this will fix anything or not. Also fixed bug with changing and restoring the current drive. o ver.c: changed /r to identify the FreeDOS kernel. If you are using kernel build 2000 or greater, it also shows the kernel version! o init.c: when command.com is started, it shows how much memory command.com is not hogging! Hopefully this will increase soon! 01-Feb-1999 0.76 Rob Linwood ~~~~~~~~~~~~~~~~~~~~~~ o alias.c: added code to allow alias commands to contain extra whitespace o added "?" command that shows the available commands.