Questions tagged [tty]
A representation of a device that asynchronously transmits and receives serial data.
983 questions
0
votes
0
answers
8
views
Idle time (tty st_atime) not updating when emacs is running
When running GNU emacs in a terminal (in the old-fashioned way, that is, i.e. not in its X windows mode) I've noticed that the w command shows the session as idle, even though emacs is active and ...
0
votes
2
answers
35
views
Void Linux TTY keeps pressing Enter on its own
This problem appears with kernels 6.12.18, 6.12.17, and 6.12.16.
The OS boots, and then I am prompted to log in in the tty. I enter a username and press Enter. When I try to input a password, it ...
0
votes
0
answers
70
views
How can I run commands on one shell from another?
I am currently using yazi as a TUI file manager, and one thing I wanted to do was set it up with my terminal emulator in a multi-pane view to have the file manager and a command line synchronized.
...
1
vote
1
answer
41
views
Grub2 serial terminal over USB ACM
I am trying to use a usb cable from a Raspberry (in peripheral mode, serial CDC ACM) to a PC to access GRUB2 serial console (on the PC).
I succeeded with a pl2303 usb ttl adapter, the usbserial_pl2303 ...
0
votes
1
answer
29
views
serial console hang in Linux kernel-5.10.188
I am working on an embedded Linux system (kernel-5.10.188), and use /dev/ttyS2 as serial console and ash in busybox is the login shell.
After logging in to system, I ran top -d 1 in the serial console ...
2
votes
1
answer
62
views
Detectng missed SIGWINCH in Bash extension, when apparent terminal size has not changed
I maintain an extension for the Bash environment called Basta. Basta provides a scroll-protected status line at the bottom of your ANSI/VT100 terminal.
When Basta sets itself up, the effective number ...
1
vote
0
answers
48
views
Disable tty switching in labwc
Im running a labwc kiosk app and want to prevent users from tty switching easily.
Previously, I had a Xserver with the "DontVTSwitch" option on and it worked like a charm. I changed to labwc ...
0
votes
1
answer
85
views
Why does a SIGTSTP signal not handled by the parent move the entire group to the background (contrary to written in TTY demystified)?
I started learning about linux tty(s) and signals and ran into some trouble.
I am reading and using The TTY demystified as a reference.
I made two simple golang programs.
Parent:
package main
import (...
0
votes
1
answer
91
views
Where is the tty line discipline exactly "logically" located?
I recently started learning about Operating Systems and the linux kernel. I was interested in terminals, so I started there, however, I quickly ran into a problem. I wrote a slightly longer question, ...
-1
votes
1
answer
62
views
Is readline essentially a user mode line discipline?
The TTY terminal driver uses a line discipline to provide features like: line buffering of input, echoing of input to the terminal display, control character translation, etc. The bash shell uses the ...
1
vote
1
answer
112
views
Text console display frozen on Arch Linux after boot
My desktop PC running Arch Linux developed an issue with the text console in the last few days. The system boots OK initially, then appears to freeze just before the login prompt would normally appear ...
2
votes
2
answers
210
views
Hpux and TCB, how to enable login console?
I'm on hpux 10.20 (for testing), is TCB-enabled
when I try a login from a serial console this m
essage appear
GenericSysName [HP Release B.10.20] (see /etc/issue)
login: root
Cannot obtain database ...
0
votes
0
answers
44
views
Cross-platform method of checking if using terminal emulator or tty
I am looking for a cross platform way to check if I am using a terminal emulator (with support for unicode characters) or a TTY session (with only support for ASCII chars). I initially tried to use if ...
0
votes
0
answers
61
views
Why is Weston recommeding to run an almost empty .target file at system service?
Introduction
I'm trying to get Weston up an running at startup. So far, I have only success to open Weston with root user. I have followed this manual: https://wayland.pages.freedesktop.org/weston/toc/...
0
votes
0
answers
69
views
Permissions error when executing setserial command
I have recently transitioned from CentOS 7.9 to AlmaLinux 8.9, and I have noticed a permission error when executing the following command:
$ setserial /dev/ttyAP0 closing_wait none
I get the ...