There was nothing anywhere to define the HAVE_GRANTPT_PTY_ISATTY macro being tested. And _POSIX_SOURCE is defined by the app not the system.
-
-
-
These are just the tip of the iceberg in terms of how wrong the ifdefs are, but at least what's left seems to happen to work...
End of conversation
New conversation -
-
-
@RichFelker@alpinelinux forget xterm go with st you will love it.... -
@mrgreen_linux@alpinelinux Interesting. Does st support combining characters and shaping? If not would support be feasible to add? -
@mrgreen_linux Oh,@alpinelinux has st packaged so I just tried it. Nice. But combining/shaping doesn't seem to work right.
End of conversation
New conversation -
-
-
@RichFelker@alpinelinux tty/pty stuff has always been *horrible* to do portably. It's a bit better now, but xterm is very old code... -
@laurentbercot In xterm's case it had nothing to do with difficulty of pty. The ifdefs were just utterly wrong. -
@laurentbercot#if defined(HAVE_SOMETHING_YOUR_CONFIGURE_NEVER_DEFINES) is basically always wrong. -
@RichFelker I wouldn't bet today's configuration is the same as it was when xterm was written... autobloat, bitrot and all that. -
@RichFelker Not defending the xterm code, just saying it probably made sense at *some* point and was just poorly maintained.
End of conversation
New conversation -
-
-
@RichFelker@alpinelinux http://st.suckless.org/ but you probably already knew that.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.