Top "Tty" questions

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

How to fix 'sudo: no tty present and no askpass program specified' error?

I am trying to compile some sources using a makefile. In the makefile there is a bunch of commands that …

linux sudo tty
How to enter in a Docker container already running with a new TTY

I have a container that is running the Apache service in the foreground. I would like to be able to …

docker tty
Reading and writing to serial port in C on Linux

I'm trying to send/receive data over an USB Port using FTDI, so I need to handle serial communication using …

c linux serial-port tty
What do pty and tty mean?

I noticed there are many mentions of pty and tty in some opensource projects, could someone can tell me what …

c unix networking tty vocabulary
docker error : the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'

After I run this $ docker run --rm -v "/c/users/vipul rao/documents/github/wappalyzer:/opt/wappalyzer" -it wappalyzer/dev …

windows git docker github tty
Confused about Docker -t option to Allocate a pseudo-TTY

What exactly does this option do? I've been reading a lot on TTY and am still confused. I played around …

docker tty pty
Jenkins sudo: no tty present and no askpass program specified with NOPASSWD

I spend several days setting up the file /etc/sudoers to be able to give permissions to root to the …

jenkins debian sudo tty sudoers
Why is printing to stdout so slow? Can it be sped up?

I've always been amazed/frustrated with how long it takes to simply output to the terminal with a print statement. …

python linux printing stdout tty
sudoers NOPASSWD: sudo: no tty present and no askpass program specified

I have added a user like this: $ adduser --system --home /no/home --no-create-home --group --disabled-password --disabled-login testuser Added a user …

linux bash sudo tty
MacOS: what's the difference between /dev/tty.* and /dev/cu.*?

Each serial device shows up twice in /dev, once as a tty.* and once as a cu.*. What is the …

macos serial-port tty