Date: Sun, 09 Sep 2012 19:56:29 -0500 From: Bryan Drewery <bryan@shatow.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: eadler@FreeBSD.org Subject: bin/171514: [PATCH] [usr.bin/man] Make man(1) default to use full screen if using a tty Message-ID: <20120910005633.A9EAF1065678@hub.freebsd.org> Resent-Message-ID: <201209100100.q8A108bc062513@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171514 >Category: bin >Synopsis: [PATCH] [usr.bin/man] Make man(1) default to use full screen if using a tty >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 10 01:00:08 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Bryan Drewery >Release: FreeBSD 8.3-RELEASE i386 >Organization: >Environment: >Description: r222635 added support for MANWIDTH=tty which makes man(1) use the full screen if ran in a TTY. Make this the default, if MANWIDTH is not already set and not set to null. >How-To-Repeat: >Fix: --- patch-man-default-MANWIDTH-tty.txt begins here --- # svn status M usr.bin/man/man.sh Index: usr.bin/man/man.sh =================================================================== --- usr.bin/man/man.sh (revision 240291) +++ usr.bin/man/man.sh (working copy) @@ -576,7 +576,7 @@ local sizes unset use_width - case "$MANWIDTH" in + case "${MANWIDTH-tty}" in [0-9]*) if [ "$MANWIDTH" -gt 0 2>/dev/null ]; then use_width=$MANWIDTH --- patch-man-default-MANWIDTH-tty.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120910005633.A9EAF1065678>