Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overrided CTRL+C -> CTRL+B not working #625

Open
andyoknen opened this issue Mar 7, 2024 · 4 comments
Open

Overrided CTRL+C -> CTRL+B not working #625

andyoknen opened this issue Mar 7, 2024 · 4 comments

Comments

@andyoknen
Copy link

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
@MisterTea
Copy link
Owner

When you say it doesn't work, what happens? Does Ctrl+c do nothing or does it do the original intent of that key?

@andyoknen
Copy link
Author

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.

@MisterTea
Copy link
Owner

Maybe that is what Ctrl+b is supposed to do? What does Ctrl+c do in your setup?

@andyoknen
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants