Bug 220300

Summary: man.sh: accept negative MANWIDTH
Product: Base System Reporter: TEUBEL György <tgyurci>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People Keywords: patch
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Description Flags
patch for negative MANWIDTH none

Description TEUBEL György 2017-06-27 09:13:40 UTC
Created attachment 183834 [details]
patch for negative MANWIDTH

Accept negative MANWIDTH value in man.sh. In that case the width will be the screen width minus MANWIDTH.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2018-05-23 11:05:49 UTC
Do any other systems implement this? I'm not inherently opposed, it just doesn't seem like obvious behavior to have negative width imply a margin.
Comment 2 TEUBEL György 2018-05-23 15:36:24 UTC
I don't know whether other man implementations supports this (probably no).  I intended the meaning of the negative value is to count from the other (right) side.