start | all-pages

listenerandbuffering The *listener is intended to interpret your code as you type. But most Unix-like systems will have the terminal set to a line buffered model by default. On these, interpretation does not occur until enter is pressed. To work around this, you have two options: - use an *ilo which changes the terminal mode. Some, like the mult/ilo (vm/milo.c) wil do this, but most defer to the host. - use host tools to change the mode. E.g., on Linux and BSD you can use stty(1) to do this: stty cbreak; ./ilo; stty -cbreak