mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
As of release 1.0, the server automatically sets the status-utf8, and utf8
options if started with -u.
This commit is contained in:
parent
f7cb814613
commit
21dc792395
14
FAQ
14
FAQ
@ -95,19 +95,17 @@ default) to the new key. For example:
|
|||||||
|
|
||||||
* How do I use UTF-8?
|
* How do I use UTF-8?
|
||||||
|
|
||||||
When running tmux in a UTF-8 capable terminal, two things must be done to
|
When running tmux in a UTF-8 capable terminal, UTF-8 must be turned on in tmux;
|
||||||
enable support. UTF-8 must be turned on in tmux; this may be done separately
|
as of release 0.9, tmux attempts to autodetect a UTF-8-capable terminal by
|
||||||
for each tmux window or globally by setting the "utf8" flag:
|
|
||||||
|
|
||||||
setw -g utf8 on
|
|
||||||
|
|
||||||
As of release 0.9, tmux attempts to autodetect a UTF-8-capable terminal by
|
|
||||||
checking the LC_ALL, LC_CTYPE and LANG environment variables. list-clients may
|
checking the LC_ALL, LC_CTYPE and LANG environment variables. list-clients may
|
||||||
be used to check if this is detected correctly; if not, the -u command-line
|
be used to check if this is detected correctly; if not, the -u command-line
|
||||||
flag may be specified when creating or attaching a client to a tmux session:
|
flag may be specified when creating or attaching a client to a tmux session:
|
||||||
|
|
||||||
$ tmux -u new
|
$ tmux -u new
|
||||||
|
|
||||||
|
Since the 1.0 release, tmux will turn on UTF-8 related options automatically
|
||||||
|
(ie status-utf8, and utf8) if the above conditions are met.
|
||||||
|
|
||||||
* How do I use a 256 colour terminal?
|
* How do I use a 256 colour terminal?
|
||||||
|
|
||||||
Provided the underlying terminal supports 256 colours, it is usually sufficient
|
Provided the underlying terminal supports 256 colours, it is usually sufficient
|
||||||
@ -239,4 +237,4 @@ have TERM set to xterm):
|
|||||||
|
|
||||||
set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@"
|
set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@"
|
||||||
|
|
||||||
$Id: FAQ,v 1.34 2010-01-10 00:14:34 nicm Exp $
|
$Id: FAQ,v 1.35 2010-01-19 00:55:56 tcunha Exp $
|
||||||
|
Loading…
x
Reference in New Issue
Block a user