Re: "/etc/tmac.man.local" snippet - `man' output as one long Scroll.
Cool! Thanks, I've been annoyed at the very same thing.
Matt
karlheg@bittersweet.inetarena.com (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":
> 8<------------------------------------------------------------>8
> .\" 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
> .\}
> ..
> 8<------------------------------------------------------------>8
>
> I must thanks Dominic Dunlop, who replied to my USENET query about
> this, for showing me how to make this work.
>
> --
> mailto: karlheg@debian.org (Karl M. Hegbloom)
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: