more termios functions, some issue with rump