tags 166701 fixed-upstream
thanks

On Sat, Aug 16, 2003 at 02:41:02PM +0100, Colin Watson wrote:
> On Sun, Mar 09, 2003 at 12:08:47PM +0000, Colin Watson wrote:
> > I asked the groff mailing list about this, and Ralph Corderoy had the
> > neat idea of calling .nh and then redefining .hy to do nothing. Since
> > the .hy number register is read-only, I think that prevents man pages
> > turning it back on.
> > 
> > If this turns out to be feasible to implement in man-db, I'll bounce
> > this back there and do it.
> 
> This is now waiting until my pubescent pipeline-execution and
> decompression libraries grow enough hair to be able to deal with this
> sort of thing. The former is getting there and mostly just lacks testing
> now, but the latter still has a lot of growing up to do.

I've finally done this for man-db 2.5.4, and indeed now that the proper
infrastructure is in place it turned out to be really easy:

Sat Dec 27 00:00:01 GMT 2008  Colin Watson  <cjwat...@debian.org>

        Add option to disable hyphenation (Debian bug #166701).

        * src/man.c (options, parse_opt): Accept --no-hyphenation. Reset
          corresponding variable with -D.
          (disable_hyphenation): New function.
          (display): Append disable_hyphenation to the decompressor pipeline
          if --no-hyphenation is used.
        * man/man1/man.man1 (SYNOPSIS, Controlling formatted output):
          Document --no-hyphenation.

Thanks for the idea,

-- 
Colin Watson                                       [cjwat...@debian.org]



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to