File: README.mosh

package info (click to toggle)
mlterm 3.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,340 kB
  • sloc: ansic: 154,713; sh: 5,302; cpp: 2,953; objc: 2,776; java: 2,472; makefile: 2,445; perl: 1,674; xml: 44
file content (58 lines) | stat: -rw-r--r-- 1,730 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
comment -*- mode: text; tab-width:2; indent-tabs-mode:nil -*-

Memo about mosh

* Requirement
  libssh2
  mosh (1.3.2, 1.4.0)

* Build
  cd /foo/mosh-x.x.x
  ./configure ...
  (If you want to build with MinGW or use sixel graphics, use
   https://github.com/arakiken/mosh/archive/sixel-winsock.zip
   which works on winsock2 instead of *nix.)
  cd src/protobufs;make clean

  cd /bar/mlterm-x.x.x
  ./configure --with-mosh=/foo/mosh-x.x.x
  make
  make install

* Start
  mlterm --serv=mosh://...

* Environmental Variables
  o MOSH_SERVER
    Specify the path of mosh-server in the remote host.

  o MOSH_PREDICTION_DISPLAY
    Control use of speculative local echo.
    The value defaults to "adaptive", and can also be "always" or "never".

  o MOSH_UDP_PORT
    UDP port number or port-range to bind.
    This works same as -p option of mosh-server.
    The value format is "port[:port]".
    (By default, mosh-server uses a UDP port between 60000 and 61000)

* Note
  o Don't specify a value except "UTF-8" for "encoding" option.

  o It is impossible to change the value of "col_size_of_width_a" option.
    (mlterm for *nix)
    The value of "col_size_of_width_a" option is automatically determined by the
    result of wcwidth().

    (mlterm for win32api)
    The value of "col_size_of_width_a" option specified in startup is applied
    but permanently unchangeable.

  o The way of building mosh support in Android: See README.android

  o Unsupported platform: Java/SWT

  o https://github.com/arakiken/mosh/archive/sixel-winsock.zip utilizes
    DRCS-Sixel to show sixel graphics.
    mlterm 3.8.5 or later and RLogin 2.23.1 or later suport it.
    (DRCS-Sixel: https://qiita.com/arakiken/items/626b02cd857d20c12fbc)