summaryrefslogtreecommitdiffstats
path: root/rules/tmux.in
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-02-21 13:07:12 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-21 21:41:56 +0100
commitdf2a3cf0dda48e62837a53fad10bdb427731f343 (patch)
tree9a79395f0de7b53bc2192881d8af06faa8557d68 /rules/tmux.in
parent8b2677a076894c64d13c1eb322e5f61166e51781 (diff)
downloadptxdist-df2a3cf0dda48e62837a53fad10bdb427731f343.tar.gz
ptxdist-df2a3cf0dda48e62837a53fad10bdb427731f343.tar.xz
tmux: select utf-8 locales
When tmux starts with a non-utf-8 locale, it simply quits saying: tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968 So make sure that a suitable locale is selected. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/tmux.in')
-rw-r--r--rules/tmux.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/tmux.in b/rules/tmux.in
index 83f8e4e60..a53a60c4c 100644
--- a/rules/tmux.in
+++ b/rules/tmux.in
@@ -5,5 +5,9 @@ config TMUX
prompt "tmux"
select LIBEVENT
select NCURSES
+ # tmux needs an utf-8 locale. Select "en_US (UTF-8)" unless any other
+ # utf-8 locale is already enabled
+ select LOCALES if RUNTIME
+ select LOCALES_EN_US_UTF8 if !LOCALES_DE_DE_UTF8
help
Terminal multiplexer, something like GNU screen.