Hi, anybody who has the right compiler, please try to compile and run: http://www.coli.uni-sb.de/~eric/stuff/soft/by-others/ edit-0.5b.zip
You should - according to the makefile - use Borland C++ 3 or better. I did not try if my version compiles at all! Compare the .C and .H files to the enclosed .ORG files to figure out why, should any of my changes fail to compile. Featured changes: - EDIT.C: no longer creates files with wildcards in their name... - CONSOLE.C and KEYS.H: no longer treats AltGr like Alt, quite tricky to do it in a compatible way (getshift). - EDITBOX.C: now allows you to type any ASCII char into your text, including the escape char (Alt 27), of course excluding cursor keys and the like... - DIRECT.C: now preserves the single "\" when you give it filenames like x:\foo.bar or start it in the x:\ directory, rather than forgetting it while trying to strip a trailing "\"... Not yet fixed: - MESSAGE.C: Fails to catch the condition "user pressed Ctrl-C / Ctrl-Break to terminate EDIT" (would need an handler for int 0x1b or better 0x23), so that interrupt vectors are left dangling when you "Ctrl-C" edit, causing a crash. According to IntList 61, --------D-23--------------------------------- INT 23 - DOS 1+ - CONTROL-C/CONTROL-BREAK HANDLER this is tricky, due to version differences in various DOS versions :-(. But we can safely assume that EDIT cannot run on DOS < 3 anyway (at least it needs directories). I think we can return with IRET (continue running edit - could set a flag here to tell EDIT what happened), very simple. Or we RETF +2 with CF set to tell DOS that we allow it to abort us, but then we would have to call StopMsg() before! I think just having the int 0x23 handler "IRET" would be easiest ;-)). Please give feedback on which of the patches did work and if you are very happy with FreeDOS edit 0.5b now ;-). Thanks! As said, I cannot compile EDIT myself (I believe). Cheers, Eric. ---------- list options/archives/etc.: http://www.topica.com/lists/fd-dev unsubscribe: send blank email to: [EMAIL PROTECTED] ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bz8Rv5.bbRv4l.YXJjaGl2 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
