Line 0
Link Here
|
|
|
1 |
--- htop.c.orig 2008-04-27 13:56:38.000000000 +0800 |
2 |
+++ htop.c 2008-07-16 12:54:44.000000000 +0800 |
3 |
@@ -110,9 +110,11 @@ |
4 |
mvaddstr(15, 0, " F9 k: kill process/tagged processes P: sort by CPU%"); |
5 |
mvaddstr(16, 0, " + [ F7: lower priority (+ nice) M: sort by MEM%"); |
6 |
mvaddstr(17, 0, " - ] F8: higher priority (root only) T: sort by TIME"); |
7 |
+#if 0 |
8 |
if (pl->processorCount > 1) |
9 |
mvaddstr(18, 0, " a: set CPU affinity F4 I: invert sort order"); |
10 |
else |
11 |
+#endif |
12 |
mvaddstr(18, 0, " F4 I: invert sort order"); |
13 |
mvaddstr(19, 0, " F2 S: setup F6 >: select sort column"); |
14 |
mvaddstr(20, 0, " F1 h: show this help screen"); |
15 |
@@ -129,8 +131,10 @@ |
16 |
mvaddstr(16, 0, " + [ F7"); mvaddstr(16,40, " M"); |
17 |
mvaddstr(17, 0, " - ] F8"); mvaddstr(17,40, " T"); |
18 |
mvaddstr(18,40, " F4 I"); |
19 |
+#if 0 |
20 |
if (pl->processorCount > 1) |
21 |
mvaddstr(18, 0, " a:"); |
22 |
+#endif |
23 |
mvaddstr(19, 0, " F2 S"); mvaddstr(19,40, " F6 >"); |
24 |
mvaddstr(20, 0, " F1 h"); |
25 |
mvaddstr(21, 0, " F10 q"); mvaddstr(21,40, " s"); |
26 |
@@ -625,6 +629,7 @@ |
27 |
refreshTimeout = 0; |
28 |
break; |
29 |
} |
30 |
+#if 0 |
31 |
case 'a': |
32 |
{ |
33 |
if (pl->processorCount == 1) |
34 |
@@ -660,6 +665,7 @@ |
35 |
refreshTimeout = 0; |
36 |
break; |
37 |
} |
38 |
+#endif |
39 |
case KEY_F(10): |
40 |
case 'q': |
41 |
quit = 1; |