[mosh-devel] Is there a way to tell if you are running inside mosh?

Alex Chernyakhovsky achernya at mit.edu
Thu Nov 15 10:32:32 EST 2018


Hi,

What's the value of TERM outside, without running ssh?

Sincerely,
-Alex
On Thu, Nov 15, 2018 at 8:03 AM TJ Luoma <luomat at gmail.com> wrote:
>
> > What's the value of $TERM in the terminal emulator where you are
> > running ssh/mosh?
>
> both ssh and mosh say TERM is 'xterm-256color'
>
> --
> TJ Luoma
> TJ @ MacStories
> Personal Website: luo.ma (aka RhymesWithDiploma.com)
> Twitter: @tjluoma


More information about the mosh-devel mailing list