How to change background color of FreeBSD terminal

Yes. From csh, this (edited) works:
... using sh just to get sh's builtin echo ...
Icky. In that case, I would suggest embedding the escape character in the command or script, by using the appropriate quote character (control-V for both shells at the command line, if you're editing a script whatever editor you're using, control-Q in emacs).

How do I turn it off? No idea. Try all possible values of "4" in the command?
 
Icky. In that case, I would suggest embedding the escape character in the command or script, by using the appropriate quote character (control-V for both shells at the command line, if you're editing a script whatever editor you're using, control-Q in emacs).

Nothing icky about using
sh -c 'sh command/s'
where appropriate, from another shell.

I mostly use that when avoiding csh's (admittedly icky) stderr redirections, such as

sh -c 'somecommand >somefile 2>/dev/null'

How do I turn it off? No idea. Try all possible values of "4" in the command?

I was about to say I only know one value of 4 :) while hinting for the right manual, but this works even in vt(4):

% vidcontrol lightwhite black
 
Back
Top