Top "Tty" questions

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

Leaving tmux scrollback in terminal (iTerm2)

Usually tmux will only show as much output as however many rows my terminal currently displays. And then when I …

ssh tmux gnu-screen tty iterm
How to switch linux kernel console after boot process?

On my embedded system I usually use /dev/ttyS0 as a main console. This is achieved by passing kernel parameter …

linux linux-kernel embedded embedded-linux tty
Can't create RFCOMM TTY: Address already in use

I listen for a Bluetooth connection in my server doing: rfcomm listen rfcomm1 1 Then I connect with my Bluetooth client …

linux bluetooth tty bluez rfcomm
How do i read single character input from keyboard using nasm (assembly) under ubuntu?

I'm using nasm under ubuntu. By the way i need to get single input character from user's keyboard (like when …

linux assembly character nasm tty
USB Serial Port on Mac using socat

I have a piece of hardware that is connected over a Prolific Serial to USB cable and I need to …

macos serial-port usb tty socat
How to display tabs as 4 spaces in gnome-terminal

Actually gnome-terminal display tabs as 8 spaces, and this is very annoying when you cat files or view diffs, is there …

tabs spaces tty gnome-terminal
Golang reading from stdin, how to detect special keys (enter, backspace... etc)

I have the following program that reads user input from stdin: var input string = "" exec.Command("stty", "-F", "/dev/tty", "…

go stdin tty pty
stty hupcl ixon ixoff

I'm seeing stty, not a typewritter messages on hpux (despite an interactive terminal check?), and am guessing that these are …

ksh tty hp-ux
docker-compose exec python the input device is not a TTY in AWS EC2 UserData

I am using EC2 UserData to bootstrap the instance. TRacking log of bootstrap execution /var/log/cloud-init-output.log, I found …

docker amazon-ec2 automation docker-compose tty
Writing a Linux Terminal emulator

I'd like to write a x11 terminal emulator, but I don't know how I should spawn and communicate with the …

linux tty pty terminal-emulator