Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: (Newbie) perldoc ESC display trouble
- X-seq: zsh-users 6978
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Richard Jolly <richardjolly@xxxxxxx>
- Subject: Re: (Newbie) perldoc ESC display trouble
- Date: Mon, 5 Jan 2004 08:31:15 -0800
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <469321.1073314375714.JavaMail.richardjolly@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <469321.1073314375714.JavaMail.richardjolly@xxxxxxx>
On Mon, Jan 05, 2004 at 02:52:55PM +0000, Richard Jolly wrote:
> I've recently switched to zsh on cygwin. I get display trouble in the
> form of expanded escape characters, ie ESC[1m Some Text [0m, when
> using perldoc.
Perldoc is running "less", which defaults to displaying the control
characters visibly. It needs the -R option to allow it to display ANSI
control sequences directly to the terminal. You can type the option
after perldoc/less is running to test that this fixes the problem for
you, and then set it in your environment in your .zshrc (and set a few
other options while you're at it) for a permanent solution:
export LESS=mqeisz-2XR
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author