Subject: Re: The Black cursor problem
From: Paul J. Lucas (pauljlucas@mac.com)
Date: Mon Sep 03 2001 - 10:22:08 MDT
On Sun, 2 Sep 2001, Jim Cole wrote:
> There are some escape sequences that can be used to manipulate cursor
> appearance, but I have not yet found a setting that results in a simple
> white cursor.
Well, for lack of anything better at the moment, I added:
setterm -background blue; setterm -store
to my /etc/rc.d/rc.local script just so I can *see* the cursor.
If you don't do the -store, then the moment you do anything
else with color (like ls with colors), then the background
reverts to black.
An alternative is to put the two escape sequences:
^[[44m^[[8]
as the first 9 characters in /etc/issue. (And remember to
whack the code in rc.local that resets your /etc/issue file --
this is a YDL annoyance.) Feel free to use other colors. (To
figure out what setterm does, I did an:
strace -o foo setterm -background blue
and went to the end of the file foo to see what it wrote to
file descriptor 1, i.e., stdout.)
- Paul
P.S.: Since I don't use Windoze, the pretty blue background
doesn't have any negative connotation to me. :-)
This archive was generated by hypermail 2a24 : Mon Sep 03 2001 - 09:30:14 MDT