Signed-off-by: Jim Warner <james.warner@comcast.net>
if (str) {
fputs(str, stderr);
- exit(1);
+ exit(EXIT_FAILURE);
}
putp("\n");
- exit(0);
+ exit(EXIT_SUCCESS);
} // end: bye_bye
so we must try to get our own darn ch by begging the user... */
if (!ch) {
show_pmt(N_txt(CHOOSE_group_txt));
- if (1 > chin(0, (char *)&ch, 1)) return Curwin;
+ if (1 > chin(0, (char *)&ch, 1)) return w;
}
switch (ch) {
case 'a': // we don't carry 'a' / 'w' in our
#ifndef WARN_CFG_OFF
if (Rc_converted) {
- show_pmt(N_fmt(XTRA_warncfg_txt));
+ show_pmt(N_txt(XTRA_warncfg_txt));
if ('y' != tolower(keyin(0)))
return;
Rc_converted = 0;
#define Show_FOREST 0x000002 // 'V' - show cmd/cmdlines with ascii art
#define Qsrt_NORMAL 0x000004 // 'R' - reversed column sort (high to low)
// these flag(s) have no command as such - they're for internal use
-#define EQUWINS_xxx 0x000001 // rebalance all wins & tasks (off 'i'/ 'n')
+#define EQUWINS_xxx 0x000001 // rebalance all wins & tasks (off i,n,u/U)
// Default flags if there's no rcfile to provide user customizations
#define DEF_WINFLGS ( View_LOADAV | View_STATES | View_CPUSUM | View_MEMORY \