* top: added long versions of command line options
* top: the time related fields can now be user scaled
* top: added a 'start time' field (STARTED)
+ * top: column highlighting allowed under 'L' or 'O'
procps-ng-3.3.17
1) there is insufficient\fI Screen Width \fR
2) the `f' \*(CI turned it \*F
-\*(NT Whenever Searching and/or Other Filtering is active in a window,
-column highlighting is temporarily disabled.
-\*(XC notes at the end of topics 5d. SEARCHING and 5e. FILTERING for an
-explanation why.
-
.TP 7
\ \ \ \fBy\fR\ \ :\fIRow-Highlight\fR toggle \fR
Changes highlighting for "running" tasks.
The above \*(CIs are\fB always\fR available in \*(FM but\fB never\fR
available in \*(AM if the \*(CW's \*(TD has been toggled \*F.
-\*(NT Whenever a Search is active in a window, \*(We will turn
-column highlighting \*F to prevent false matches on internal non-display
-escape sequences.
-Such highlighting will be restored when a window's search string is empty.
-\*(XC `x' \*(CI for additional information on sort column highlighting.
-
.\" ......................................................................
.SS 5e. FILTERING in a Window
.\" ----------------------------------------------------------------------
.fi
.RS -3
-\*(NT Whenever Other Filtering is active in a window, \*(We will turn
-column highlighting \*F to prevent false matches on internal non-display
-escape sequences.
-Such highlighting will be restored when a window is no longer subject
-to filtering.
-\*(XC `x' \*(CI for additional information on sort column highlighting.
-.RE
-
.\" ----------------------------------------------------------------------
.SH 6. FILES
.\" ----------------------------------------------------------------------
}
q->osel_tot = 0;
q->osel_1st = NULL;
-#ifndef USE_X_COLHDR
- OFFw(q, NOHISEL_xxx);
-#endif
} // end: osel_clear
if (&w->rc.fieldscur[n] != strrchr(w->rc.fieldscur, w->rc.fieldscur[n]))
return p;
}
-#ifndef USE_X_COLHDR
- OFFw(w, NOHIFND_xxx | NOHISEL_xxx);
-#endif
} // end: for (GROUPSMAX)
// any new addition(s) last, for older rcfiles compatibility...
osel_clear(q);
q->findstr[0] = '\0';
-#ifndef USE_X_COLHDR
- // NOHISEL_xxx is redundant (already turned off by osel_clear)
- OFFw(q, NOHIFND_xxx | NOHISEL_xxx);
-#endif
q->rc.combine_cpus = 0;
} // end: win_reset
snprintf(Curwin->findstr, FNDBUFSIZ, "%s", str);
Curwin->findlen = strlen(Curwin->findstr);
found = 0;
-#ifndef USE_X_COLHDR
- if (Curwin->findstr[0]) SETw(Curwin, NOHIFND_xxx);
- else OFFw(Curwin, NOHIFND_xxx);
-#endif
}
if (Curwin->findstr[0]) {
SETw(Curwin, NOPRINT_xxx);
show_msg(p);
return;
}
-#ifndef USE_X_COLHDR
- SETw(w, NOHISEL_xxx);
-#endif
break;
case kbd_CtrlO:
if (VIZCHKw(w)) {
TOGw(w, Show_HICOLS);
capsmk(w);
#else
- if (ENUviz(w, w->rc.sortindx)
- && !CHKw(w, NOHIFND_xxx | NOHISEL_xxx)) {
+ if (ENUviz(w, w->rc.sortindx)) {
TOGw(w, Show_HICOLS);
if (ENUpos(w, w->rc.sortindx) < w->begpflg) {
if (CHKw(w, Show_HICOLS)) w->begpflg += 2;
switch (i) {
#ifndef USE_X_COLHDR
// these 2 aren't real procflgs, they're used in column highlighting!
- case EU_XON:
case EU_XOF:
+ case EU_XON:
cp = NULL;
- if (!CHKw(q, NOPRINT_xxx | NOHIFND_xxx | NOHISEL_xxx)) {
+ if (!CHKw(q, NOPRINT_xxx)) {
/* treat running tasks specially - entire row may get highlighted
so we needn't turn it on and we MUST NOT turn it off */
if (!('R' == p->state && CHKw(q, Show_HIROWS)))
// these flag(s) have no command as such - they're for internal use
#define NOPRINT_xxx 0x010000 // build task rows only (not for display)
#define EQUWINS_xxx 0x000001 // rebalance all wins & tasks (off i,n,u/U)
-#ifndef USE_X_COLHDR
-#define NOHISEL_xxx 0x200000 // restrict Show_HICOLS for osel temporarily
-#define NOHIFND_xxx 0x100000 // restrict Show_HICOLS for find temporarily
-#endif
// Default flags if there's no rcfile to provide user customizations
#ifdef ORIG_TOPDEFS