Message-ID: <38A6DF4C.28ED4714@maths.unine.ch> Date: Sun, 13 Feb 2000 16:43:57 +0000 From: Gautier X-Mailer: Mozilla 4.7 (Macintosh; I; PPC) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Untrapping Ctrl-C in DJGPP References: <01bf725f$15b1d9e0$12e126d4 AT pena-ii> <01bf7348$40dc9260$69e126d4 AT pena-ii> <38A2FF88 DOT E4840FC9 AT americasm01 DOT nt DOT com> <38A5520F DOT 57B6ED6A AT is DOT elta DOT co DOT il> <38A5707A DOT 4ED5ED78 AT maths DOT unine DOT ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: mac13-32.unine.ch X-Trace: 13 Feb 2000 16:42:36 +0100, mac13-32.unine.ch Lines: 33 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli: > > >> I don't know, but I suspect that command.com and edit.com are actually > > >> Windows console applications in disguise. > > Ran 'em both in F8-DOS. > That doesn't really prove anything: programs exist that can run both in > DOS and on Windows. In fact, each Windows application has a small DOS > stub prepended to it. True: normally the DOS stub just writes "This program requires..." and from a DOS point of view the real Windows EXE is just appended. In DR-DOS, taskmgr.exe contains the full task manager in its DOS stub and run as a Windows task manager when run under Windows. Idem for lock iirc. *But* for command.com and edit.com, they are no EXEs and seem too small to contain 2 programs in one (the DOS and the Win32 console app) - compared to their sizes in MS-DOS 6.22. Some indices: the Win95 OSR2 edit.com runs on a 286 with DR-DOS 7.03; if you dump the assembler from command.com with debug, you'll find 6 instances of the Win9x close request calls (int 2f multiplex with ax=168f). > But a special function to turn on this checking, for programs that > want it, would be nice. I vote for this functionality to be *optional* too! -- Gautier _____\\________________\_______\_________ http://members.xoom.com/gdemont/gsoft.htm