Top "Tty" questions

For questions related to terminal drivers and the behaviour of terminals for Unix and related systems.

What does TTY mean in the unix ps command?

When I run PS one of the columns output is TTY. What does this mean? In particular, how does as …

java process tty ps
How can I implement timeout for read() when reading from a serial port (C/C++)

I am reading bytes from a serial port in C++ using a file descriptor and the posix/unix read() function. …

c unix timeout tty
How to deal with "Pseudo-terminal will not be allocated because stdin is not a terminal."

ssh -t remotehost vim /tmp/x.txt I know that I can run a command like the above. But I …

ssh tty
How to know which device is connected in which /dev/ttyUSB port

I am using two Wavecom 16-port modems. When I attach the modems to my system, I am able to list …

linux ubuntu usb tty udev
TTY switch for Ctrl-Alt F1 and Alt-F1...F6 in Mac OS X

Is it possible... to have a terminal mode for the keybinding Ctrl+Alt+F1 to switch between TTYs for Alt+…

macos tty
How to toggle CR/LF in gnu screen?

I'm using screen to read the text from a serial console. The problem is the output seems to only have …

linux serial-port gnu-screen tty
How to reroute stdout, stderr back to /dev/tty

I just ssh-ed to some remote server and found that stdout and stderr of all commands/processes I am trying …

linux bash stdout stderr tty
How to workaround "the input device is not a TTY" when using grunt-shell to invoke a script that calls docker run?

When issuing grunt shell:test, I'm getting warning "the input device is not a TTY" & don't want to have …

docker gruntjs tty grunt-shell
How can I echo to /dev/tty?

Is there a way to send something like an "end of data" after executing echo "test" > /dev/tty1 in …

linux shell cygwin tty term
screen /dev/ttyUSB0 with different options such as databit, parity, etc

I am trying to use screen /dev/ttyUSB0 to connect to a old computer(s) through a USB-serial interface. I …

serial-port tty gnu-screen usbserial