🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7230

Building a better DOS revisisted (getting close to UNIX)

#7230
From: sorrow
Date: Fri, 21 Jun 1991 19:04
38 lines
2457 bytes
Well, in response to my post about trying to make my DOS environment look like
UNIX yet retain compatiblity, I found about this wonderful thing called the
MS-DOS GNUish project which has about 98.5% of the utilities I need already
done.

However...

These utilites are HARD CORE implementations of the UNIX stuff, and what I
really wanted was an implementation that is UNIX-like but handles DOS 
special cases.  For example, LS by GNU shows owner (invalid concept), 
group access, and does NOT show time.  Mine shows attributes, time, and
doesn't bother with owner.  Ho hum.

Second, there is no utility with the GNU stuff to do command line completion
and command line history and editing.  I downloaded from wuarchive a little
utility called HISTORY.COM with it's source and it looks real good.  However,
it is dated 1988 and was written by Michael Rubinstein and Russell Nelson.
What I would like to know is if I can rewrite the code (it is UGLY) then 
reupload it as freeware.  It was written in Aztec C but ported to BC++ just
fine (in C mode).  TASM compiled the one .ASM file perfectly.  Also, I 
changed it so that it was more UNIXy (BSD...I use the tab key for completion).

Finally, I need more help (yes, MORE help) on how to make my prompt use
forward slashes.  Someone told me to intercept the DOS INT that returns 
the correct working directory....is this safe?  Anything I should know about
that?

Any replies appreciated,

Brian
/*
Brian Hook -- MS-DOS Programmer for Contract
-----------------------------------------------------------------
"Seamus, that's my dog...I saw her today at the reception...sorry, sixTEEN
inches....better save the women and children first...but this one goes to 11!
..anymore of that plutonium nyborg?....there can be only ONE!....like a 
finger pointing to the moon....ease the seat back...one day closer to death
*/
Technical Details
Message-ID: <0094A761.C2F6D640@MAPLE.CIRCA.UFL.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven.umd.edu!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven.umd.edu!uflorida!SORROW@MAPLE.CIRCA.UFL.EDU
From: sorrow@oak.circa.ufl.edu
Newsgroups: comp.os.msdos.programmer
Subject: Building a better DOS revisisted (getting close to UNIX)
Message-ID: <0094A761.C2F6D640@MAPLE.CIRCA.UFL.EDU>
Date: 21 Jun 91 19:04:47 GMT
Sender: news@uflorida.cis.ufl.EDU
Reply-To: sorrow@oak.circa.ufl.edu
Organization: University of Florida CIRCA VAX Cluster
Lines: 38