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

Bug#312687: marked as done (linux terminal doesn't reset colors on logout)



Your message dated Fri, 10 Jun 2005 17:45:59 +0900
with message-id <[🔎] 20050610084559.GS9989@verge.net.au>
and subject line Bug#312687: linux terminal doesn't reset colors on logout
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Jun 2005 15:08:12 +0000
>From siward@wanadoo.nl Thu Jun 09 08:08:12 2005
Return-path: <siward@wanadoo.nl>
Received: from master.debian.org [146.82.138.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DgOdf-000182-00; Thu, 09 Jun 2005 08:08:12 -0700
Received: from smtp06.wanadoo.nl [194.134.35.146] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DgOde-0002An-00; Thu, 09 Jun 2005 10:08:10 -0500
Received: from c3eea29e7.cable.wanadoo.nl (c3eea29e7.cable.wanadoo.nl [62.234.41.231])
	by smtp6.wanadoo.nl (Postfix) with ESMTP id F171445907
	for <bugs@debian.org>; Thu,  9 Jun 2005 17:08:09 +0200 (CEST)
From: Siward de Groot <siward@wanadoo.nl>
Organization: org
To: "B. Bunny" <bugs@debian.org>
Subject: linux terminal doesn't reset colors on logout
Date: Thu, 9 Jun 2005 17:07:57 +0200
User-Agent: KMail/1.7.2
MIME-Version: 1.0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[🔎] 200506091708.01817.siward@wanadoo.nl>
Delivered-To: bugs@debian.org
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: kernel-image-2.6-386
Version: 101
Severity: wishlist

 Hello kernel maintainers,

   when i log in on a VT as root and su to siward,
     then siward's .bashrc changes colors of text in VT,
   if siward exits, so i become root again, colors remain those of siward.

 Exiting, so login prompt comes up, doesn't reset colors either,
   so it looks like it could be abused on real terminals  to
     set color to black on black,
   but i'm not sure,  as i don't have real terminals.

 This is not really a problem for me,
   but it seems kinda stupid to reset colors as part of PS1,
   so maybe you would like to improve this ?
 Maybe with environment variables TERMFG and TERMBG,
   each set to ascii of hex values of rgb of color
   and terminal setting these to correct values whenever color changes,
      and resetting colors when a subshell exits
      but resetting envvars to new colors when a normal program exits,
        to allow color-setting programs ?
 I hope this is doable.
 Anyway, a reset to standard (white on black) for login should be possible.


 While i'm talking to you, i would like to mention that
   i am getting errorrmessages like :
  "atkbd.c: spurious ack on atikbd0/seria0.
   Some program, like XFree86, might be trying to access hardware directly."
 But it's not XFree doing that, it's mc
  (which i invoke and quit immediately, because it resets colors).
 And you'll need to change the 'XFree86' anyway, when etch uses X.org .


 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 ?


 Anyway, thanks for maintaining the thing
    (and all the other things you maintain ofcourse).

 have fun !

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



 

---------------------------------------
Received: (at 312687-done) by bugs.debian.org; 10 Jun 2005 10:48:21 +0000
>From horms@koto.vergenet.net Fri Jun 10 03:48:21 2005
Return-path: <horms@koto.vergenet.net>
Received: from koto.vergenet.net [210.128.90.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Dgh3k-0005xZ-00; Fri, 10 Jun 2005 03:48:20 -0700
Received: by koto.vergenet.net (Postfix, from userid 7100)
	id 4DC7434030; Fri, 10 Jun 2005 19:19:59 +0900 (JST)
Date: Fri, 10 Jun 2005 17:45:59 +0900
From: Horms <horms@debian.org>
To: Guy Hulbert <gwhulbert@eol.ca>, 312687-done@bugs.debian.org
Cc: Siward de Groot <siward@wanadoo.nl>, "B. Bunny" <bugs@debian.org>
Subject: Re: Bug#312687: linux terminal doesn't reset colors on logout
Message-ID: <[🔎] 20050610084559.GS9989@verge.net.au>
References: <[🔎] 200506091708.01817.siward@wanadoo.nl> <[🔎] 1118334883.19507.54.camel@cal.cotef.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 1118334883.19507.54.camel@cal.cotef.org>
X-Cluestick: seven
User-Agent: Mutt/1.5.9i
Delivered-To: 312687-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

On Thu, Jun 09, 2005 at 12:34:43PM -0400, Guy Hulbert wrote:
> On Thu, 2005-09-06 at 17:07 +0200, Siward de Groot wrote:
> > Package: kernel-image-2.6-386
> > Version: 101
> > Severity: wishlist
> > 
> >  Hello kernel maintainers,
> > 
> >    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'
> just comment this out.  You can modify /etc/skel/.bashrc
> to make sure it doesn't come back.

I am closing this bug, as I agree it is a userspace configuration
issue, not a kernel problem.

-- 
Horms



Reply to: