Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please help with terminal settings



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





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org