urxvt minor version number provided by the xterm sequence

Raphaƫl raphael.droz at gmail.com
Tue Jan 1 18:44:47 CET 2013


Hi,

When using the 702 Xterm sequence, the output from URxvt_version
does not match the man page.
man 7 urxvt says that this will reports [...] and the major and minor
version numbers.

$ printf '\33]702;?\007'
702;rxvt-unicode;urxvtterm;9;1

AFAICT "1" is only the first digit of the minor version number.

>From src/command.C:
> case URxvt_version:
>   if (query)
>     tt_printf ("\33]%d;rxvt-unicode;%-.20s;%c;%c%c",
>                op,
>                rs[Rs_name], VERSION[0], VERSION[2],
>                resp);

>From src/version.h:
> #define VERSION "9.16"


I also have a question about this: is there any possibility to grab this
output (generated with tt_printf()) in order to use it later within the shell ?



best regards
... and happy new year




More information about the rxvt-unicode mailing list