Top "Tty" questions

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

Connect usb scale in Ubuntu, cdc_acm says failed to set dtr/trs

I am trying to connect an scale (Dibal series 400) in Linux (Ubuntu), and I can not succeed. The scale works …

ubuntu serial-port usb tty cdc
Printed length of a string in python

Is there any way to find (even a best guess) the "printed" length of a string in python? E.g. …

python string pretty-print tty
Get terminal size in Go

How to get tty size with Golang? I am trying do this with executing stty size command, but I can't …

go tty
QEMU: /bin/sh: can't access tty; job control turned off

As a development environment for linux kernel, I'm using qemu with setting up initramfs as similar to what is shown …

linux kernel qemu tty
Run interactive Bash with popen and a dedicated TTY Python

I need to run an interactive Bash instance in a separated process in Python with it's own dedicated TTY (I …

python linux bash python-2.x tty
How can I find which physical device /dev/console connects to?

There is a device file called /dev/console, whose (major,minor) is (5,1). When I boot with a serial console, it …

linux-kernel linux-device-driver embedded-linux tty
How to kill respawned process by init in linux

am respawning the /bin/bash on ttyS1 port.ttyS0 is my console. inittab entry is given below. ::respawn:/bin/bash &…

bash shell kernel tty
How do I check if a Perl script is running in a terminal?

I'm trying to determine, within a Perl script on Linux, whether it's running in a terminal. That is, I need …

linux perl tty
Using USB to Serial in Ubuntu 12.04 - /dev/ttyUSB0 missing

I'm trying to connect a usb-serial adapter to Ubuntu 12.04 (on a VM). For some reason, there is no /dev entry …

linux serial-port tty usbserial
How do I completely disable bell in screen (both visual and audio)

In screen, is there a way to completely disable bell ? I know you can switch to audio bell instead of …

linux terminal gnu-screen tty