home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / programm / 11962 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  997 b 

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