From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16381 invoked from network); 5 Jan 2004 15:03:41 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Jan 2004 15:03:41 -0000 Received: (qmail 28421 invoked by alias); 5 Jan 2004 15:03:20 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6977 Received: (qmail 28400 invoked from network); 5 Jan 2004 15:03:19 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 Jan 2004 15:03:19 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [213.154.224.1] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 Jan 2004 15:3:18 -0000 Received: from elektron.atoom.net (f52166.upc-f.chello.nl [80.56.52.166]) by open.nlnetlabs.nl (8.12.10/8.12.8) with ESMTP id i05F3EaQ099552 for ; Mon, 5 Jan 2004 16:03:14 +0100 (CET) (envelope-from miekg@atoom.net) Received: from elektron.atoom.net (localhost [127.0.0.1]) by elektron.atoom.net (8.12.10/8.12.10/Debian-6) with ESMTP id i05F3EGg031424 for ; Mon, 5 Jan 2004 16:03:14 +0100 Received: (from miekg@localhost) by elektron.atoom.net (8.12.10/8.12.10/Debian-6) id i05F3E9T031423 for zsh-users@sunsite.dk; Mon, 5 Jan 2004 16:03:14 +0100 Date: Mon, 5 Jan 2004 16:03:14 +0100 From: Miek Gieben To: zsh-users@sunsite.dk Subject: Re: (Newbie) perldoc ESC display trouble Message-ID: <20040105150314.GC31271@atoom.net> Mail-Followup-To: zsh-users@sunsite.dk 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: Vim/Mutt/Linux X-Home: www.miek.nl X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on open.nlnetlabs.nl X-Virus-Scanned: by amavisd-new [On 05 Jan, @15:52, Richard wrote in "(Newbie) perldoc ESC display t ..."] > Hi, > > 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. > > For example: > > > perldoc Getopt::Long > Getopt::Long(3) User Contributed Perl Documentation Getopt::Long(3) > > > > ESC[1mNAMEESC[0m > Getopt::Long - Extended processing of command line options > > ESC[1mSYNOPSISESC[0m > > > The escaped sections should be dispalyed as bold. > > Any suggestions, pointers to documentation, etc, very welcome, maybe you should check the value of the TERM variable? Don't know if cygwin uses that though. Maybe the current TERM cannot handle the escape sequences? I had the same problem (with bash on Linux), I gave up and now i'm just exporting PERLDOC=-t with which everything is just in plain text, regards, Miek