Disable echo and set raw terminal mode via ANSI escape sequence or X11 escape sequence

Viewed 1591

Is there possibility to disable echo (except ESC[8m which only hides text) programatically in remote terminal? Any equivalent for stty -echo?

Is there also any escape command to enable raw mode (equivalent of stty raw) in remote terminal? Without raw mode getchar works only after ENTER press.

1 Answers
Related