[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#790401: openssh: Please pass the XTERM_VERSION environment variable



2015-06-29 04:53:31 +0200, Vincent Lefevre:
[...]
> Passing the terminal version to the server side is useful for programs
> that depend on some terminal features (for instance, to make sure that
> some query escape sequence will receive an answer).
> 
> In the case of xterm, it is provided by XTERM_VERSION, which should be
> added to the SendEnv line in /etc/ssh/ssh_config and to the AcceptEnv
> line in /etc/ssh/sshd_config.
[...]

Note that applications can query the version from the terminal
emulator directly with the \e[>0c sequence. That's pretty-much
universal among X11 terminal emulators, at least all those for
which $TERM is xterm*.

-- 
Stephane


Reply to: