Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh tips plea (tip of the day)
- X-seq: zsh-users 7751
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: zsh tips plea (tip of the day)
- Date: Sat, 24 Jul 2004 09:14:54 +0200
- In-reply-to: <20040723220211.GA9058@xxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <bfs1g0phq8ojapt75pdnc19scq816grdhv@xxxxxxx> <20040723125246.Y326@willy_wonka> <20040723200401.GL7828@xxxxxxxxxxxxx> <87llhatqua.fsf@xxxxxxxxxxxxxxxx> <20040723202619.GN7828@xxxxxxxxxxxxx> <87hdrytng1.fsf@xxxxxxxxxxxxxxxx> <20040723215034.GQ7828@xxxxxxxxxxxxx> <20040723220211.GA9058@xxxxxxxxxxxxxxxx>
- Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
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