Re: infinite displays in top

2013-12-12 Thread patrick keshishian
On Fri, Dec 13, 2013 at 01:15:39AM -0500, Ted Unangst wrote: > I would like to be able to ask for an infinite number of updates in > top even in noninteractive mode. top -d 9 doesn't cut it. Umm... `top -bd inf' works for me. See atoiwi() in utils.c. Cheers, --patrick > Allow -1 to spe

infinite displays in top

2013-12-12 Thread Ted Unangst
I would like to be able to ask for an infinite number of updates in top even in noninteractive mode. top -d 9 doesn't cut it. Allow -1 to specify infinity. Index: top.c === RCS file: /cvs/src/usr.bin/top/top.c,v retrieving re

Re: Garbage-collect struct ttysize

2013-12-12 Thread Todd C. Miller
On Thu, 12 Dec 2013 23:20:55 +0100, Christian Weisgerber wrote: > Earlier today I found myself patching struct winsize to ttysize in > a port, because I had been confused by into thinking > OpenBSD had the latter instead of the former. Ugh. Heh, the same thing happened to me with sudo. > I thi

Re: Small fixup for smtpd.conf.5

2013-12-12 Thread Brett Mahar
| Well, deliver to mda has exactly the same issue. I'd say that format | specifiers could use their own subsection. | | While here I propose to replace \&" by \(dq, as advised by | mandoc_char(7). This has the nice property of not fscking up the | display of your too-smart-for-its-own-good edi

Re: Small fixup for smtpd.conf.5

2013-12-12 Thread Jérémie Courrèges-Anglas
Brett Mahar writes: > Hi, Hi, > This points me in the right direction so I'm less confused. > > ok? Well, deliver to mda has exactly the same issue. I'd say that format specifiers could use their own subsection. While here I propose to replace \&" by \(dq, as advised by mandoc_char(7). This

Re: Remove 4.3BSD tty compatibility, take 2

2013-12-12 Thread Todd C. Miller
On Thu, 12 Dec 2013 22:03:53 +, Christian Weisgerber wrote: > make build, release, and xenocara are fine. > Full ports build done and remaining fallout fixed. > > Any okays? OK millert@ - todd

Re: Remove 4.3BSD tty compatibility, take 2

2013-12-12 Thread Todd C. Miller
On Tue, 10 Dec 2013 14:49:26 -0700, Theo de Raadt wrote: > > > Noticed TIOCGSID in that list. Don't think that is a 4.3 compat > > > ioctl. Rather a System V compat ioctl. > > > > Well, it's implemented in compat/common/tty_43.c. If we want to save > > it, we need to move it to kern/tty.c:ttio

Small fixup for smtpd.conf.5

2013-12-12 Thread Brett Mahar
Hi, This points me in the right direction so I'm less confused. ok? Brett. Index: src/usr.sbin/smtpd/smtpd.conf.5 === RCS file: /usr/cvsync/src/usr.sbin/smtpd/smtpd.conf.5,v retrieving revision 1.113 diff -u -p -u -r1.113 smtpd.con

Garbage-collect struct ttysize

2013-12-12 Thread Christian Weisgerber
Earlier today I found myself patching struct winsize to ttysize in a port, because I had been confused by into thinking OpenBSD had the latter instead of the former. Ugh. I think we can drop compatibility to SunOS < 3.2 (Sep 1986). FreeBSD also got rid of this 4.5 years ago. I've verified that

Re: Remove 4.3BSD tty compatibility, take 2

2013-12-12 Thread Christian Weisgerber
Christian Weisgerber wrote: > New attempt, now that the userland has been cleaned up. This diff > kills the remaining parts of the COMPAT_43 tty handling in the > kernel. (There are some further network-related COMPAT_43 fragments > that are not touched by this.) > > Comments? ok? make build