/etc/tmac.man.local snippet - `man' output as one long Scroll.

2000-05-23 Thread Karl M. Hegbloom

 I find it annoying that when I view a man page from either the
 emacsen or on a tty, it is broken into pages, when it should really
 be one long scroll.  If you add the following snippet to your
 /etc/tmac.man.local, the `man' pages will no longer be paginated.
 For postscript output, it will still be paginated.  Make sure you
 don't leave any blank lines in the file, or they will show up in the
 output.

 I've filed a wishlist bug against `man-db', so perhaps this will
 become part of our `man' package in the future.

   For /etc/tmac.man.local:
88
.\ The following block appends a section to the title header macro.
.\ If we are in `nroff' mode, which is what is used to produce ascii
.\ or latin1 output from a man page source, then turn off hyphenation,
.\ so that in emacs the highlights in man page references don't have
.\ to try and cross lines, and undefine the traps that execute at the
.\ top and bottom of the pages, then print the heading here, since a
.\ trap used to do that.  This effectively causes `man' output to
.\ appear all on one long scroll, rather than paginated.
.\
.am TH
.if n \{\
.  nh
.  wh 0
.  wh -1i
.  wh -.5i
.  an-header
.\}
..
88

 I must thanks Dominic Dunlop, who replied to my USENET query about
 this, for showing me how to make this work.

-- 
mailto: [EMAIL PROTECTED] (Karl M. Hegbloom)



Re: /etc/tmac.man.local snippet - `man' output as one long Scroll.

2000-05-23 Thread Matthew Wilson Emmett

Cool!  Thanks, I've been annoyed at the very same thing.

Matt

[EMAIL PROTECTED] (Karl M. Hegbloom) writes:

  I find it annoying that when I view a man page from either the
  emacsen or on a tty, it is broken into pages, when it should really
  be one long scroll.  If you add the following snippet to your
  /etc/tmac.man.local, the `man' pages will no longer be paginated.
  For postscript output, it will still be paginated.  Make sure you
  don't leave any blank lines in the file, or they will show up in the
  output.
 
  I've filed a wishlist bug against `man-db', so perhaps this will
  become part of our `man' package in the future.
 
For /etc/tmac.man.local:
 88
 .\ The following block appends a section to the title header macro.
 .\ If we are in `nroff' mode, which is what is used to produce ascii
 .\ or latin1 output from a man page source, then turn off hyphenation,
 .\ so that in emacs the highlights in man page references don't have
 .\ to try and cross lines, and undefine the traps that execute at the
 .\ top and bottom of the pages, then print the heading here, since a
 .\ trap used to do that.  This effectively causes `man' output to
 .\ appear all on one long scroll, rather than paginated.
 .\
 .am TH
 .if n \{\
 .  nh
 .  wh 0
 .  wh -1i
 .  wh -.5i
 .  an-header
 .\}
 ..
 88
 
  I must thanks Dominic Dunlop, who replied to my USENET query about
  this, for showing me how to make this work.
 
 -- 
 mailto: [EMAIL PROTECTED] (Karl M. Hegbloom)
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null