2024-01-22 16:19:00 +01:00
|
|
|
~~~
|
2024-09-09 20:07:02 +02:00
|
|
|
:ioctl:operation (:n-)
|
2024-01-22 16:19:00 +01:00
|
|
|
DEVICE:IOCTL io:scan-for
|
|
|
|
dup n:negative? [ drop 'Error:_ioctl_device_not_found s:put nl ] if;
|
|
|
|
io:invoke ;
|
|
|
|
|
2024-09-09 16:03:18 +02:00
|
|
|
:ioctl:term-size (:-nn) #0 ioctl:operation ;
|
|
|
|
:ioctl:set-cbreak (:-) #1 ioctl:operation ;
|
|
|
|
:ioctl:set-lbreak (:-) #2 ioctl:operation ;
|
|
|
|
:ioctl:save-state (:-) #3 ioctl:operation ;
|
|
|
|
:ioctl:restore-state (:-) #4 ioctl:operation ;
|
2024-01-22 16:19:00 +01:00
|
|
|
~~~
|