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

Because terminal is not a browser but a screen. Outputting text isn't supposed to trigger anything aside from changing what's on screen.


This is broadly correct, but not entirely. Terminals have historically had additional capabilities, be that ringing a bell (BEL) or outputting to a line printer. There are escape codes dedicated to doing file/tape access and running system commands. Not in wide use, but they do exist. See ECMA-48 for some examples from the '80s.




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

Search: