Changed language, now terminal isn't working right
Clash Royale CLAN TAG#URR8PPP
- Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.
- I changed the language from English to Spanish using some GUI tool.
- I changed the language back to English again (i.e., everything should now be back to how it was).
- Various terminal programs no longer use the Unicode box-drawing characters any more.
lsblk
now uses the verticle-pipe and backtick characters.htop
does likewise.tmux
uses rows ofx
characters (alsoq
and a few others).- Problem appears both with and without
tmux
running.
- Output from
locale
looks the same as before. - PuTTY has apparently set
TERM=xterm
, which has what it was before.
I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!
terminal locale language
add a comment |
- Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.
- I changed the language from English to Spanish using some GUI tool.
- I changed the language back to English again (i.e., everything should now be back to how it was).
- Various terminal programs no longer use the Unicode box-drawing characters any more.
lsblk
now uses the verticle-pipe and backtick characters.htop
does likewise.tmux
uses rows ofx
characters (alsoq
and a few others).- Problem appears both with and without
tmux
running.
- Output from
locale
looks the same as before. - PuTTY has apparently set
TERM=xterm
, which has what it was before.
I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!
terminal locale language
Crawling throughlsblk
using GDB, it appears it useslibsmartcols
to do the table drawing.
– MathematicalOrchid
Feb 18 at 17:26
It seems changingLC_CTYPE=en_GB
toen_GB.utf8
fixestmux
, but notlsblk
.
– MathematicalOrchid
Feb 22 at 13:19
add a comment |
- Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.
- I changed the language from English to Spanish using some GUI tool.
- I changed the language back to English again (i.e., everything should now be back to how it was).
- Various terminal programs no longer use the Unicode box-drawing characters any more.
lsblk
now uses the verticle-pipe and backtick characters.htop
does likewise.tmux
uses rows ofx
characters (alsoq
and a few others).- Problem appears both with and without
tmux
running.
- Output from
locale
looks the same as before. - PuTTY has apparently set
TERM=xterm
, which has what it was before.
I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!
terminal locale language
- Everything was working fine. I could connect into the system with PuTTY, and everything would display correctly.
- I changed the language from English to Spanish using some GUI tool.
- I changed the language back to English again (i.e., everything should now be back to how it was).
- Various terminal programs no longer use the Unicode box-drawing characters any more.
lsblk
now uses the verticle-pipe and backtick characters.htop
does likewise.tmux
uses rows ofx
characters (alsoq
and a few others).- Problem appears both with and without
tmux
running.
- Output from
locale
looks the same as before. - PuTTY has apparently set
TERM=xterm
, which has what it was before.
I'm really not sure what other settings would affect terminal rendering... but this is really driving me nuts!
terminal locale language
terminal locale language
edited Feb 11 at 18:22
Jeff Schaller
42.9k1159137
42.9k1159137
asked Feb 11 at 18:04
MathematicalOrchidMathematicalOrchid
2,36961845
2,36961845
Crawling throughlsblk
using GDB, it appears it useslibsmartcols
to do the table drawing.
– MathematicalOrchid
Feb 18 at 17:26
It seems changingLC_CTYPE=en_GB
toen_GB.utf8
fixestmux
, but notlsblk
.
– MathematicalOrchid
Feb 22 at 13:19
add a comment |
Crawling throughlsblk
using GDB, it appears it useslibsmartcols
to do the table drawing.
– MathematicalOrchid
Feb 18 at 17:26
It seems changingLC_CTYPE=en_GB
toen_GB.utf8
fixestmux
, but notlsblk
.
– MathematicalOrchid
Feb 22 at 13:19
Crawling through
lsblk
using GDB, it appears it uses libsmartcols
to do the table drawing.– MathematicalOrchid
Feb 18 at 17:26
Crawling through
lsblk
using GDB, it appears it uses libsmartcols
to do the table drawing.– MathematicalOrchid
Feb 18 at 17:26
It seems changing
LC_CTYPE=en_GB
to en_GB.utf8
fixes tmux
, but not lsblk
.– MathematicalOrchid
Feb 22 at 13:19
It seems changing
LC_CTYPE=en_GB
to en_GB.utf8
fixes tmux
, but not lsblk
.– MathematicalOrchid
Feb 22 at 13:19
add a comment |
1 Answer
1
active
oldest
votes
Well, I thought the locale was still set the same... but it wasn't.
It turns out previously the locale was en_GB.utf8
, whereas now it's just en_GB
.
Setting this to the correct value outside of tmux
seems to make everything behave correctly again.
A quirk is that for this to take effect inside tmux
, it appears you have to exit all sessions, set the environment variable, and then start tmux
again. Presumably the server itself is caching the value or something...
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499999%2fchanged-language-now-terminal-isnt-working-right%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Well, I thought the locale was still set the same... but it wasn't.
It turns out previously the locale was en_GB.utf8
, whereas now it's just en_GB
.
Setting this to the correct value outside of tmux
seems to make everything behave correctly again.
A quirk is that for this to take effect inside tmux
, it appears you have to exit all sessions, set the environment variable, and then start tmux
again. Presumably the server itself is caching the value or something...
add a comment |
Well, I thought the locale was still set the same... but it wasn't.
It turns out previously the locale was en_GB.utf8
, whereas now it's just en_GB
.
Setting this to the correct value outside of tmux
seems to make everything behave correctly again.
A quirk is that for this to take effect inside tmux
, it appears you have to exit all sessions, set the environment variable, and then start tmux
again. Presumably the server itself is caching the value or something...
add a comment |
Well, I thought the locale was still set the same... but it wasn't.
It turns out previously the locale was en_GB.utf8
, whereas now it's just en_GB
.
Setting this to the correct value outside of tmux
seems to make everything behave correctly again.
A quirk is that for this to take effect inside tmux
, it appears you have to exit all sessions, set the environment variable, and then start tmux
again. Presumably the server itself is caching the value or something...
Well, I thought the locale was still set the same... but it wasn't.
It turns out previously the locale was en_GB.utf8
, whereas now it's just en_GB
.
Setting this to the correct value outside of tmux
seems to make everything behave correctly again.
A quirk is that for this to take effect inside tmux
, it appears you have to exit all sessions, set the environment variable, and then start tmux
again. Presumably the server itself is caching the value or something...
answered Feb 22 at 13:24
MathematicalOrchidMathematicalOrchid
2,36961845
2,36961845
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f499999%2fchanged-language-now-terminal-isnt-working-right%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Crawling through
lsblk
using GDB, it appears it useslibsmartcols
to do the table drawing.– MathematicalOrchid
Feb 18 at 17:26
It seems changing
LC_CTYPE=en_GB
toen_GB.utf8
fixestmux
, but notlsblk
.– MathematicalOrchid
Feb 22 at 13:19