]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Do not truncate office phones in finger's summary listing
authorlidl <lidl@FreeBSD.org>
Mon, 14 Mar 2016 22:20:22 +0000 (22:20 +0000)
committerlidl <lidl@FreeBSD.org>
Mon, 14 Mar 2016 22:20:22 +0000 (22:20 +0000)
commit33eb7d8e7fd01d6b104123f8572accc532773305
treebed7e24987d9f3e98bbc6fcbe518d801d0032ea1
parent94a163b617efbd9e7c640cdb9221cbfa037cfada
Do not truncate office phones in finger's summary listing

When finger is invoked as as "finger username", it produces the
long listing by default, and phones numbers are pretty-printed
by the prphone() function. When invoked as just "finger", the
same pretty-printing happens, but is truncated at 9 characters.
Given the summary listing is already greater than 80 columns,
making it even wider is of no harm.

Approved by: rpaulo (mentor)
Differential Revision: https://reviews.freebsd.org/D5638
usr.bin/finger/sprint.c