proposals for tty.c implementation