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

The point of echoing back what was received is not because the client is "really dumb", it's actually good engineering practise. It directly confirms to the user what the machine believes it has received.

If this is incorrect, (whether caused by line noise or whatever), then the user knows this immediately. Unix has a lot of 2-character commands - you wouldn't want an innocent command accidentally mistranslated to "rm" and then press <Return>.



It also means the server can turn off echo for sensitive things like passwords.


And, more importantly, for programs like vi and Emacs that want to handle rendering themselves.


Yes, state is only modified on the server, not in the dumb clients. Weakening this fundamental idea is what makes it hard to write modern single page applications.




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

Search: