You are not logged in.

#1 2012-04-09 22:19:46

chneukirchen
Member
Registered: 2010-02-11
Posts: 100

mosh: An Interactive Remote Shell for Mobile Clients

[I only packaged this, but it didn't seem to have the attention yet I think it deserves, so I will advertise it here.]

Mosh is a replacement for SSH. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.
The website explains it better than I can: http://mosh.mit.edu

Try it now:

packer -S mosh-git

Last edited by chneukirchen (2012-04-28 13:17:02)

Offline

#2 2012-04-10 17:55:04

nperry
Member
Registered: 2010-05-16
Posts: 87

Re: mosh: An Interactive Remote Shell for Mobile Clients

I am getting error message like this

mosh requires a UTF-8 locale

Yet I do seem to be or is it because LC_ALL isn't set?

[neil@laptop ~]$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Edit: I derped I forgot urxvt doesn't support UTF-8 but the mosh website says it support urxvt :s
Edit2.0:

mosh remotehost --server="LANG=$LANG mosh-server"

seems to work.

Last edited by nperry (2012-04-10 18:50:42)

Offline

#3 2012-04-11 04:19:03

Barthalion
Forum Fellow
From: Poland
Registered: 2010-02-26
Posts: 111

Re: mosh: An Interactive Remote Shell for Mobile Clients

u in urxvt stands for unicode.

Offline

#4 2012-04-14 22:50:22

rikmer
Member
Registered: 2012-04-14
Posts: 1

Re: mosh: An Interactive Remote Shell for Mobile Clients

I am kinda new to archlinux and linux itself, so I don't know if the solution was explained right now.
If so then I beg you to explain it bit more further. If not ... somebody has a solution for this?

Offline

#5 2012-04-22 11:56:41

adouzzy
Member
Registered: 2010-08-04
Posts: 5

Re: mosh: An Interactive Remote Shell for Mobile Clients

I had the same problem and fixed it.
It's probabily your client locale is not installed on the server. For example, I had en_AU.UTF-8 on my laptop, but its not installed on the sever.
You need to uncount en_GB.UTF-8 in /etc/locale.gen
then run locale-gen.
This should solve your problem.

nperry wrote:

I am getting error message like this

mosh requires a UTF-8 locale

Yet I do seem to be or is it because LC_ALL isn't set?

[neil@laptop ~]$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Edit: I derped I forgot urxvt doesn't support UTF-8 but the mosh website says it support urxvt :s
Edit2.0:

mosh remotehost --server="LANG=$LANG mosh-server"

seems to work.

Offline

#6 2012-04-26 09:45:18

chneukirchen
Member
Registered: 2010-02-11
Posts: 100

Re: mosh: An Interactive Remote Shell for Mobile Clients

mobile-shell-git has been renamed to mosh-git, mobile-shell has been renamed to mosh.

Enjoy!

Offline

Board footer

Powered by FluxBB