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

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



2015-06-30 16:45:59 +0200, Vincent Lefevre:
> On 2015-06-30 15:04:17 +0100, Stephane Chazelas wrote:
> > Or use luit  that has been designed for that:
> 
> However it doesn't work from non-UTF-8 terminals.

Yes, though if you don't use a UTF-8 terminal you won't be able
to see arbitrary characters from those remote machines.

> > From a UTF-8 terminal:
> > 
> > luit -encoding 'ISO 8859-1' ssh host-known-to-use-latin1
> 
> This is not very good, because the default encoding on the remote
> machine may change without notice.

That's also potentially affected by the remote user's
.cshrc/.bashrc/.zshenv...

> > Or:
> > 
> > ssh -t host luit
> 
> Any solution without writing "luit" explicitly?

Other solutions can be GNU screen which can translate encodings
on the fly.

In any case, if you can't guarantee that the remote host will
have a locale with the same charset as used by your terminal,
you'll have to have something do some translation (and best is
to use a UTF-8 terminal emulator). Or fall-back to ASCII.

-- 
Stephane


Reply to: