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

It's provided by the terminal (emulator) in "cooked" mode: https://en.wikipedia.org/wiki/Terminal_mode

raw mode doesn't do this.



To be clear, it's not the terminal emulator (xterm, mintty, iTerm2, etc.) that does this. It's the tty layer. You can use the stty command to change the settings.


Yes, quite right. I was thinking of the terminal driver and typed emulator for some reason. Good catch.


Ah, that's exactly the answer and makes a lot of sense. Thanks a lot.




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

Search: