From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5565 invoked from network); 5 Jan 2004 16:57:01 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Jan 2004 16:57:01 -0000 Received: (qmail 1127 invoked by alias); 5 Jan 2004 16:56:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6978 Received: (qmail 1061 invoked from network); 5 Jan 2004 16:56:34 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 Jan 2004 16:56:34 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [63.249.88.2] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 Jan 2004 16:56:34 -0000 Received: by binome.blorf.net (Postfix, from userid 1000) id 373DD2CF1; Mon, 5 Jan 2004 08:31:15 -0800 (PST) Date: Mon, 5 Jan 2004 08:31:15 -0800 From: Wayne Davison To: Richard Jolly Cc: zsh-users@sunsite.dk Subject: Re: (Newbie) perldoc ESC display trouble Message-ID: <20040105163115.GA4482@blorf.net> References: <469321.1073314375714.JavaMail.richardjolly@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <469321.1073314375714.JavaMail.richardjolly@mac.com> User-Agent: Mutt/1.5.4i 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..