Top "Tty" questions

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

How to write data to existing process's STDIN from external process?

I'm seeking for ways to write data to the existing process's STDIN from external processes, and found similar question How …

linux process stdin file-descriptor tty
Mac OS analog to /dev/ttyUSBxx

I used to linux USB port naming, aka /dev/ttyUSBxx and currently trying to write some test software to read/…

macos usb tty
Set stty parameters

Im trying to use bash to read from ttyS0 and need to set the following but im struggling to figure …

linux bash serial-port tty stty
Using netcat/cat in a background shell script (How to avoid Stopped (tty input)? )

Abstract: How to run an interactive task in background? Details: I am trying to run this simple script under ash …

shell input background tty netcat
Python reading and writing to tty

BACKGROUND: If you want, skip to the problem section I am working on a front end for test equipment. The …

python linux bash tty pty
Screen "Must be connected to a Terminal."

I'm on a Debian OS. I'm trying to use screen under a SSH session. But when I'm trying to run …

ssh gnu-screen tty
PHP CLI: How to read a single character of input from the TTY (without waiting for the enter key)?

I want to read a single character at-a-time from the command line in PHP, however it seems as though there …

php stdin command-line-interface buffering tty
Unable to create superuser in django due to not working in TTY

I go through first django tutorial from djangoproject.com and at the very beginning of part 2, which is creating superuser …

python django eclipse tty
Pretend to be a tty in bash for any command

Whenever I use grep, and I pipe it to an other program, the --color option is not respected. I know …

bash tty
Cannot disable systemd serial-getty service

On Raspberry Pi with Arch Linux there is a service active called serial-getty@AMA0. The unit file is: /usr/lib/…

raspberry-pi archlinux tty gpio systemd