Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
Ah, so this is what was causing that. I have a workaround if you don't use the mouse in any terminal apps:
run `infocmp -1 > termcap.txt`, remove the line that starts `kmous=`, then run `tic termcap.txt`.
I do use the mouse sometimes, so a real fix would be nice.
Hi - I've just spotted this too, also because of Vim. I've bisected it to `fa3f485 support sgr mouse mose`.
> I'll draft a patch this weekend.
Did you ever get around to that? If so I'd be keen to try and test it out (and if not, I may have a go myself).
Cheers, Chris
Yeah, I think the solution is to implement a timeout that triggers the "no escape sequence detected" state transition. I'll see if I can dig up a sensible timeout that other terminal emulators use.
If I get around to it, I'll draft a patch this weekend. This behavior finally became infuriating enough to me (vim user :'( here) to try fixing it.
That seems right.
It is caused by trying to detect if there is wrong escape sequence delivered to screen. I wonder if in this case it is not overstepping what we should do.
Building 4.7.0 and 4.8.0 screen from source, I noticed that I must press ESC twice in vim within screen to exit insert mode. Running showkey -a I can see that the ESC keypress is not delivered to the pty within screen until a subsequent key is pressed, with no set timeout.
Reverting 40819ffe2b7ff2cbcb93d7b73d553179e57a27e1 alleviates the problem, although there is still a delay controlable by maptimeout.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 60 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 2 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9