Skip to main content

Questions tagged [stty]

"stty" command sets the options of terminal (tty).

0 votes
0 answers
56 views

So I've been doing CTF Tryhackme called mKingdom and got a remote shell. However, I want an upgrade of the remote terminal so I ran python3 -c 'import pty;pty.spawn("/bin/bash")' , it showed ...
McK's user avatar
  • 1
0 votes
1 answer
91 views

When I execute sudo stty -F /dev/tty1 -echo and next I execute sudo stty -F /dev/tty1 -a I get : ... -echo ... which means that echo is disabled on /dev/tty1. But when I switch to /dev/tty1 (using ...
user10480148's user avatar
0 votes
1 answer
101 views

Ctrl-S is supposed to be the STOP part of the START/STOP output control that you can set up with stty. But when I press it, it seems to do nothing. The output doesn't stop and I can still type ...
mr linky's user avatar
6 votes
3 answers
2k views

We can use the command stty -echo with a bash shell script to prevent characters to be echoed to the console, e.g., for password input. Is there a way to print a * for each input character instead, ...
Luis A. Florit's user avatar
0 votes
1 answer
236 views

I customized the root file system using Busybox, and its version is 1.36.1. I don't know why my device cannot be terminated by ctrl+c when typing ping an IP on the monitor keyboard. However, when I ...
Vimer's user avatar
  • 67
0 votes
1 answer
826 views

I want xterm to stop converting Ctrl+h to backspace. I use this key combination for other things, but the terminal captures Ctrl+h and send backspace every time. How can I disable this? Note this is ...
Dave's user avatar
  • 732
0 votes
1 answer
226 views

I am trying to get a background process to print to the terminal. I haven't seen anything that otherwise indicates there is anything else to do besides stty -tostop. Am I missing something? Running ...
Sterling Butters's user avatar
1 vote
1 answer
323 views

TLDR - I have onlcr configured in my terminal, but I don't see the \r getting added If plug two FTDI serial converters together, and plug them both into my computer, I get two ports called /dev/...
Alex028502's user avatar
1 vote
1 answer
376 views

From the description of signals (reference), it seems like SIGTTIN and SIGTTOU are sent to a process only if it is in background. Pressing Ctrl-s does stop printing in terminal, if such flow control ...
codepoet's user avatar
  • 636
0 votes
1 answer
451 views

From an answer to one my previous question I learned that shells (such as bash) have an ability not to follow the rules of terminal input processing set by stty(1). In particular, they can operate in ...
Ilya Loskutov's user avatar
0 votes
1 answer
223 views

Among the stty -a settings on my machine there are such as erase = ^?; kill = ^U;. The man page reports that erase CHAR CHAR will erase the last character typed kill CHAR ...
Ilya Loskutov's user avatar
1 vote
0 answers
362 views

I'm trying to launch a MineCraft server at startup of an AWS EC2 instance running Amazon Linux. For convenience, I used tmux to start a detached session, so I could ssh in to the box and connect to ...
ErikE's user avatar
  • 129
0 votes
1 answer
374 views

I came across the following set of shell commands for reading and writing to serial ports, from this thread: stty -speed 19200 < /dev/ttyS0 # sets the speed of the port exec 99<>/dev/ttyS0 (...
First User's user avatar
0 votes
0 answers
21 views

I have several keys remapped successfully, but ctrl-z is being stubborn.. I can get these to work: stty susp undef bind '"\C-f": undo' bind '"\C-Z": undo' ..but not: bind '"\...
alchemy's user avatar
  • 817
0 votes
1 answer
1k views

I would like to disable TTY echoing for all users that are connecting via SSH. The Linux command stty -echo does the trick, however instead of users having to execute this command on their TTY I would ...
Evyatar Saias's user avatar

15 30 50 per page
1
2 3 4 5
8