delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/17/20:45:10

From: Stan Moore <smoore AT exis DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Common DOS programs in DJGPP
Date: Sun, 17 Sep 2000 20:41:23 -0400
Message-ID: <p9oassctvg73dv4praupmva49qlf565uf0@4ax.com>
References: <Pine DOT LNX DOT 4 DOT 21 DOT 0009122042500 DOT 1639-100000 AT goatbeard DOT grendel DOT net> <gMZv5.24883$qM3 DOT 161600 AT news1 DOT bnapk1 DOT occa DOT home DOT com> <mg12sso35mkbqbks2jejbkkquffm0k760b AT 4ax DOT com> <1t52ss0lc165pmhlrd64tkros1sb8jfa4t AT 4ax DOT com> <k9n4sskub2dn601jg6ldo79qmo1rjlnml0 AT 4ax DOT com> <39c37099 DOT 16920521 AT news DOT freeserve DOT net> <k6a7ss0rg39lfvgg8pbhhlhegkofc5cj6p AT 4ax DOT com> <39c3ca02 DOT 39814383 AT news DOT freeserve DOT net> <ede9ss0m9v1kjiig11ba4rjtats2687urt AT 4ax DOT com> <5j6asss1kn1umn2u3hdscvslk8s3abk2e3 AT 4ax DOT com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
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
<Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> wrote:

>On Sun, 17 Sep 2000 08:56:48 -0400, Stan Moore <smoore AT exis DOT net>
>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 :)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019