#define _PS_COMM (1<<22)
#define PS_NAME 23
#define _PS_NAME (1<<23)
-#define PS_TNAME 24
-#define _PS_TNAME (1<<24)
-#define PS_COMMAND 25
-#define _PS_COMMAND (1<<25)
-#define PS_CMDLINE 26
-#define _PS_CMDLINE (1<<26)
-#define PS_ARGS 27
-#define _PS_ARGS (1<<27)
-#define PS_CMD 28
-#define _PS_CMD (1<<28)
-#define PS_UID 29
-#define _PS_UID (1<<29)
-#define PS_USER 30
-#define _PS_USER (1<<30)
-#define PS_RUID 31
-#define _PS_RUID (1<<31)
-#define PS_RUSER 32
-#define _PS_RUSER (1LL<<32)
-#define PS_GID 33
-#define _PS_GID (1LL<<33)
-#define PS_GROUP 34
-#define _PS_GROUP (1LL<<34)
-#define PS_RGID 35
-#define _PS_RGID (1LL<<35)
-#define PS_RGROUP 36
-#define _PS_RGROUP (1LL<<36)
-#define PS_TIME 37
-#define _PS_TIME (1LL<<37)
-#define PS_ELAPSED 38
-#define _PS_ELAPSED (1LL<<38)
-#define PS_TIME_ 39
-#define _PS_TIME_ (1LL<<39)
-#define PS_C 40
-#define _PS_C (1LL<<40)
-#define PS__VSZ 41
-#define _PS__VSZ (1LL<<41)
-#define PS__MEM 42
-#define _PS__MEM (1LL<<42)
-#define PS__CPU 43
-#define _PS__CPU (1LL<<43)
-#define PS_VIRT 44
-#define _PS_VIRT (1LL<<44)
-#define PS_RES 45
-#define _PS_RES (1LL<<45)
-#define PS_SHR 46
-#define _PS_SHR (1LL<<46)
-#define PS_READ 47
-#define _PS_READ (1LL<<47)
-#define PS_WRITE 48
-#define _PS_WRITE (1LL<<48)
-#define PS_IO 49
-#define _PS_IO (1LL<<49)
-#define PS_DREAD 50
-#define _PS_DREAD (1LL<<50)
-#define PS_DWRITE 51
-#define _PS_DWRITE (1LL<<51)
-#define PS_SWAP 52
-#define _PS_SWAP (1LL<<52)
-#define PS_DIO 53
-#define _PS_DIO (1LL<<53)
-#define PS_STIME 54
-#define _PS_STIME (1LL<<54)
-#define PS_F 55
-#define _PS_F (1LL<<55)
-#define PS_S 56
-#define _PS_S (1LL<<56)
-#define PS_STAT 57
-#define _PS_STAT (1LL<<57)
-#define PS_PCY 58
-#define _PS_PCY (1LL<<58)
+#define PS_COMMAND 24
+#define _PS_COMMAND (1<<24)
+#define PS_CMDLINE 25
+#define _PS_CMDLINE (1<<25)
+#define PS_ARGS 26
+#define _PS_ARGS (1<<26)
+#define PS_CMD 27
+#define _PS_CMD (1<<27)
+#define PS_UID 28
+#define _PS_UID (1<<28)
+#define PS_USER 29
+#define _PS_USER (1<<29)
+#define PS_RUID 30
+#define _PS_RUID (1<<30)
+#define PS_RUSER 31
+#define _PS_RUSER (1<<31)
+#define PS_GID 32
+#define _PS_GID (1LL<<32)
+#define PS_GROUP 33
+#define _PS_GROUP (1LL<<33)
+#define PS_RGID 34
+#define _PS_RGID (1LL<<34)
+#define PS_RGROUP 35
+#define _PS_RGROUP (1LL<<35)
+#define PS_TIME 36
+#define _PS_TIME (1LL<<36)
+#define PS_ELAPSED 37
+#define _PS_ELAPSED (1LL<<37)
+#define PS_TIME_ 38
+#define _PS_TIME_ (1LL<<38)
+#define PS_C 39
+#define _PS_C (1LL<<39)
+#define PS__VSZ 40
+#define _PS__VSZ (1LL<<40)
+#define PS__MEM 41
+#define _PS__MEM (1LL<<41)
+#define PS__CPU 42
+#define _PS__CPU (1LL<<42)
+#define PS_VIRT 43
+#define _PS_VIRT (1LL<<43)
+#define PS_RES 44
+#define _PS_RES (1LL<<44)
+#define PS_SHR 45
+#define _PS_SHR (1LL<<45)
+#define PS_READ 46
+#define _PS_READ (1LL<<46)
+#define PS_WRITE 47
+#define _PS_WRITE (1LL<<47)
+#define PS_IO 48
+#define _PS_IO (1LL<<48)
+#define PS_DREAD 49
+#define _PS_DREAD (1LL<<49)
+#define PS_DWRITE 50
+#define _PS_DWRITE (1LL<<50)
+#define PS_SWAP 51
+#define _PS_SWAP (1LL<<51)
+#define PS_DIO 52
+#define _PS_DIO (1LL<<52)
+#define PS_STIME 53
+#define _PS_STIME (1LL<<53)
+#define PS_F 54
+#define _PS_F (1LL<<54)
+#define PS_S 55
+#define _PS_S (1LL<<55)
+#define PS_STAT 56
+#define _PS_STAT (1LL<<56)
+#define PS_PCY 57
+#define _PS_PCY (1LL<<57)
#define KEY_UP 0
#define _KEY_UP (1<<0)
#define KEY_DOWN 1