On 2014-03-20 14:02:57 +0100, C.v.St. wrote: > On 20.03.2014 13:42, Florian Bruhin wrote: > > * Vincent Lefevre <vincent-m...@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.
I'm not sure I understand what you mean. Mosh forces TERM to be xterm, so that the smacs definition is fixed. > 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. With xterm under Debian (at least), smacs is not ^N, but a true escape sequence: smacs=\E(0 -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) _______________________________________________ mosh-users mailing list mosh-users@mit.edu http://mailman.mit.edu/mailman/listinfo/mosh-users