Subject: How to get mosh to work on SDF
Date: 2018-07-03 15:50

**TL;DR;TL;DR:** `LC_ALL="en_GB.UTF-8" mosh [email protected]`

**TL;DR:** I kept getting error messages about missing locales
when trying to connect via `mosh`.  The locales actually existed
on the SDF server, *but* didn't have the same name as my ...
local ones.

   The locale requested by LC_CTYPE=en_GB.utf8 isn't available here.
   Running `locale-gen en_GB.utf8' may be necessary.

   mosh-server needs a UTF-8 native locale to run.

I tried setting a few different locales on my side, but that
wasn't working.

So I went and looked up just *where* locales are kept on NetBSD.

   faeroes% ls /usr/share/locale
   [...]
   en_GB.ISO8859-1      is_IS.ISO8859-1      pt_BR.ISO8859-1      zh_HK.UTF-8
   en_GB.ISO8859-15     is_IS.ISO8859-15     pt_BR.UTF-8          zh_TW
   en_GB.UTF-8          is_IS.UTF-8          pt_PT.ISO8859-1      zh_TW.Big5
   [...]

`en_GB.UTF-8` **is** available, but the local one is called
`en_GB.utf8`.  Setting `LC_ALL` to *that* fixed the issue.