[mosh-users] Alternate character set support (line grpahics) with terminfo

C.v.St. stucki-spam at t-online.de
Thu Mar 20 09:02:57 EDT 2014



On 20.03.2014 13:42, Florian Bruhin wrote:
 > * Vincent Lefevre <vincent-mosh at vinc17.net> [2014-03-20 13:29:33 +0100]:

 > > $ tput smacs; echo "mq>"
 > > └─>
...
 > Why would you need this anyways, when you can have Unicode?

Because many programs still work with the 'secondary charsets'
in the old logic of vt100 based terminals.

BUT mosh simply does not interfere. IF you have a definition
of 'smacs', your tput will simply write the corresponding chars
to 'the terminal', and what 'the terminal' will do with them
depends on the client side program, not on mosh.

The simple way tot test might be doing (on UNIXes):

$ echo '^Nmq>^O'

(^N and ^O are 'Control...) and you may need to type them
as <control-v><control-n> and <control-v><control-o> AND
do not forget the ' at both ends.

These are the default switching chars for vt100 based terms,
and IF this works on a local terminal AND on the same terminal
with a mosh-connection therein, the definition of the $TERM at
the server side is wrong.

IF, which should NOT happen, it really fails in the remote case
only, you'll have to find out, what filters the control chars...

Stucki


More information about the mosh-users mailing list