ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    tmux and locale en_US.UTF-8

    Ask your questions right here!
    3
    5
    429
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      plusk01
      last edited by

      Hi, I compiled libevent_2.1.12 and tmux 3.2a from source in the voxl-emulator docker 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
      

      tmux needs 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

      1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • P
          plusk01
          last edited by

          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

          Eric KatzfeyE 1 Reply Last reply Reply Quote 1
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @plusk01
            last edited by

            @plusk01 Excellent, thanks for sharing!

            Jeff DelauneJ 1 Reply Last reply Reply Quote 0
            • Jeff DelauneJ
              Jeff Delaune @Eric Katzfey
              last edited by

              @Eric-Katzfey @plusk01

              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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors