[mosh-devel] stripping locale support from mosh

2012-10-05 Thread Edward Peschko
All, Again, this is in pursuit of better, more bullet proof connections in automation. Could mosh perhaps be able to disable locale support, or make it optional? For several applications of mosh (including mine) unfortunately this is critical - the 'devices' we produce, for example are stripped

Re: [mosh-devel] stripping locale support from mosh

2012-10-05 Thread Keith Winstein
Hi Ed, You can force mosh to start up outside a UTF-8 charset by editing the is_utf8_locale() function (in src/util/locale_utils.cc) to always return true. (Patch attached.) As you can appreciate, it's a lot easier to maintain a terminal emulator for _one_ charset than to try to make it agile