![]() |
Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
On Tue, 1 Jan 2002 bill at horne.net wrote: >How do I "lock" the text login console to double-bright mode? [...] >I've been wading through the termcap and terminfo help pages with no >luck. Setterm -bold only works until the next command executes. I can get it to bold a little longer with $ echo -e "^[[1m" where the first "^[" indicates a literal ESCAPE character. [1] `man console_codes` for more details. ;) Note that it will reset if you do certain things, like `ls` with colors, start something like `emacs -nw`, etc.. So, my next effort is to put that console code into the prompt: $ export PS1='^[[1m[\w]' where again "^[" represents a literal ESC, and the "[\w]" at the end is just my regular prompt. It seems to work so far (with the caveat that things like printing with colors will list as normal). [1] To insert a character literally at the prompt, do C-v C-q followed by the character, where C-v means holding the CTRL key down while pressing the 'v' key. In emacs, precede the character with C-q.