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

Garbage Output with Vim/Emacs #10

Closed
kans opened this issue Aug 12, 2013 · 4 comments
Closed

Garbage Output with Vim/Emacs #10

kans opened this issue Aug 12, 2013 · 4 comments
Labels

Comments

@kans
Copy link
Member

kans commented Aug 12, 2013

As reported by @btipling
it adds this garbage to the first line of every file that I have to remove: "+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31"
only the first time I opened it

... I have no idea what is causing this.

@kans
Copy link
Member Author

kans commented Aug 12, 2013

decoding from 2 char hex, we get:
['Co', 'ku', 'kd', 'kr', 'kl', '#2', '#4', '%i', '*7', 'k1']
...checking against http://www.gnu.org/software/termutils/manual/termcap-1.3/html_mono/termcap.html#SEC37
thats
columns, key up, key down, key right, key left, .. Strings of input sent by function keys 1...

from termcap docs:
Many terminals have arrow and function keys that transmit specific character sequences to the computer. Since the precise sequences used depend on the terminal, termcap defines capabilities used to say what the sequences are. Unlike most termcap string-valued capabilities, these are not strings of commands to be sent to the terminal, rather strings that are received from the terminal.

@kans
Copy link
Member Author

kans commented Aug 13, 2013

to round it out

#2: shifted home key, #4: shifted cursor left key %i: shifted cusor right key, *7: shifted end key, k1: Function key 1

@kans
Copy link
Member Author

kans commented Aug 23, 2013

This only happens when I have a web term open.

@kans
Copy link
Member Author

kans commented Sep 13, 2013

Fixed I believe (on the backend in the js pty).

@kans kans closed this as completed Sep 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant