mrxvt with "+" in version gives invalid response to "send secondary device attributes" escape
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mrxvt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mrxvt
When mrxvt is built with a "+" in the version number (it appears you are building it as 0.5.3+254), it gives an invalid response to the "send secondary device attributes" escape sequence. When the application writes
ESC[>c
the terminal responds with
ESC[>82;0.5.3+25;0c
which is invalid because of the "+" character. When vim is the application, this causes vim to interpret the whole response as vim commands, with unfortunate results. (That's how a friend of mine ran into the problem, which led me to discover it.)
It's not clear to me whether the "+" is upstream's fault, or ubuntu's fault; it looked like the sort of thing that a distribution might add to a version number, but it seems like it's actually the inevitable result of building from upstream SVN, in which case either I or you should pass this bug on upstream.
Description: Ubuntu 8.04.2
Release: 8.04
mrxvt:
Installed: 0.5.3-1
Candidate: 0.5.3-1
Version table:
*** 0.5.3-1 0
600 http://
100 /var/lib/
What I expected: mrxvt would give a response to "send secondary device attributes" which vim would accept as parseable
What happened instead: mrxvt's response, as detailed above, was rejected by vim as unparseable, leading vim to execute gibberish as commands, with unfortunate results.
Thanks! Please let me know if I should refile this in any way, either with Ubuntu, or upstream with mrxvt.