aboutsummaryrefslogtreecommitdiff
path: root/win32/ioctl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* stty: drop 'rows' and 'columns' settingsFRP-5857-g3681e397fRon Yorston2025-10-101-2/+2
| | | | | | | | | Setting the console dimensions doesn't work reliably. Drop support for the 'rows' and 'columns' settings. Saves 752-768 bytes. (GitHub issue #58)
* stty: fix build for Windows XPRon Yorston2025-08-071-0/+10
| | | | | | | | The ioctl() to get the size of the terminal windows used functions which weren't available on Windows XP. Load these dynamically to avoid failure. Adds 160 bytes.
* stty: enable a minimal Windows implementationRon Yorston2025-07-251-0/+39
| | | | | | | | | | | | | | | | Implement a minimal stty applet for Windows. - Display and set terminal rows and columns - Enable/disable raw/cooked mode - Enable/disable echo mode - Implement 'stty sane' to reset raw/cooked/echo Adds 2120-2304 bytes. (GitHub issue #58)
* win32: improvements to get_terminal_width_heightRon Yorston2018-04-031-1/+23
| | | | | | | | - move winansi_get_terminal_width_height from winansi.c to ioctl.c, the only caller; - check both stdout and stderr for a connection to a console; - omit unnecessary code in get_terminal_width_height (because the WIN32 implementation ignores the file descriptor).
* win32: implement ioctlRon Yorston2012-04-231-0/+24