Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] top does not save settings
Date: Thu, 18 Mar 2010 11:07:25
Message-Id: 201003181206.13674.wonko@wonkology.org
In Reply to: [gentoo-user] top does not save settings by Mick
1 Mick writes:
2
3 > In an aterm I launch top. Then press z c and Shift+W. I get:
4 >
5 > Wrote configuration to '/home/michael/.toprc'
6
7 Cool. Didn't know about this yet.
8
9 > Fine I think, Ctrl+c to end it and move on. Next time I fire up top,
10 > even from the same terminal, it's all looking white with no colour, no
11 > highlighting, or anything else. Why is this? This is what the
12 > contents of .toprc show:
13 > =================================
14 > Cfile for "top with windows" # shameless braggin'
15 > Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0
16 > fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX
17 > winflags=64953, sortindx=10, maxtasks=0
18 > summclr=1, msgsclr=1, headclr=3, taskclr=1
19 > fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
20 > winflags=62777, sortindx=0, maxtasks=0
21 > summclr=6, msgsclr=6, headclr=7, taskclr=6
22 > fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
23 > winflags=62777, sortindx=13, maxtasks=0
24 > summclr=5, msgsclr=5, headclr=4, taskclr=5
25 > fieldscur=ABDECGfhijlopqrstuvyzMKNWX
26 > winflags=62777, sortindx=4, maxtasks=0
27 > summclr=3, msgsclr=3, headclr=2, taskclr=3
28 > =================================
29 >
30 > Same thing happens in xterm and konsole.
31
32 Works here, in konsole and xterm.
33
34 My .toprc looks similar, but it has additional keywords Def, Job, Mem and
35 Usr. Are they missing in your .toprc, or did they get lost during
36 copy&paste? If I remove them, my top also looks like without .toprc.
37
38 =================================
39 RCfile for "top with windows" # shameless braggin'
40 Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0
41 Def fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX
42 winflags=64953, sortindx=10, maxtasks=0
43 summclr=1, msgsclr=1, headclr=3, taskclr=1
44 Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
45 winflags=62777, sortindx=0, maxtasks=0
46 summclr=6, msgsclr=6, headclr=7, taskclr=6
47 Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
48 winflags=62777, sortindx=13, maxtasks=0
49 summclr=5, msgsclr=5, headclr=4, taskclr=5
50 Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX
51 winflags=62777, sortindx=4, maxtasks=0
52 summclr=3, msgsclr=3, headclr=2, taskclr=3
53 =================================
54
55 Wonko

Replies

Subject Author
Re: [gentoo-user] top does not save settings o0o.atlantis.o0o@×××××.com