-
- Downloads
Fix implementation of TCGETS ioctl on console
While I implemented TCSETS ioctl, TCGETS used to be a no-op. This patch implements it (which is trivial). TGETS is need because the standard idiom for programs which switch to raw mode is to use TCGETS to save the original mode, then use TCSETS, and when exiting restore the original mode. Also used <sys/ioctl.h> definitions (from the host...) instead of the ugly ioctl numbers.
Please register or sign in to comment