Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] top does not save settings Alex Schuster <wonko@×××××××××.org>