Testing confirms that is not needed for Linux for the
detection of TIOCGWINSZ. sufficient on both platforms.
Having #include is redundant on Linux, but causes incorrect
detection of the existence of TIOCGWINSZ on macOS.
Not sure if is needed on other platforms, though.
- paul
> On Dec 28,
Jürgen,
The configure code to determine HAVE_IOCTL_TIOCGWINSZ in config.h doesn't work
on macOS:
conftest.cpp:130:11: fatal error: 'asm/termbits.h' file not found
130 | #include /* for TIOCGWINSZ */
| ^~~~
1 error generated.
configure:22435: $? = 1
configure: fail
Hi Elias et al.,
thanks for the hint. I have now (*SVN 1807*) changed the code so that
the initial ⎕PW
is set from the size of the GNU APL window if:
1. the platform supports TIOCGWINSZ, and
2. the user has set WINCH-SETS-⎕PW to Yes in one of her preferences
files, and
3. the user has NOT s