Please help with terminal settings

Bill Horne bill at horne.net
Tue Jan 1 19:57:21 EST 2002


Scott,

Works fine, thanks a lot.

Bill

Scott Lanning wrote:

> 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.
>
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss




More information about the Discuss mailing list