top: corrected several programmer comments
This commit is contained in:
parent
82c0dfd877
commit
eac96c37b5
18
top/top.c
18
top/top.c
@ -706,7 +706,7 @@ static inline void show_scroll (void) {
|
|||||||
* Our special formatting consists of:
|
* Our special formatting consists of:
|
||||||
* "some text <_delimiter_> some more text <_delimiter_>...\n"
|
* "some text <_delimiter_> some more text <_delimiter_>...\n"
|
||||||
* Where <_delimiter_> is a single byte in the range of:
|
* Where <_delimiter_> is a single byte in the range of:
|
||||||
* \01 through \10 (in decimalizee, 1 - 8)
|
* \001 through \010 (in decimalizee, 1 - 8)
|
||||||
* and is used to select an 'attribute' from a capabilities table
|
* and is used to select an 'attribute' from a capabilities table
|
||||||
* which is then applied to the *preceding* substring.
|
* which is then applied to the *preceding* substring.
|
||||||
* Once recognized, the delimiter is replaced with a null character
|
* Once recognized, the delimiter is replaced with a null character
|
||||||
@ -730,12 +730,12 @@ static void show_special (int interact, const char *glob) {
|
|||||||
the real captab is now found in a group's WIN_t !
|
the real captab is now found in a group's WIN_t !
|
||||||
+------------------------------------------------------+
|
+------------------------------------------------------+
|
||||||
| char *captab[] = { : Cap's/Delim's |
|
| char *captab[] = { : Cap's/Delim's |
|
||||||
| Cap_norm, Cap_norm, = \00, \01, |
|
| Cap_norm, Cap_norm, = \000, \001, |
|
||||||
| cap_bold, capclr_sum, = \02, \03, |
|
| cap_bold, capclr_sum, = \002, \003, |
|
||||||
| capclr_msg, capclr_pmt, = \04, \05, |
|
| capclr_msg, capclr_pmt, = \004, \005, |
|
||||||
| capclr_hdr, = \06, |
|
| capclr_hdr, = \006, |
|
||||||
| capclr_rowhigh, = \07, |
|
| capclr_rowhigh, = \007, |
|
||||||
| capclr_rownorm }; = \10 [octal!] |
|
| capclr_rownorm }; = \010 [octal!] |
|
||||||
+------------------------------------------------------+ */
|
+------------------------------------------------------+ */
|
||||||
/* ( pssst, after adding the termcap transitions, row may )
|
/* ( pssst, after adding the termcap transitions, row may )
|
||||||
( exceed 300+ bytes, even in an 80x24 terminal window! ) */
|
( exceed 300+ bytes, even in an 80x24 terminal window! ) */
|
||||||
@ -1208,9 +1208,9 @@ static FLD_t Fieldstab[] = {
|
|||||||
/* .head + .fmts anomolies:
|
/* .head + .fmts anomolies:
|
||||||
entries shown with NULL are either valued at runtime (see zap_fieldstab)
|
entries shown with NULL are either valued at runtime (see zap_fieldstab)
|
||||||
or, in the case of .fmts, may represent variable width fields
|
or, in the case of .fmts, may represent variable width fields
|
||||||
.dsc anomolies:
|
.desc anomolies:
|
||||||
the .desc field is always null initially, under nls support
|
the .desc field is always null initially, under nls support
|
||||||
.lflg anomolies: NULL .
|
.lflg anomolies:
|
||||||
P_UED, L_NONE - natural outgrowth of 'stat()' in readproc (euid)
|
P_UED, L_NONE - natural outgrowth of 'stat()' in readproc (euid)
|
||||||
P_CPU, L_stat - never filled by libproc, but requires times (pcpu)
|
P_CPU, L_stat - never filled by libproc, but requires times (pcpu)
|
||||||
P_CMD, L_stat - may yet require L_CMDLINE in calibrate_fields (cmd/cmdline)
|
P_CMD, L_stat - may yet require L_CMDLINE in calibrate_fields (cmd/cmdline)
|
||||||
|
@ -33,7 +33,7 @@ extern const char *Norm_nlstab[];
|
|||||||
extern const char *Uniq_nlstab[];
|
extern const char *Uniq_nlstab[];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Simle optional macros to ease table access.
|
* Simple optional macros to ease table access.
|
||||||
* The N_txt and N_fmt macros are interchangeable but
|
* The N_txt and N_fmt macros are interchangeable but
|
||||||
* highlight the two types of strings found in Norm_nlstable.
|
* highlight the two types of strings found in Norm_nlstable.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user