Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> But do you have any screen oriented programs that treats ^D as a signal to close stdin?

stdin is a different thing in a screen-oriented program than a line-oriented one, yes. Screen-oriented typically operates on characters not strings, roughly.

Closing stdin in a screen-oriented program doesn't really have a meaningful interpretation.

But if you'd like an example of a screen-oriented program that exits on Ctrl-D, I can offer musikcube. Not very well-known perhaps (though it's a great music player), and to be fair I consider the Ctrl-D behavior to be a UX oddity, however harmless.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: