how to force end-of-line in man page source

Fbsd1 fbsd1 at a1poweruser.com
Thu May 13 00:43:10 UTC 2010


Thomas Dickey wrote:
> On Tue, May 11, 2010 at 01:36:20PM +0800, Fbsd1 wrote:
>> I don't like the way some lines in the man page have the last word in 
>> the sentence broken in 2 and hyphenated. Is there some escape code I can 
>> put at the end of the line in the source code to suppress this?
> 
> You can generally override the hyphenation mode with
> 
> .hy 0
> 
Thank You very much.
That works.
But it is only in effect for one section header .Sh command.
I added the .hy 0 (0 is zero) command after each .Sh command in the man 
page and it looks so much better now.


More information about the freebsd-questions mailing list