rc-status should be able to display without color as this function is inheritet from functions.sh. Instead it'll display an error. genie # rc-status --nocolor /bin/rc-status: line 31: let: COLS=25 80 - 7: syntax error in expression (error token is "80 - 7") Please find a small patch for baselayout attached to fix that behaviour.
Created attachment 40002 [details] Patch for /sbin/functions.sh and /bin/rc-status to correct nocolor output
i already fixed the COLS in cvs a day or two ago ;) i added the --nocolor thing too, thanks
The color-patch is out now, but the "-nc" option for rc-status has no effect since it is not handled inside functions.sh. Non colored output is only achived by issueing "--nocolor" to rc-status. Could you just remove the "-nc" option in rc-status, as well as in the syntax howto part. The "--nocolor" option itself is used by other scripts too, and doesn't really need a shortcut like "-nc". Thanks, Andy.
added -nc next to --nocolor in functions.sh