home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35625 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.1 KB

  1. Path: sparky!uunet!ukma!wupost!uwm.edu!psuvax1!psuvm!wvnvm!bryan
  2. Date: Fri, 6 Nov 1992 13:28:10 EST
  3. From: Jerry Bryan <BRYAN@wvnvm.wvnet.edu>
  4. Message-ID: <92311.132810BRYAN@wvnvm.wvnet.edu>
  5. Newsgroups: comp.os.os2.misc
  6. Subject: Re: ANSI primer
  7. References: <1992Oct29.020851.20183@ra.msstate.edu>
  8.  <1992Oct29.185037.4221@njitgw.njit.edu>
  9. Lines: 16
  10.  
  11.  
  12. People from time to time post their favorite prompts.  Here is mine.
  13. It gives you a red prompt on a blue screen, plus giving you the
  14. current drive and directory, current date, and current time.  Since
  15. the prompt is fairly long (sometimes), the cursor is moved to the
  16. next line down.
  17.  
  18. There is one (what I consider a) glitch in my prompt.  When you first
  19. open a window (or when you first boot, if it is a DOS PC), the whole
  20. screen is not blue.  The screen gets blue as you work your way down,
  21. entering command line commands.  You can fix it with a CLS command
  22. (which I include as the last thing in AUTOEXEC.BAT for DOS).  I don't
  23. think the glitch can be fixed in the prompt itself, and I think that
  24. any scheme to set colors in the prompt will have the glitch.
  25.  
  26. set prompt=$_$e[1;37;41m$p $d $t $e[44m$_$g$e[K
  27.