Re: How to test a manpage? ‘nroff -man | less’ does not display like ‘man’.

2010-07-14 Thread Daniel Leidert
Am Mittwoch, den 14.07.2010, 15:48 +0200 schrieb Manuel A. Fernandez Montecelo: > On Wednesday 14 July 2010 06:50:57 Charles Plessy wrote: [..] > > The workaround I found was to copy the new manpage in /tmp/man/man1, and > > call ‘man -M /tmp/man samtools’. Does anybody know how a more convenient >

Re: How to test a manpage? ‘nroff -man | less’ does not display like ‘man’.

2010-07-14 Thread Manuel A. Fernandez Montecelo
Hi Charles, On Wednesday 14 July 2010 06:50:57 Charles Plessy wrote: > Dear all, > > before updating a package, I wanted to look at the new upstream manpage, > but realised that ‘nroff -man’ does not produce the same output as ‘man’ > itself. Let's take the example of samtools(1) from the samtool

Re: How to test a manpage? ‘nroff -man | less’ does not display like ‘man’.

2010-07-14 Thread Michael Tokarev
14.07.2010 13:14, Roger Leigh wrote: > On Wed, Jul 14, 2010 at 08:57:12AM +0200, Luca Falavigna wrote: >> Il 14/07/2010 6.50, Charles Plessy ha scritto: >>> Does anybody know how a more convenient to display a >>> manpage the same way as users will get it by using ‘man’ ? >> >> groff -T ascii -man

Re: How to test a manpage? ‘ nroff -man | less’ does not display like ‘man ’.

2010-07-14 Thread Roger Leigh
On Wed, Jul 14, 2010 at 08:57:12AM +0200, Luca Falavigna wrote: > Il 14/07/2010 6.50, Charles Plessy ha scritto: > > Does anybody know how a more convenient to display a > > manpage the same way as users will get it by using ‘man’ ? > > groff -T ascii -man > zcat /usr/share/man/manX/XXX | groff -

Re: How to test a manpage? ‘nroff -man | less’ does not display like ‘man’.

2010-07-14 Thread Michael Tokarev
14.07.2010 09:01, Russ Allbery wrote: [] > You can just run man directly on the *roff file, but if you want to stick > with the zcat pipeline, just add the -t flag to nroff to say to run the > output through the tbl preprocessor first. This is the most close of all suggestions. But even closer is

Re: How to test a manpage? ‘nroff -man | less’ does not display like ‘man’.

2010-07-13 Thread Luca Falavigna
Il 14/07/2010 6.50, Charles Plessy ha scritto: > Does anybody know how a more convenient to display a > manpage the same way as users will get it by using ‘man’ ? groff -T ascii -man zcat /usr/share/man/manX/XXX | groff -T ascii -m man -- .''`. : :' : Luca Falavigna `. `' `- signa

Re: How to test a manpage? ‘nroff -man | less’ does not display like ‘man’ .

2010-07-13 Thread Russ Allbery
Charles Plessy writes: > before updating a package, I wanted to look at the new upstream manpage, > but realised that ‘nroff -man’ does not produce the same output as ‘man’ > itself. Let's take the example of samtools(1) from the samtools > package. > With ‘man samtools’, users can see tables l