Questions tagged [stty]
The stty tag has no usage guidance.
23
questions
1
vote
0
answers
88
views
In Debian 11 docker container, I cannot type lowercase S when I switch to bash from zsh
When I connect to my Docker container with Debian 11 via ssh, I have it set up such that zsh is the main shell. When I switch to bash (by typing bash) I lose the ability to type the lowercase letter s ...
0
votes
0
answers
462
views
tmux status bar showing the terminal's available width and height in pixels
It would be nice if tmux could display the width and height of a current window within its status bar.
I personally use :resize-window -x -y quite a lot, cause I connect from a computer to a second ...
0
votes
1
answer
539
views
Why might I not see stty key changes reflected in "stty -a"
I'm trying to change some key bindings in my console (Konsole). If I map intr to Ctrl-k, by running
stty intr \^k
I don't see the change reflected in
stty -a
speed 38400 baud; rows 46; columns 172;...
0
votes
1
answer
8k
views
stty in .profile causes: "stty: 'standard input': Inappropriat ioctl for device
I added into my .profile file the command stty werase ^H (The command makes it possible that i can delete a word with Ctrl + Return).
But whenever i start my PC it prints the following error:
...
0
votes
1
answer
503
views
agetty: unrecognized characters after login in buildroot (systemd)
I have a problem with agetty. when the login prompt gets the user name, then the password prompt or login shell shows unrecognized characters as below:
[ OK ] Started Serial Getty on ttymxc4.
[ OK ...
1
vote
1
answer
402
views
How to permanently change Ctrl + C to Ctrl + K in CentOS 7?
I try to use this stty intr ^K in order to change Ctrl + C to Ctrl + K in CentOS 7.
But when I restart my server. It resets to default again.
How can I change it permanently from Ctrl + C to Ctrl + ...
2
votes
0
answers
1k
views
How to suppress "stty: standard input: Inappropriate ioctl for device" in Jenkins console
I use PHPUnit with Jenkins.
PHPUnit outputs many "stty: standard input: Inappropriate ioctl for device." like this
[***] $ /bin/sh -xe /tmp/jenkins3872195701082406677.sh
+ vendor/bin/phpunit tests/
...
1
vote
0
answers
124
views
How to modify the behavior of the commands that delete "words" to the left
I've recently tried switching from being a long time tcsh user to bash and I was lamenting the extra key tapping for deleting "words" to the left, so I've been looking into modifying the behaviors in ...
0
votes
0
answers
223
views
screen and $TERM and misformatted vi
I'm ssh'ing from my Mac (Terminal.app) into a Linux box, where I need to run ckermit or screen over USB to have a console on a second Linux box. (There are no graphics on the second box, and I'm ...
0
votes
1
answer
209
views
Periodic input to Windows gitbash terminal
My bash terminal is receiving a space (chr 32) immediately followed by a backspace (chr 8) every 5 seconds (almost exactly). The effects aren't noticeable when typing, as the added space is deleted ...
6
votes
1
answer
2k
views
Super Key notation for stty
Trying to swap the Ctrl and Super keys around on a ubuntu box.
Have managed to swap Super and Ctrl around using xmodmap. Now i just need to change the stty intr to be Super_L + C
I can't for the ...
1
vote
2
answers
5k
views
UART baudrate is configurable by `screen` but not by `stty`
I have a USB to serial adapter, based on CH340G chip. It is connected to a device which periodically sends a string at 9600 baud. However, I seem to be able to receive the data regardless of how I ...
3
votes
0
answers
1k
views
Make stty setting permanent
I tried to setup raw serial communication over ttyusb0 and used stty to change baud rate and raw mode. Those settings were successful and it was visible after I checked ttyUSB0 again, so after
stty -...
2
votes
2
answers
1k
views
What is the discard option in `stty -a`? It uses `^O`
In stty -a, there's an option for discard = ^0. I've googled around, and the closest documentation I get is from: http://www.tldp.org/HOWTO/Text-Terminal-HOWTO-17.html which says
^O flush (or ...
0
votes
1
answer
2k
views
How to run a virtual machine with no graphics card (VGA) configured in VirtualBox
I want to use the following feature of Linux (which one of my virtual machines):
If no console device is specified, the first device found capable of acting as a system console will be used. At ...