byebye mercurial
Now that. is. how. you. raw-mode!

http://man7.org/linux/man-pages/man3/termios.3.html
(see `cfmakeraw()`)