sábado, maio 13, 2017

pfsense tmux locale problem

2.3.3-RELEASE tmux locale problem



$ /usr/local/bin/tmux



Error: tmux: need UTF-8 locale (LC_CTYPE) but have US-ASCII



Solution:







grab the UTF-8 locale files from a FreeBSD box of the same vintage, it works. For example, if you grab http://atxfiles.pfsense.org/jimp/fbsd-10.3-en_US.UTF-8.tgz and then decompress it in /usr/share/locale/en_US.UTF-8 then tmux runs.

$ cd /usr/share/locale/en_US.UTF-8
$ tar xvfj ~/fbsd-10.3-en_US.UTF-8.tgz
#single line command
$  tar xvfz fbsd-10.3-en_US.UTF-8.tgz -C /usr/share/locale/en_US.UTF-8/
Test if tmux works...

Nenhum comentário: