Skip to main content

Questions tagged [tty]

A representation of a device that asynchronously transmits and receives serial data.

Filter by
Sorted by
Tagged with
5 votes
1 answer
574 views

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 ...
jptrzy's user avatar
  • 51
5 votes
1 answer
496 views

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 ...
RokeJulianLockhart's user avatar
2 votes
1 answer
94 views

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 ...
CouscousPie's user avatar
2 votes
1 answer
79 views

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 ...
martin's user avatar
  • 21
0 votes
0 answers
72 views

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) ...
The Quark's user avatar
  • 454
0 votes
0 answers
60 views

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 ...
hanysfa's user avatar
  • 103
1 vote
0 answers
52 views

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 ...
Caesar's user avatar
  • 25
2 votes
1 answer
279 views

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 ...
CarloC's user avatar
  • 385
2 votes
2 answers
244 views

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-...
Dennis Solomon's user avatar
2 votes
2 answers
87 views

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:/$ ...
Vesta Tian's user avatar
0 votes
2 answers
177 views

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 ...
ReflectYourCharacter's user avatar
1 vote
1 answer
163 views

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 ...
user25371139's user avatar
0 votes
0 answers
383 views

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 ...
SmolScorbunny's user avatar
1 vote
0 answers
58 views

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 ...
xenoid's user avatar
  • 9,348
1 vote
0 answers
29 views

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 ...
Steve Summit's user avatar
0 votes
2 answers
120 views

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 ...
Alfie's user avatar
  • 1
0 votes
0 answers
115 views

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. ...
Hari's user avatar
  • 202
1 vote
1 answer
129 views

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 ...
Kzar's user avatar
  • 111
0 votes
1 answer
111 views

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 ...
wangt13's user avatar
  • 651
2 votes
1 answer
115 views

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 ...
Kaz's user avatar
  • 8,897
1 vote
0 answers
116 views

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 ...
Frixer's user avatar
  • 61
0 votes
1 answer
167 views

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 (...
Yakog's user avatar
  • 517
0 votes
1 answer
215 views

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, ...
Yakog's user avatar
  • 517
-1 votes
1 answer
115 views

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 ...
Tomek Dobrzynski's user avatar
1 vote
1 answer
311 views

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 ...
screwtop's user avatar
  • 111
2 votes
2 answers
249 views

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 ...
elbarna's user avatar
  • 14.5k
0 votes
0 answers
76 views

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 ...
Sarp User's user avatar
0 votes
0 answers
95 views

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 ...
hymcode's user avatar
  • 133
0 votes
0 answers
53 views

I'm playing around with sending information to another terminal session remotely, but I'm not sure how to signal the end of a transmission (ie so the other terminal session stops awaiting input). For ...
David Anderson's user avatar
1 vote
1 answer
44 views

Recently I needed to increase the maximum number of tty (not ttyS*) on the system from 63 to 128. But looking at the Linux source code I found that file include/uapi/linux/linux/vt.h contains #define ...
xOcloah's user avatar
  • 13
2 votes
1 answer
101 views

When I starting my single board computer, I can face the output from the UART, or even called /dev/ttyS0. I want to mirror everything to my HDMI port which is placed on /dev/dri/card0. How can I ...
euraad's user avatar
  • 219
0 votes
1 answer
171 views

I am working on an embedded system that is connected over USB serial TTY (i.e. /dev/ttyUSB0), which needs to interpret arrow keys sent via a virtual terminal such as screen. The problem is, the shell (...
Antennae's user avatar
0 votes
0 answers
125 views

Using debian 12, kde 6 My intention is to use my pc as streaming platform for two, meaning that 2 game instances will run at once. First gaming session will run directly on the pc itself, and the ...
copper's user avatar
  • 1
1 vote
0 answers
244 views

Using recent distros and systems, for the default setup and also when setting the kernel command line to have console=tty0 there is no output on the console when the kernel panics. With a CentOS 7 ...
Patrick Mansfield's user avatar
1 vote
0 answers
181 views

I want to run old computers without GUI. If I use the command xrandr -x in a Linux system (with GUI), the whole screen is reflected (mirrored) around the Y-axis (along the X-axis).  So text is mirror-...
Bein Weller's user avatar
0 votes
1 answer
139 views

I'm trying to test following envirorment: One server (it's a router, It has busybox and few other cmd) with a a physical serial port and and open socket #tcpsvd -v 0.0.0.0 -p 999 cat /dev/ttyS0 ...
Carmine Esposito's user avatar
2 votes
0 answers
287 views

On my target embedded system I have a udev rule that looks like: KERNEL=="ttyACM?", ATTRS{idVendor}=="1234", ATTRS{idProduct}=="5678", SYMLINK+="ttySPECIAL", ...
davolfman's user avatar
  • 857
1 vote
1 answer
748 views

I like the experience that I get from using the terminal on a remote device where there is a visible lag between what I type and what happens on screen, because it forces me to trust the actions I'm ...
user22476690's user avatar
1 vote
0 answers
117 views

THIS IS NOT A PROBLEM ABOUT XORG I have a singleboard PC with Intel N100 with 2 HDMI ports. When arch boots, the color range changes to limited after i915 takeing over the display from UEFI ...
CreeperKong's user avatar
1 vote
1 answer
108 views

I'm working on a project where I need to connect a very old serial terminal to a linux device (a Raspberry). The terminal uses 4800bps, 7 data bits and even parity. I have reconfigured the kernel ...
Gusman's user avatar
  • 111
1 vote
1 answer
719 views

I noticed that, when I go to TTY3 (by typing CTRL+ALT+3), bucklespring stops working, and when I go out to the GUI it works again. Also, when I run xinput test-xi2 on TTY3, it tells me 'Unable to ...
Lucas Vasco's user avatar
0 votes
2 answers
3k views

OS: xUbuntu 22.04 I want to use the write / wall commands for sending msgs to other users sharing the same computer. But when I try to use the write command, I get the following error: √ ~ $ who user1 ...
naphelge's user avatar
0 votes
1 answer
74 views

I want to execute an interactive session on the console via systemctl on boot up. My .service file looks something like this: [Unit] Description=My service. [email protected] network-online....
ZaPaDoS's user avatar
0 votes
1 answer
123 views

I'm trying to create my own finger command in C in Linux Mint. Studying the real finger command I've understood that the asterisk that the commands put when using the short output format left the tty ...
Matteo Sperini's user avatar
0 votes
2 answers
208 views

I would have two serial usb devices connected to each other, /dev/ttyUSB1 and /dev/ttyUSB2. I would like to run /bin/bash connected to one end, so that I can attach to the other end using picocom and ...
Alex028502's user avatar
0 votes
1 answer
290 views

I am making an script in zsh on mac that uses tmux and after the amazing https://unix.stackexchange.com/users/22565/st%c3%a9phane-chazelas answer, I found out that when I use tmux, it uses a different ...
Whimusical's user avatar
2 votes
0 answers
599 views

After I wake up my computer(Mi notebook ultra 2021) from suspend it doesn't let me click the field where the password needs to be entered. I have to restart by pressing ctrl + alt + printscn + REISUB. ...
Yash's user avatar
  • 21
5 votes
1 answer
768 views

I am trying to set up getty to log in over serial (mainly as an experiment). With almost any configuration, the same thing happens. If my default shell is bash, I get this message after I log in: -...
Alex028502's user avatar
0 votes
1 answer
119 views

I have a script which asks users for input in the terminal, therefore in case the script is called with stdout redirected to a file, the user has no context on the prompt. So I would like to duplicate ...
Whimusical's user avatar
0 votes
1 answer
158 views

https://man7.org/linux/man-pages/man7/pty.7.html in the "UNIX 98 pseudoterminals" it is said that ptsname can be used (and then open), but this function accepts file descriptor. i tried to ...
Michael Quad's user avatar

1
2 3 4 5
20