#termios — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #termios, aggregated by home.social.
-
No need to define its own constants for the standard file descriptors, either. Gaining <unistd.h> means that you gain STDERR_FILENO, STDIN_FILENO, et al..
That 'extern int errno' is actually wrong and needs to come out. A well known thing to change, that is.
That's all I spotted from a quick shufti. There's probably something more in the string handling. Code from that period often wasn't good with strings. I've not looked, though.
-
It would be interesting to trace the relationships, if any, between the twain.
Here's something for your doco: Pendleton's actual shar posting to comp.unix.wizards in 1988, complete with UUCP bang paths in the signature block.
https://groups.google.com/g/comp.unix.wizards/c/HVObC4kIJ9g/m/q6PYo0bEUL8J
Notice that Pendleton did VMS emulation before emacs.
https://groups.google.com/g/comp.unix.questions/c/zvywB_vQt2s/m/bg2TiwXL8aUJ
Also note that the BSDs have cfmakeraw(3) available in the C library.
#readline #ile #Unix #emacs #VMS #termios #FreeBSD #OpenBSD #NetBSD