Hi,

after upgrading to an admittedly masked TMux 2.2, when I want
to ssh into it I get the following message:

  $ ssh -t gentoohost tmux attach
  tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968
  Connection to gentoohost.mydomain.local closed.

To find out what locale is set I wrote this little C
program:

  int main(int argc, char **argv, char **env)
  {
      char **e;
      for (e = env; *e != 0; e++)
          printf( "%s\n", *e);
      return 0;
  }

Then, after compiling,

  $ ssh -t chris ./showenv | grep '^LC\|^LANG'

this yields the empty result indeed. Therefore I guess
TMux's behaviour is correct and the mistake is done by some
ssh or login or whatsoever.

The top (grandparent) sshd process has LC_ALL and LANG set
with utf8, but the childs and grandchilds environments are
empty.

Probably I could get rid of the error message by SSH's
SendEnv feature, but this would be just a workaround.

What is your suggestion to solve this?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de

Reply via email to