Mosh
for windows
0.Install
- cygwin taiwan mirror site: ftp://ftp.ntu.edu.tw/cygwin/
- install cygwin packages: mosh, openssh, perl
Putty
ref. Mosh, Putty, and Cygwin (with a side of Cygputty)
UTF-8
ref. Use the mosh-client in Cygwin
problem
mosh-server needs a UTF-8 native locale to run.
edit C:\cygwin\cygwin.bat
set LC_CTYPE=zh_TW.UTF-8
last option (if everything goes wrong)
modify cygwin/bin/mosh, line 292
$ENV{ 'LANG' } = 'zh_TW.UTF-8';
Ubuntu
ref. mosh
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:keithw/mosh
sudo apt-get update && sudo apt-get install -y mosh