24 ms·
In a terminal in cooked mode, Ctrl+D sends EOF. Literally any program that reads from stdin and doesn't do something special to avoid it will handle Ctrl+D. T
by LukeShu 8y ago
In a terminal in cooked mode, Ctrl+D sends EOF. Literally any program that reads from stdin and doesn't do something special to avoid it will handle Ctrl+D.
That's the point about why it's worth it to learn: It's universal to all terminal programs, even if the author of the program didn't know about it.