From: Stan Moore Newsgroups: comp.os.msdos.djgpp Subject: Re: Common DOS programs in DJGPP Date: Sun, 17 Sep 2000 20:41:23 -0400 Message-ID: References: <1t52ss0lc165pmhlrd64tkros1sb8jfa4t AT 4ax DOT com> <39c37099 DOT 16920521 AT news DOT freeserve DOT net> <39c3ca02 DOT 39814383 AT news DOT freeserve DOT net> <5j6asss1kn1umn2u3hdscvslk8s3abk2e3 AT 4ax DOT com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: digital-3-133.exis.net X-Trace: 17 Sep 2000 20:41:09 -0400, digital-3-133.exis.net Lines: 49 Organization: A Customer of Exis Net Inc To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 17 Sep 2000 19:43:33 GMT, Damian Yerrick wrote: >On Sun, 17 Sep 2000 08:56:48 -0400, Stan Moore >wrote: > >>You can do a simple test to see the difference, boot to dos only and >>try a console app. > >Or right click and choose Properties from Wintendo 9x to see if it >gives you pif options or not. True enough, I only mentioned booting because I've seen people argue about console vs dos apps and watching an app not run seems to help convince some people some of the time. >A true console app only needs a main(). msvcrt handles most of the >rest of that. My post probably gave a wrong impression here and I'm glad you cleared things up for any lurkers. My memory was clouded by some pretty hairy things I was working on a while ago. On those projects, we were pushing the system in ways it was never intended to go. >>Now on the other hand, some compilers even MS will let you create a >>"console" app that is really just a dos app running with dpmi. > >Visual C++ 1.52 right? Yes :) > >>I haven't seen a lot of actual console apps myself. > >hello.exe compiled with mingw >java.exe >javac.exe >Cygwin (gcc.exe, bash.exe, *utils) >Mingw gcc.exe >MSVC cl.exe I didn't mean I hadn't seen any, just that in the sea of windows programs console apps are just a few drops. I think that state of affairs is bad, by the way. I'd like to see a lot more attention paid to the windows command line in general and especially to make things easier to use the best of GUI and command line thinking. I'm a command line kinda guy so I admit I'm biased, of course it's probably a common bias for many of us using DJGPP :)