tmux and locale en_US.UTF-8
Hi, I compiled libevent_2.1.12 and tmux 3.2a from source in the
voxl-emulatordocker and packed them both into a single .ipk. I did not do anything special here. Once installed on the voxl, i see
$ tmux tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968
tmuxneeds locale support, which voxl does not seem to have
LC_ALL=en_US.UTF-8 bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
Any ideas on how to add locale / tmux support? thanks
There's this: https://gitlab.com/voxl-public/voxl-docker-images/roskinetic-docker/-/issues/3 if you want to try running in a Docker. We haven't tried this outside of Docker.
Thanks @Eric-Katzfey, I've solved the problem by editing a few lines of the tmux source code.
My process for creating an ipk is outlined here: https://gitlab.com/mit-acl/fsw/snap-stack/voxl-dev/-/blob/main/extras/create_tmux_ipk.sh
@plusk01 Excellent, thanks for sharing!
Curious if you are still using tmux and able to run automatic tmux (or tmuxp) scripts. I have the issue explained here: https://forum.modalai.com/topic/1248/issue-running-tmux-or-tmux-scripts-on-voxl2
which seems related.