Date: Sun, 18 Dec 1994 16:45:40 +0900 From: Stephen Turnbull To: mfeldman AT seas DOT gwu DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu Subject: output redirection in version 2 From: Aaron Ucko >Is there any plan to find a clever way to redirect stderr and stdout >to _different_ files in version 2? This is what's done in Unix and >OS/2. This is more a shell issue than anything else...see below. >[deleted] >This is a mess in the DOS shell environment, but is it a feasible >fix for version 2? Is there a reason you have to use command.com? Many replacements I seem to recall that DRUPP et al. want a system that works in the vanilla DOS environment. Therefore neither 4DOS (my immediate reaction) nor Charles Sandmann's suggestion of a "shell-on-top-of-the-shell" redirection utility really satisfy their needs (both depend on ordinary lusers doing the right thing with the shells and/or redirection utility---memory-tight folks might not want the redirector running as a TSR, and then they'd have to load it manually.) support this sort of thing...and really, what would the alternative be? Syntaxwise, it would be necessary for the name of the logfile to be fixed (in $GO32, probably); that would also be rather awkward. I suppose it *might* be possible to independently redirect stderr and stdout in GO32 or in the startup code for V 2.0. BUT this would have to be compatible with the behavior of all conceivable replacement shells, including in particular 4DOS and MS_SH. >BTW - if the djgpp community thinks a DOS-ish, Turbo-like copylefted >editor is a good idea for the other djgpp languages, not just GNAT, >we are early enough in development to think seriously about this. Please...especially if it can read info files. (emacs is a bit too large for my taste...) I think John E Davis has a Kibo-like program that searches the net for mentions of "Emacs is too big", so he'll probably be along shortly.... But for the moment, I'll just mention that his JED editor is (relatively) small (everything fits on one 1.44MB floppy, as I recall), very Emacs-like, and does Info. I think that it doesn't even care whether the Info files are '\n' or '\r\n' delimited! Sorry I don't recall where it lives, tech.amy.harvard.edu or soemthing like that. >PS - this must be an FAQ but it's not in the FAQ file. Where is the >documentation of the various go32 options? I can't find it in the >djgpp info directories either. I suppose it must be in the go32 source. Speaking of unlisted FAQs, what precisely does DJGPP stand for? I've been able to do more than make some (fairly) reasonable guesses. It's in README.DJ, I believe. Anyway, one of the READMEs. --Steve