[comp.sys.ibm.pc] Let's get rid of COMMAND.COM entirely!

cjeffery@arizona.edu (Clinton Jeffery) (01/23/89)

Are there any free csh() clones good enough to really replace command.com
entirely, or does someone at least have a loader I can snarf?

OK, what's the right way load load and run subprograms from a DOS C program?
system() loads a copy of COMMAND.COM to do its dirty work, right?
exec*() functions never return to the caller, right?

Thanks for any and all suggestions,
-- 
| Clint Jeffery, University of Arizona Department of Computer Science
| cjeffery@arizona.edu -or- {noao allegra}!arizona!cjeffery
--

fargo@pawl.rpi.edu (Ethan M. Young) (01/23/89)

I have a copy of a public domain program called CSH4.ARC.  This is a csh()
like shell that is run under DOS.  (Thus no need to sacrifice all your handy
MS-DOS programs like grep, vi, emacs.... Oops!  Wrong OS!)  The archive in-
cludes the source code in C.  (Who'd want to write csh() in Pascal?  Or BASIC?)
The actual executable was compiled using Aztec C.

If there are enough requests, I will make it available for anonymous FTP.
Otherwise, you may have to wait awhile as I'm still learning how to put bin-
aries into messages.

Disclaimer: Anything in parentheses was written by a non-existent creature
            called "Bob"

Thank you and happy hunting!     Internet: fargo@pawl.rpi.edu                       ____    [> SB <]                       fargo@{paraguay|uruguay}.acm.rpi.edo
   /__      -=>??<=-          Bitnet (??): usergac0@rpitsmts.bitnet
  /   ARGO : 3000 years of regression from the year 4990

bkbarret@sactoh0.UUCP (Brent K. Barrett) (01/23/89)

In article <8831@megaron.arizona.edu>, cjeffery@arizona.edu (Clinton Jeffery) writes:
> 
> OK, what's the right way load load and run subprograms from a DOS C program?
> system() loads a copy of COMMAND.COM to do its dirty work, right?
> exec*() functions never return to the caller, right?

 There are also the spawn() functions, which will run 808x programs
without loading COMMAND.COM. Note that no DOS commands will work,
and it will not run batch files.. it expects the file to be 808x
machine code, and it doesn't care what the extension is (if any).

-- 
 "Somebody help me! I'm trapped in this computer!"
  
 Brent Barrett ..pacbell!sactoh0!bkbarret GEMAIL: B.K.BARRETT