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

Re: coloured prompt for root (was ... Re: Reporting missing package during install)



On Wed, Dec 11, 2013 at 02:13:18PM +0100, Gian Uberto Lauri wrote:
> Chris Bannister writes:
> 
>  > This is in a tty, so don't know what will happen in an xterm or other
>  > virtual terminal.
> 
> The virtual terminals usually honour ANSI escape sequences. For sure
> xterm, the rxvt family and the libvte-based ones do.
> 
> But with virtual terminals you can do something like having a
> different background and foreground color (red on black is standard in
> my family).

Same on a tty. man setterm

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Reply to: