From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NsDZV-0003We-8c for garchives@archives.gentoo.org; Thu, 18 Mar 2010 11:07:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4608AE071C; Thu, 18 Mar 2010 11:06:19 +0000 (UTC) Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by pigeon.gentoo.org (Postfix) with ESMTP id C1AA6E071C for ; Thu, 18 Mar 2010 11:06:19 +0000 (UTC) Received: from static-87-79-89-40.netcologne.de ([87.79.89.40] helo=zone.wonkology.org) by mail.askja.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NsDYQ-00042W-Hr for gentoo-user@lists.gentoo.org; Thu, 18 Mar 2010 12:06:18 +0100 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by zone.wonkology.org with local; Thu, 18 Mar 2010 12:06:16 +0100 id 00010DED.4BA20928.0000385F From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] top does not save settings Date: Thu, 18 Mar 2010 12:06:12 +0100 User-Agent: KMail/1.13.1 (Linux/2.6.32-tuxonice-r5; KDE/4.4.1; i686; ; ) References: <201003172319.36370.michaelkintzios@gmail.com> In-Reply-To: <201003172319.36370.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201003181206.13674.wonko@wonkology.org> X-Archives-Salt: 8d7fd067-0706-4079-af4a-683158902986 X-Archives-Hash: 7698685c042c834d88b2eed7a72818b8 Mick writes: > In an aterm I launch top. Then press z c and Shift+W. I get: > > Wrote configuration to '/home/michael/.toprc' Cool. Didn't know about this yet. > Fine I think, Ctrl+c to end it and move on. Next time I fire up top, > even from the same terminal, it's all looking white with no colour, no > highlighting, or anything else. Why is this? This is what the > contents of .toprc show: > ================================= > Cfile for "top with windows" # shameless braggin' > Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 > fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX > winflags=64953, sortindx=10, maxtasks=0 > summclr=1, msgsclr=1, headclr=3, taskclr=1 > fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX > winflags=62777, sortindx=0, maxtasks=0 > summclr=6, msgsclr=6, headclr=7, taskclr=6 > fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX > winflags=62777, sortindx=13, maxtasks=0 > summclr=5, msgsclr=5, headclr=4, taskclr=5 > fieldscur=ABDECGfhijlopqrstuvyzMKNWX > winflags=62777, sortindx=4, maxtasks=0 > summclr=3, msgsclr=3, headclr=2, taskclr=3 > ================================= > > Same thing happens in xterm and konsole. Works here, in konsole and xterm. My .toprc looks similar, but it has additional keywords Def, Job, Mem and Usr. Are they missing in your .toprc, or did they get lost during copy&paste? If I remove them, my top also looks like without .toprc. ================================= RCfile for "top with windows" # shameless braggin' Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 Def fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX winflags=64953, sortindx=10, maxtasks=0 summclr=1, msgsclr=1, headclr=3, taskclr=1 Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX winflags=62777, sortindx=0, maxtasks=0 summclr=6, msgsclr=6, headclr=7, taskclr=6 Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX winflags=62777, sortindx=13, maxtasks=0 summclr=5, msgsclr=5, headclr=4, taskclr=5 Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX winflags=62777, sortindx=4, maxtasks=0 summclr=3, msgsclr=3, headclr=2, taskclr=3 ================================= Wonko