Top "Tty" questions

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

Receiving key press and key release events in Linux terminal applications?

I would like to write a simple C program that will perform different actions based on both "key down" and "…

linux terminal keypress ncurses tty
Vagrant is attempting to interface with the UI in a way that requires a TTY

Problem: vagrant up fails with the error below. I am running vagrant on Windows 7 and the base box is Ubuntu )( …

interface vagrant tty
linux - write commands from one terminal to another

I need to write commands from one terminal to another terminal. I tried these: echo -e "ls\n" > /proc/…

linux redirect terminal stdin tty
C write() doesn't send data until close(fd) is called

So I have this test code to send "HELLO" over a USB serial port: int fd; struct termios tty; if((…

c linux serial-port tty
GPSD not getting a good fix

I have a GPS module connected to a Raspberry Pi via USB. For some reason I can't seem to get …

gps raspberry-pi tty gpsd
kubectl attach: Unable to use a TTY - container es-node did not allocate one

I am trying to attach to a running container in Kubernetes, however I get the error message below. >kubectl …

containers kubernetes tty
Disconnect and reconnect ttyUSB0 programmatically in Linux

Trying to solve this problem (ttyUSB0 that works properly than stop working after about 1hr)I'm thinking on if disconnecting …

linux bash serial-port tty
How do *nix pseudo-terminals work ? What's the master/slave channel?

I want to write a simple, dumb, X terminal emulator in C on a Linux system. At first, I just …

c linux tty
Redirecting AT commands to microcom command under Linux

in the BusyBox command for Linux exists the command microcom to communicate with a serial modem: BusyBox v1.13.2 (2012-05-10 17:13:08 …

linux redirect pipe stdin tty
/dev/tty.Serial* Missing in MacOS 10.9 (Mavericks)

I'm not sure if this was as a result of a recent update to OSX 10.9, but for some reason, all …

macos serial-port usb tty osx-mavericks