From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Displaying volumename in prompt Date: Sun, 22 Dec 1996 20:55:39 -0800 Organization: Two pounds of chaos and a pinch of salt Lines: 28 Message-ID: <32BE10CB.7AB0@cs.com> References: <5974bk$j7e$2 AT tornix DOT tornado DOT be> <32BD8ACF DOT 5782 AT exis DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp226.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Joe Wright wrote: > > > Yes there is, and it does involve escape sequences, I did that a long > > while ago, and I don't remember exactly how I did that, but I trashed that > > idea because every time the prompt popped up, it caused a disk access as > > DOS required a verification that the Volume was still the same! > > Using the volume name in place of the idiotic C: designator would please > me no end. Assuming we are all playing some flavor of MSDOS (why djgpp > otherwise?), one of us, some of us or all of us ought to write shell.com > to replace (and eliminate for all time) COMMAND.COM forever. Shouldn't SMARTDRV in read cache mode eliminate the time needed to search the volume label? As for COMMAND.COM, you may want to talk to the Caldera folks who are doing OpenDOS about their revisions to the DOS source code. Although I did talk to one user recently who said that OpenDOS still displays the same buggy DPMI that Novell DOS 7 did, making it necessary to turn off the DPMI to run DJGPP programs... -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | fighteer AT cs DOT com | | * Proud user of DJGPP! * | http://www.cs.com/fighteer | | ObJoke: If Bill Gates were a robber, not only would he | | shoot you, but he'd send you a bill for the bullets. | ---------------------------------------------------------------------