]> granicus.if.org Git - procps-ng/commitdiff
a bit nicer
authoralbert <>
Wed, 4 Dec 2002 03:34:05 +0000 (03:34 +0000)
committeralbert <>
Wed, 4 Dec 2002 03:34:05 +0000 (03:34 +0000)
top.c

diff --git a/top.c b/top.c
index d19b8042efa56a5fa02531b40e0fbd8b9c5daa5a..515ddf40f6c53999c68be1fcec47098c7a5bbd73 100644 (file)
--- a/top.c
+++ b/top.c
@@ -1260,12 +1260,9 @@ static int read_config_rik (const char * const fbuf, ssize_t num, RCF_t * const
       if(c=='|') continue; // Rik's top ships with a garbage character
       if(c=='[') c='Y';    // Rik's top ships with 3x of "#C"
       if(c=='{') c='y';    // another one... and '}' to please Jim's editor
-      if(c=='n') continue; // unimplemented
-      if(c=='N') continue; // unimplemented
-      if(c=='q') continue; // unimplemented
-      if(c=='Q') continue; // unimplemented
-      if(c=='r') continue; // unimplemented
-      if(c=='R') continue; // unimplemented
+      if(c=='N') c='n';    // usage differs, so turn this off
+      if(c=='Q') c='q';    // usage differs, so turn this off
+      if(c=='R') c='r';    // usage differs, so turn this off
       c = rik_to_jim(c);
       if(!c) return -4;     // error value
       if(c=='.') return -5; // error value