added stubs for tcgetattr and tcsetattr, minor node tty fixes

...