mrxvt with "+" in version gives invalid response to "send secondary device attributes" escape

Bug #385761 reported by Glenn Willen
6
This bug affects 1 person
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://apt-goobuntu hardy/universe Packages
        100 /var/lib/dpkg/status

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.