[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: man files to text editor



On Thu, Dec 18, 2003 at 12:47:35PM +0000, Colin Watson wrote:
> On Thu, Dec 18, 2003 at 02:14:48AM +0100, Jan Minar wrote:
> > On Thu, Dec 18, 2003 at 12:50:54AM +0000, Colin Watson wrote:
> > > On Thu, Dec 18, 2003 at 12:41:41AM +0000, Colin Watson wrote:
> > > > The '--pager cat' continues to be unnecessary here; $COLUMNS is still
> > > > honoured. I prefer using the special-purpose $MANWIDTH for this, though.
> > > > 
> > > > Narrowing the page does work even if man's output is a terminal.
> > > 
> > > Looking at the code, a clarification: narrowing the page works if you
> > > use $MANWIDTH to do it, but not if you use $COLUMNS. It might be
> > 
> > Neither works; man-db 2.3.20-18.woody.4.
> 
> Make sure you have no saved cat pages and try again? (A different line
> length *should* bypass cat pages, but ...)

| $ ls /var/cache/man/cat1/
| pon.1.gz
| vlock.1.gz
| zsh.1.gz
| $ COLUMNS=30 man man
| [Standard-width appears]
| $ COLUMNS=30 man man | less
| [Yes, now it's 30-column wide]

Attachment: pgpGrQsHPXy2S.pgp
Description: PGP signature


Reply to: