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

2017-10-21 Thread Robert Elz
Date:Sat, 21 Oct 2017 02:49:33 + (UTC) From:chris...@astron.com (Christos Zoulas) Message-ID: | That is already; termios.h is a symlink to that. | Try to move it there. I doubt it will cause any disruption. We might | be able to save creating another header

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

2017-10-21 Thread Christos Zoulas
On Oct 21, 10:50am, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: FYI: POSIX update - SIGWINCH and 'struct winsize' (etc) to be | Date:Sat, 21 Oct 2017 02:49:33 + (UTC) | From:chris...@astron.com (Christos Zoulas) | Message-ID: | | | That is already;

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

2017-10-21 Thread Christos Zoulas
On Oct 21, 3:42pm, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: FYI: POSIX update - SIGWINCH and 'struct winsize' (etc) to be | Date:Sat, 21 Oct 2017 02:49:33 + (UTC) | From:chris...@astron.com (Christos Zoulas) | Message-ID: | | | That is already;

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

2017-10-21 Thread Robert Elz
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 | from and only make visible struct winsize | when _N

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

2017-10-21 Thread Joerg Sonnenberger
On Sat, Oct 21, 2017 at 09:20:20AM -0400, Christos Zoulas wrote: > Why don't we unconditionally (not only when _NETBSD_SOURCE) include > from and only make visible struct winsize > when _NETBSD_SOURCE is not defined? Just provide two definitions and protect them with an include guard. No need re

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

2017-10-21 Thread Robert Elz
Date:Sat, 21 Oct 2017 17:15:27 +0200 From:Joerg Sonnenberger Message-ID: <20171021151526.ga17...@britannica.bec.de> | Just provide two definitions and protect them with an include guard. No | need really to have a new header either. Obviously that would work, but

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

2017-10-21 Thread Kamil Rytarowski
On 21.10.2017 19:12, Robert Elz wrote: > Date:Sat, 21 Oct 2017 17:15:27 +0200 > From:Joerg Sonnenberger > Message-ID: <20171021151526.ga17...@britannica.bec.de> > > | Just provide two definitions and protect them with an include guard. No > | need really to have a

RFC: data format and conventions for tabular display programs

2017-10-21 Thread Piotr Meyer
Hi, I just wrote a draft[1] for subject, alongside with small script[2] for testing and demonstration purposes. It is my personal hobby project and I will be grateful for comments and thoughts. 1 - https://github.com/aniou/cof/wiki/Draft 2 - https://github.com/aniou/cof Regards, -- Piotr 'aniou

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

2017-10-21 Thread David Holland
On Sat, Oct 21, 2017 at 03:42:20PM +0700, Robert Elz wrote: > Date:Sat, 21 Oct 2017 02:49:33 + (UTC) > From:chris...@astron.com (Christos Zoulas) > Message-ID: > > | That is already; termios.h is a symlink to that. > | Try to move it there. I doubt it w

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

2017-10-21 Thread Robert Elz
Date:Sat, 21 Oct 2017 19:59:57 +0200 From:Kamil Rytarowski Message-ID: <513a5aac-d68e-a3da-bd28-9e5cd63ab...@gmx.com> | We can follow the approach. Add a dedicated header for | a struct and include where needed. That's what I currently have, it is easy, clean, a

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

2017-10-21 Thread Christos Zoulas
In article <5474.1508638...@andromeda.noi.kre.to>, Robert Elz wrote: >Date:Sat, 21 Oct 2017 19:59:57 +0200 >From:Kamil Rytarowski >Message-ID: <513a5aac-d68e-a3da-bd28-9e5cd63ab...@gmx.com> > > | We can follow the approach. Add a dedicated header for > | a struct

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

2017-10-21 Thread Robert Elz
Date:Sun, 22 Oct 2017 03:09:04 + (UTC) From:chris...@astron.com (Christos Zoulas) Message-ID: | There is this: Yes, you mentioned that one yesterday, that is certainly a possibility, though it does mean that apps that include (most likely indirectly because of

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

2017-10-21 Thread Kamil Rytarowski
On 22.10.2017 06:04, Robert Elz wrote: > Maybe that doesn't matter (or not much), as it is very rare (I think) to > ever see anything compiled on NetBSD without _NETBSD_SOURCE being defined > (isn't it?) and what happens for compiles not on NeBSD isn't relevant for > this discussion (nothing is aff

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

2017-10-21 Thread Robert Elz
Date:Sun, 22 Oct 2017 05:59:41 +0200 From:Kamil Rytarowski Message-ID: <1fba73e6-6ef5-ae30-4a3d-570db32fb...@gmx.com> | As far as I can tell, if something defines a namespace like | _POSIX_SOURCE, it excludes _NETBSD_SOURCE. I've not researched the | source of t

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

2017-10-21 Thread Kamil Rytarowski
On 22.10.2017 06:22, Robert Elz wrote: > Date:Sun, 22 Oct 2017 05:59:41 +0200 > From:Kamil Rytarowski > Message-ID: <1fba73e6-6ef5-ae30-4a3d-570db32fb...@gmx.com> > > | As far as I can tell, if something defines a namespace like > | _POSIX_SOURCE, it excludes _NET

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

2017-10-21 Thread Robert Elz
Date:Sun, 22 Oct 2017 06:32:26 +0200 From:Kamil Rytarowski Message-ID: <4aceadc4-7cd6-989d-c9cb-abaa8e103...@gmx.com> | What UNIX-like systems skip ioctl(2)s Probably none, since 7th edition (there was no ioctl before that) but posix does not define ioctl, so anyth