<div dir="ltr"><div dir="ltr">Hello -- I think the main issue here is that you are using ISO 2022 shift sequences to switch to the "alternate character set" to draw those lines on the screen. Mosh follows the practice of some (but not most) UTF-8 (ISO 10646) ANSI terminal emulators in refusing to interpret the "locking shifts" of the older ISO 2022 standard. Hence all those "q"s on the screen.<div><br></div><div>Your options are probably:</div><div><br></div><div>a) Change your shell configuration to send real Unicode (UTF-8) characters instead of switching into an alternate character set via ISO 2022</div><div>b) Use a program like "screen", "tmux", or "luit" to translate between ISO 2022 (input) and UTF-8 (output) for Mosh.</div><div>c) Detect if you are running inside a mosh-server with a command like `pstree -plus $$ | grep mosh-server`</div><div><br></div><div>Would have happily answered this over IRC as well!</div><div><br></div><div>Best regards,</div><div>Keith</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 15, 2018 at 7:47 AM TJ Luoma <<a href="mailto:luomat@gmail.com">luomat@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> What's the value of TERM outside, without running ssh?<br>
<br>
same, "xterm-256color"<br>
<br>
TjL<br>
<br>
--<br>
TJ Luoma<br>
TJ @ MacStories<br>
Personal Website: <a href="http://luo.ma" rel="noreferrer" target="_blank">luo.ma</a> (aka RhymesWithDiploma.com)<br>
Twitter: @tjluoma<br>
_______________________________________________<br>
mosh-devel mailing list<br>
<a href="mailto:mosh-devel@mit.edu" target="_blank">mosh-devel@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/mosh-devel" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-devel</a><br>
</blockquote></div>