is this patch from Blair Campbell correct, and can it be committed
please (and bug closed)?
http://www.freedos.org/bugzilla/show_bug.cgi?id=1886
Here is a patch to fix the problem and act like the MS-DOS command.com:
--- ..\freemed\shell\command.c Sat Sep 24 14:36:32 2005
+++ shell\command.c Thu Sep 22 14:48:16 2005
@@ -654,8 +654,11 @@
/* Go Interactive */
interactive_command = 1; /* directly entered by
user */
/* Ensure the prompt starts at column #0 */
- if(echo)
+ if(echo&&wherex()>1)
putchar('\n');
readcommand(ip = readline, MAX_INTERNAL_COMMAND_SIZE);
tracemode = 0; /* reset trace mode */
}
--
Efficiency is intelligent lazyness
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Freedos-kernel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel