Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh tips plea (tip of the day)



On 2004-07-23 17:02:11 -0500, Dan Nelson wrote:
> You could also use $termcap[me] (or $terminfo[exit_attribute_mode] if

or $terminfo[sgr0]

> you like typing), which will turn off colors, boldface, etc as well as
> being more portable.  ^O is only a control character on some terminals;
> on others it's a printable character.

OK, so, that would be:

  print -n "$terminfo[rmacs]$terminfo[sgr0]"

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author