3 ms·
I have conflicting feelings abou This. The OS should not be concerned by this kind of thing. This is completely in the realm of the shell and many physical coul
by rbanffy 2y ago
I have conflicting feelings abou This. The OS should not be concerned by this kind of thing. This is completely in the realm of the shell and many physical could change the number of rows or columns either on user command via its settings or through the host sending an equivalent command.
This does not belong into a kernel.
- emmelaich 2y agoYou're not alone, and this is why plan9 has only 51 syscalls instead of the hundreds for Linux/BSD/... and thousands for Windows.
- akira2501 2y agoIt's just a driver. Do you feel the same about pipe(4)? As effectively that's mostly what PTYs have become.
- rbanffy 2y agoThe kernel should never need to concern itself with the nature of what is sending or receiving a stream of bytes.