* [ptxdist] [PATCH] tmux: select utf-8 locales
@ 2018-02-21 12:07 Uwe Kleine-König
0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2018-02-21 12:07 UTC (permalink / raw)
To: ptxdist
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>
---
rules/tmux.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/rules/tmux.in b/rules/tmux.in
index 83f8e4e6022f..7b5359c86194 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.
--
2.16.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-21 12:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-21 12:07 [ptxdist] [PATCH] tmux: select utf-8 locales Uwe Kleine-König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox