.
.\" Document /////////////////////////////////////////////////////////////
.\" ----------------------------------------------------------------------
-.TH TOP 1 "November 2012" "procps-ng" "User Commands"
+.TH TOP 1 "January 2013" "procps-ng" "User Commands"
.\" ----------------------------------------------------------------------
.\" ----------------------------------------------------------------------
filtering \*F to ensure that every task is encountered.
\*(XC 'i' and 'u/U' \*(CIs for additional information on how displayed tasks
might be filtered.
+Additionally, \*(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.
.\" ----------------------------------------------------------------------
.SH 6. FILES
goto default_or_error;
break;
}
+#ifndef USE_X_COLHDR
+ OFFw(w, NOHICOL_xxx);
+#endif
} // end: for (GROUPSMAX)
// any new addition(s) last, for older rcfiles compatibility...
snprintf(Curwin->findstr, FNDBUFSIZ, "%s", linein(N_txt(GET_find_str_txt)));
Curwin->findlen = strlen(Curwin->findstr);
found = 0;
+#ifndef USE_X_COLHDR
+ if (Curwin->findstr[0]) SETw(Curwin, NOHICOL_xxx);
+ else OFFw(Curwin, NOHICOL_xxx);
+#endif
}
if (Curwin->findstr[0]) {
SETw(Curwin, INFINDS_xxx);
case X_XON:
case X_XOF:
cp = NULL;
- if (!CHKw(q, INFINDS_xxx)) {
+ if (!CHKw(q, INFINDS_xxx | NOHICOL_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 INFINDS_xxx 0x010000 // build rows for find_string, not display
#define EQUWINS_xxx 0x000001 // rebalance all wins & tasks (off i,n,u/U)
+#ifndef USE_X_COLHDR
+#define NOHICOL_xxx 0x100000 // must restrict Show_HICOLS temporarily
+#endif
// Default flags if there's no rcfile to provide user customizations
#define DEF_WINFLGS ( View_LOADAV | View_STATES | View_CPUSUM | View_MEMORY \