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

special chars change when copy-paste #145

Open
Mordecaine opened this issue Mar 2, 2022 · 2 comments
Open

special chars change when copy-paste #145

Mordecaine opened this issue Mar 2, 2022 · 2 comments

Comments

@Mordecaine
Copy link

Hello,

If I open a cssh session in my X-Terminal and copy-paste a special character, the character on the target system changed.

An example.
If I paste "[Unit]" to the cssh window, the following characters will be included:
image

So I started a new Session with debug level 3 and got the following Debug output:

PASTE EVENT
Got text :[Unit]:
servers{msd-ic-ma01 }{wid}=106954786
Sending to 'msd-ic-ma01 ' text:[Unit]:
Looking for char :[: with ord :91:
Looking for keycode :91:
Looking for keysym  :bracketleft:
Looking for keyboardmap :a34:
keyboardmap=:a34:
state=a, code=34
returning state=:128: code=:34:
Got state :128: code :34:
sending event=KeyPress code=:34: state=:128:
sending event=KeyRelease code=:34: state=:128:
Looking for char :U: with ord :85:
Looking for keycode :85:
Looking for keysym  :U:
Looking for keyboardmap :s30:
keyboardmap=:s30:
state=s, code=30
returning state=:1: code=:30:
Got state :1: code :30:
sending event=KeyPress code=:30: state=:1:
sending event=KeyRelease code=:30: state=:1:
Looking for char :n: with ord :110:
Looking for keycode :110:
Looking for keysym  :n:
Looking for keyboardmap :n57:
keyboardmap=:n57:
state=n, code=57
returning state=:0: code=:57:
Got state :0: code :57:
sending event=KeyPress code=:57: state=:0:
sending event=KeyRelease code=:57: state=:0:
Looking for char :i: with ord :105:
Looking for keycode :105:
Looking for keysym  :i:
Looking for keyboardmap :n31:
keyboardmap=:n31:
state=n, code=31
returning state=:0: code=:31:
Got state :0: code :31:
sending event=KeyPress code=:31: state=:0:
sending event=KeyRelease code=:31: state=:0:
Looking for char :t: with ord :116:
Looking for keycode :116:
Looking for keysym  :t:
Looking for keyboardmap :n28:
keyboardmap=:n28:
state=n, code=28
returning state=:0: code=:28:
Got state :0: code :28:
sending event=KeyPress code=:28: state=:0:
sending event=KeyRelease code=:28: state=:0:
Looking for char :]: with ord :93:
Looking for keycode :93:
Looking for keysym  :bracketright:
Looking for keyboardmap :a35:
keyboardmap=:a35:
state=a, code=35
returning state=:128: code=:35:
Got state :128: code :35:
sending event=KeyPress code=:35: state=:128:
sending event=KeyRelease code=:35: state=:128:

Second example:
copy string: !"§$%&/()=?`{[]}
image

Is there a configuration failure on my site?

@Robert-Riedl
Copy link

Same issue here, I can't paste a pipe "|" - i seem to remember that this has worked in the past.

All these chars work if typed tho..

@pwallema
Copy link

pwallema commented Oct 4, 2023

Same here.
Pierre

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

3 participants