From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16037 invoked from network); 6 Jan 2004 16:06:54 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 6 Jan 2004 16:06:54 -0000 Received: (qmail 15532 invoked by alias); 6 Jan 2004 16:06:32 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6985 Received: (qmail 15463 invoked from network); 6 Jan 2004 16:06:32 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 6 Jan 2004 16:06:32 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [17.250.248.47] by sunsite.dk (MessageWall 1.0.8) with SMTP; 6 Jan 2004 16:6:31 -0000 Received: from webmail30-en1.mac.com (webmail30-en1 [10.13.10.130]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id i06G6UNX018876; Tue, 6 Jan 2004 08:06:30 -0800 (PST) Received: from webmail30 (localhost.mac.com [127.0.0.1]) by webmail30-en1.mac.com (8.12.6/8.12.6) with ESMTP id i06G6UFn007596; Tue, 6 Jan 2004 08:06:30 -0800 (PST) Message-ID: <14648408.1073405190018.JavaMail.richardjolly@mac.com> Date: Tue, 06 Jan 2004 16:06:30 +0000 From: Richard Jolly To: Wayne Davison Subject: Re: (Newbie) perldoc ESC display trouble Cc: zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Monday, January 05, 2004, at 04:31PM, Wayne Davison wrote: >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 Thanks - this works perfectly. I like the window scrolling adjustment as well. Much appreciated, Richard >..wayne..