Overrided CTRL+C -> CTRL+B not working
Opened this issue · 4 comments
Hi!
I have not found a solution to my problem on the internet or here in previous questions. I am not a very big Linux expert and I solve most of the issues using the poke method. I need help or advice.
My process interrupt command (CTRL+C) has been redefined to CTRL+B - I did this to make it easier and calmer to copy from the terminal via CTRL+C
Everything works fine except for ET sessions. My main shell is zsh with ohmyzsh.
I also tried running ET via bash - it doesn't work.
I did not find any errors or anything related to the problem in the log with the verbose=1 option enabled on the server and client.
My OS - Ubuntu 23.10 6.5.0-21-generic
Maybe someone will have tips or recommendations on how to make CTRL+B work with ET?
> stty -a
speed 38400 baud; rows 35; columns 145; line = 0;
intr = ^B; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z;
rprnt = ^R; werase = ^W; lnext = ^V; discard = ^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
When you say it doesn't work, what happens? Does Ctrl+c do nothing or does it do the original intent of that key?
When you say it doesn't work, what happens? Does Ctrl+c do nothing or does it do the original intent of that key?
hmm, I'm not sure about the behavior when I created this problem, but now I'm observing a cursor shift - one press of CTRL+B (redefined CTRL+C) moves the text cursor to the left by one character. If there is no typed text in the terminal line, nothing happens.
Maybe that is what Ctrl+b is supposed to do? What does Ctrl+c do in your setup?
Maybe that is what Ctrl+b is supposed to do? What does Ctrl+c do in your setup?
CTRL+C is configured for copying to the clipboard at the OS level.
I think I can remove this reassignment at some point and check what CTRL+B does, I'll deal with it a bit later.