tag macos
Oct. 5, 2020
Fixing mosh failing on MacOS
macos
•
mosh
•
locale
•
terminal
•
iterm
•
console
TLDR
Problem: trying to connect to a remote server with mosh
you see error messages like:
mosh-client needs a UTF-8 native locale to run.
mosh-server needs a UTF-8 native locale to run.
The locale requested by LC_CTYPE=UTF-8 isn't available here.
locale: Cannot set LC_CTYPE to default locale: No such file or directory
OR when connecting with ssh
from iTerm2
you get the error message
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
Jul. 28, 2020
Fixing home/end behaviour on macos
macos
•
keyboard
This is just a quick note for how to make Home
and End
keys behave sensibly, i.e. take you to the beginning or end of a line: