home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!ukma!cs.widener.edu!dsinc!ub!exucom.com!cyberman
- From: cyberman@exucom.com (Stephen R. Phillips)
- Newsgroups: comp.os.msdos.programmer
- Subject: Re: question on spawning DOS from C prog
- Message-ID: <1993Jan9.172257.10119@exucom.com>
- Date: 9 Jan 93 17:22:57 GMT
- References: <C0Fo6p.CCM@micromuse.co.uk>
- Organization: ExuCom Multimedia Inc.
- Lines: 17
- X-Newsreader: TIN [version 1.1 PL8]
-
- Adam Kerrison (adam@micromuse.co.uk) wrote:
-
- : I dont think so. You can do this by setting the prompt correctly. I don't think
- : you can have a newline in a prompt so you would need lots of spaces (a bit wasteful
- : but such is DOS :-) ). Try something like this:
-
- Eh this is untrue here is a breif summary of 3.2's available prompt escape
- sequences.
- $t - time $d - date $p - working dir $v - version
- $n - drive $g - '>' $l - '<' $b - '|'
- $_ - newline $s - space $e - 0x1b
-
- :')
- Cyberman
- --
- This is my sig file!
- Read rec.games.programer!
-