Date: Sat, 1 Nov 2008 13:40:46 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern tty.c src/usr.sbin/pstat pstat.c Message-ID: <200811011344.mA1Di7Z5066992@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2008-11-01 13:40:46 UTC
FreeBSD src repository
Modified files:
sys/kern tty.c
usr.sbin/pstat pstat.c
Log:
SVN rev 184522 on 2008-11-01 13:40:46Z by ed
Clamp the values of t_column to 5 digits in `pstat -t' and `show all ttys'.
We often run into these very high column numbers when we run curses
applications, because they don't print any newlines. This messes up the
table output of `pstat -t'. If these numbers get really high, they
aren't of any use to the reader anyway. Convert them to `99999' when
they run out of bounds.
Revision Changes Path
1.297 +1 -1 src/sys/kern/tty.c
1.107 +1 -1 src/usr.sbin/pstat/pstat.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811011344.mA1Di7Z5066992>
