Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: bashrc Date: Thu, 17 Jun 2004 23:08:20 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: > 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/