delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/17/17:09:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Hannu E K Nevalainen" <garbage_collector AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: bashrc
Date: Thu, 17 Jun 2004 23:08:20 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEGEJEDLAA.garbage_collector@telia.com>
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.58.0406171333570.3356@slinky.cs.nyu.edu>

> From: Igor Pechtchanski
> Sent: Thursday, June 17, 2004 7:37 PM

> On Thu, 17 Jun 2004, Chris W wrote:
>
> > Hannu E K Nevalainen wrote:
> >
> > >Type this at the bash prompt;
> > >$ MANPAGER="${MANPAGER}p ^INVOCATION" man bash
> > >and hit enter.
> >
> > What is that supposed to do?  All I get is an error.

 Heh, there I get for trying ;-P

Did you copy and paste the line above, as is?
 Re-typing is awkward, you often miss one or two characters - often cruicial
for the result.

> That's supposed to show you the part of the bash manpage dealing with
> invocation.  However, it makes an assumption that you have MANPAGER
> defined, which you probably don't.

Yes indeed; I expected $MANPAGER to be set to something meaningful. (Might
it be that this is the default?)

> > p: not found
> > Error executing formatting or display command.
> > System command (cd "/usr/share/man" && (echo ".pl 1100i"; /usr/bin/cat
> > '/usr/share/man/man1/bash.1'; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl
> > | /usr/bin/nroff -c -mandoc | p ^INVOCATION) exited with status 32512.
> > No manual entry for bash

> Try this instead:
> $ MANPAGER='/usr/bin/less -isrRp ^INVOCATION' man bash
> HTH,

... which is exactly what I got out of the above. Well, thanks to Igor (once
again) we're back on track :-)


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E             --76-->

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019