Questions tagged [tty]
A representation of a device that asynchronously transmits and receives serial data.
990 questions
5
votes
1
answer
661
views
Fool a program it has a pty of specific size
I use nethack with ttyrec to archive my funny deaths.
My only issue is that nethack uses as much screen space as possible to print log massages.
I would like to limit it to only work with 80x24 ...
5
votes
1
answer
497
views
Which Linux distributions bind TTYs to Control + Alt + F13 to F24 keys?
All Linux-based OSes I've seen provide TTYs for F1 through to F12. However, do they allocate TTYs for F13 through to F24? I've located github.com/dvdhrm/kmscon/issues/29, which appears to be similar ...
2
votes
1
answer
94
views
Do special (language specific) characters keep a hidden trace when deleted in a physical tty? Looking for explanation of failed logins into tty
I am trying to login to my physical terminals on my Ubuntu 24.04 that appear when hitting Ctrl+Alt+F3. I am prompted with entering a username. However, I can't easily login with my username of the ...
2
votes
1
answer
79
views
socat filter and replace character for modbus ascii
The goal is to get modbus ascii working with a Wallbox from ABL.
So I placed a RS485 to TCP converter in the box, created a pseudo tty for my application and got the wrong frame.
The answer starts ...
0
votes
0
answers
72
views
How does `/dev/tty` work as a "synonym"? [duplicate]
Context
To restore the standard input, standard output and/or standard error (file descriptors 0, 1 and/or 2 respectively) of a process to the keyboard and/or display of an interactive shell (bash) ...
0
votes
0
answers
61
views
terminal after ssh only return 4 line stdout
So, I did a certification lab lately and after I logged in my ssh, I cannot use a command longer than X line (4 in F server lab and 29 in C server lab. My host kali machine is working and I've tried ...
1
vote
0
answers
53
views
How to set which tty to run GUI in?
I have set up a runit service to autologin in /dev/tty16 and the shell profile executes dbus-run-session Hyprland, however, I noticed that Hyprland, or GUIs start on the 'active' or the currently ...
2
votes
1
answer
279
views
TTY line discipline echoing feature
I'm confused from the actual meaning of the echoing feature implemented in Linux TTY driver.
As far as I know, a pseudo-terminal pair (PTY pair) consists of a PTY master, a PTY slave and a line ...
2
votes
2
answers
246
views
How can I get Linux console output on both iGPU (HDMI) and IPMI (AST) simultaneously?
I'm trying to get console output on both the onboard iGPU (Intel i915, HDMI output) and the AST BMC (IPMI remote display) on my headless server setup.
Hardware and OS
Motherboard: ASUS Pro WS W680-...
2
votes
2
answers
87
views
Unable to write to self in graphical terminal session?
Essentially, I noticed I am unable to write to my user who is using gnome-terminal.
tty returns /dev/pts/1, but I am unable to write there as root. Instead, it returns as follows:
myuser@pegasus:/$ ...
0
votes
2
answers
177
views
Making the micro editor behave like a desktop terminal in a Linux TTY
Can I, through a trick or a module, make the Micro editor behave in a separate TTY as if I had started it directly from a console/terminal emulator in my desktop environment?
micro | a modern and ...
1
vote
1
answer
164
views
How to get out of login loop?
I login from the tty. my .xinit file had the command exec i3I got tired of constantly retyping startx after login so i put exec startxat the end of my .bash_profile. now every time I type my login ...
0
votes
0
answers
384
views
What's the point of removing KMS with nvidia drivers? It seems to only cause errors
Remove kms from the HOOKS array in /etc/mkinitcpio.conf and regenerate the initramfs. This will prevent the initramfs from containing the nouveau module making sure the kernel cannot load it during ...
1
vote
0
answers
58
views
How to pretend to not run the command in a TTY [duplicate]
I have a command (systemctl status) that halts and waits for keystrokes if I run it in a terminal that is not tall enough. I'm not interested in this behavior and can't find an option to bypass it.
If ...
1
vote
0
answers
29
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 ...