zsh-users
 help / color / mirror / code / Atom feed
From: Miek Gieben <miekg@atoom.net>
To: zsh-users@sunsite.dk
Subject: Re: (Newbie) perldoc ESC display trouble
Date: Mon, 5 Jan 2004 16:03:14 +0100	[thread overview]
Message-ID: <20040105150314.GC31271@atoom.net> (raw)
In-Reply-To: <469321.1073314375714.JavaMail.richardjolly@mac.com>

[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


  reply	other threads:[~2004-01-05 15:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-05 14:52 Richard Jolly
2004-01-05 15:03 ` Miek Gieben [this message]
2004-01-05 16:31 ` Wayne Davison
2004-01-06 16:06 Richard Jolly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040105150314.GC31271@atoom.net \
    --to=miekg@atoom.net \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).