When I specified stty isig
, the following error occurred. I found a similar problem but did not resolve it. I searched for a lot of information but I'm not sure what's going on. I have no clue, can anyone help me? I am using Busybox's own stty
.
# tty
/dev/tty1
stty isig
stty: standard input: cannot perform all requested operations.
stty -a
speed 38400 baud; rows 37; columns 100; line = 0;
intr = ^C; quit = ^; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff
-iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke -flusho -extproc
stty -a
to your question ? If Busybox is acting as your shell, it may need to prevent you from changing how it handles signals. – Paul_Pedant Feb 01 '24 at 09:54isig
. Why do you need to set isig? – Paul_Pedant Feb 01 '24 at 13:31https://busybox.net/FAQ.html#job_control
– Paul_Pedant Feb 01 '24 at 13:51ctr+c
, such asping
andtaskset
. – Vimer Feb 02 '24 at 00:54/dev/console
, but mine is/dev/tty1
. – Vimer Feb 02 '24 at 02:02