zsh-users
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayned@users.sourceforge.net>
To: Richard Jolly <richardjolly@mac.com>
Cc: zsh-users@sunsite.dk
Subject: Re: (Newbie) perldoc ESC display trouble
Date: Mon, 5 Jan 2004 08:31:15 -0800	[thread overview]
Message-ID: <20040105163115.GA4482@blorf.net> (raw)
In-Reply-To: <469321.1073314375714.JavaMail.richardjolly@mac.com>

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..


  parent reply	other threads:[~2004-01-05 16:57 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
2004-01-05 16:31 ` Wayne Davison [this message]
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=20040105163115.GA4482@blorf.net \
    --to=wayned@users.sourceforge.net \
    --cc=richardjolly@mac.com \
    --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).