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