Questions tagged [tty]
tty is a Unix command that prints on standard output file name connected to standard input. The program's name comes from teletypewriter, abbreviated "TTY".
191
questions
0
votes
0
answers
52
views
Display new prompt after tty redirect on second terminal
I'll try to explain the title better :)
I have two terminals tty1 and tty2, let's call them that.
From tty1 I redirect the output from echo to the tty2 terminal with:
echo hello > $(tty2)
This ...
2
votes
0
answers
104
views
Program is not interactive in NuShell
Some background
Qemu has a wonderful feature, which allows you to connect its stdio streams to serial ports on the guest. This allows you to connect QEMU's stdio streams to a TTY shell on the guest ...
-1
votes
2
answers
503
views
Disable autologin in TTY consoles in Kali Linux live system (with persistence)
I have kali live 2023.4 installed on my usb stick (with persistence partition) and I want to disable autologin in TTY consoles. When I open TTY on my computer, it automatically logins as kali. On my ...
0
votes
0
answers
85
views
TTY doesn't go up
When I'm on a TTY (Debian 12 amd64), entering with CTRL+ALT+F1 for example, after the 25th line, the screen doesn't update sending the other lines up, this way I can't see what is typed or displayed ...
0
votes
0
answers
88
views
Binding Shift+Arrow Key in tmux for use in virtual terminals (tty3-12) (works in X)
I've bound Shift+Up/Down/Left/Right to changing selected pane in tmux, but on running tmux in a virtual terminal like tty3, the binding does nothing (and pressing S-Up/S-Down just cycle the command ...
0
votes
0
answers
81
views
Two GPUs and two monitors on a Debian system, one for text, another for Xorg
I have a server with an onboard Aspeed VGA card and an Nvidia T400 HDMI card, and two monitors connected physically to those cards. I don't want to install very much software on this machine which is ...
0
votes
0
answers
128
views
How to set up Win+Space for rotating or toggling keyboard layouts both in tty𝑛 and Gnome with X.Org?
Let's say we wish to have keyboard layouts de, ru, fr, and es in Gnome with X.Org and at least de and ru (and optionally but not necessarily fr and es) in plain old text-mode consoles. The layout-...
0
votes
0
answers
55
views
How to decrease VTIME value with termios api in Linux kernel
Related post closed with an open question. Why Windows is better than Linux for raw UART processing ?
https://stackoverflow.com/questions/76979323/how-to-reduce-tty-vtime-for-non-canonical-uart-on-...
0
votes
1
answer
327
views
How to run a X11 program from another TTY
My X desktop environment is on TTY2, and I want to run an X program on TTY3 so that it opens within the X graphical desktop of TTY2.
Before executing the program, I added the display variable using ...
1
vote
0
answers
503
views
Starting multiple sddm sessions automatically
I'm trying to achieve a relatively simple thing in theory, but having a lot of problems with it. I'm trying to have my Arch Linux (though this issue is somewhat general and not specific to distro I ...
1
vote
1
answer
1k
views
# How to suspend and logout of tty?
When I want to lock my computer for a long time, I usually exit the GUI and
logout of the tty because Linux screenlockers often aren't very secure.
However, I want to suspend the computer after I have ...
1
vote
0
answers
419
views
Run command on detached screen session attached to /dev/ttyUSB instance
I've been manually sending AT commands to a cellular modem connected over USB using screen by starting the session like so: screen /dev/ttyUSB0. I'd like to automate the commands I send to the device ...
1
vote
1
answer
179
views
How can you write to tty files
I want to use console API of beep to produce a tone because it has lower latency than the evdev API but doing so is not permitted in a graphical shell.
Ctrl+Alt+F6 opens tty6 and after logging in I ...
2
votes
0
answers
196
views
Does tput automatically check color abilities when loading color codes?
When using tput setaf and tput sgr0, does it automatically output nothing if the session isn't tty-like or no color support is detected?
So am I fine doing this?
declare -r styleRed=$(tput setaf 1)
...
2
votes
1
answer
238
views
Does the slave pseudoterminal use the line discipline?
According to this article:
the line discipline instance is not evoked when the TTY driver is sending user program output to PTY master
and the accompanying diagram.
However, according to a different ...