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

Bug#312687: linux terminal doesn't reset colors on logout



On Thursday 09 June 2005 18:34, you wrote:
| On Thu, 2005-09-06 at 17:07 +0200, Siward de Groot wrote:
| >    when i log in on a VT as root and su to siward,
| >      then siward's .bashrc changes colors of text in VT,
|
| The cause is:
| 	alias ls='ls -color'
No, it's not ; my .bashrc ouputs ansi color escapes,
   because i like to have a white background in an xterm.
In a linux term these don't work (i get grey on black),
  so that's how i noticed  it doesnt reset colors.
It just didn't seem right to not reset colors on logout.

| >  If you decide not to fix this (it's only a feature request after all),
| >    could you point me to the sources that control
| >    linux terminal's colour behaviour ?
|
| See above.
Another reason i asked this is that when i use modified colors in a term,
  and i start a program that also modifies colors,
  there's no way for such a program to reset colors to what they were before,
  because it has no way of  finding out what they were,
  at least no way that i know of.

| BTW ... I never su to 'user' from root ... my first account is always|
| admin, from which I use 'sudo' to admin the box.
A matter of taste, i guess,
  i just log in as root, su to xuser , and startx,
If there's anything i want to do in the terminal (mount for example),
  i usually need root for it.
It's just a single-user box.

Thanks for your reply.

    Siward de Groot
    (home.wanadoo.nl/siward)



Reply to: