tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: FYI: POSIX update - SIGWINCH and 'struct winsize' (etc) to be added

    Date:        Sat, 21 Oct 2017 09:20:20 -0400
    From: (Christos Zoulas)
    Message-ID:  <>

  | 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.


Home | Main Index | Thread Index | Old Index