Date: Sat, 21 Oct 2017 09:20:20 -0400 From: chris...@zoulas.com (Christos Zoulas) Message-ID: <20171021132020.e84a517f...@rebar.astron.com>
| Why don't we unconditionally (not only when _NETBSD_SOURCE) include | <sys/ttycom.h> from <sys/termios.h> and only make visible struct winsize | when _NETBSD_SOURCE is not defined? That would mean that _NETBSD_SOURCE would need to be defined to use <sys/ioctl.h> and get access to the terminal ioctls, which now, is not required. Whether that's important enough for anyone to care about I don't know, I'll leave that for others to ponder. Aside from wanting to get this right, it is trivial to swap from one method to the other (the only thing hard in any of this is writing the man page ...) so we can wait a bit before committing to one strategy over the other. kre