Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #267531

Re: What sets LC_TIME?

From Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi>
Newsgroups linux.debian.user
Subject Re: What sets LC_TIME?
Date 2024-02-17 08:00 +0100
Message-ID <I8mQ2-aHy5-1@gated-at.bofh.it> (permalink)
References <I81Lz-auSx-1@gated-at.bofh.it> <I85vP-ax4I-5@gated-at.bofh.it> <I86Bz-axFK-7@gated-at.bofh.it> <I87eh-ay7E-7@gated-at.bofh.it>
Organization An impatient and LOUD arachnid

Show all headers | View raw


Greg Wooledge <greg@wooledge.org> writes:

> On Fri, Feb 16, 2024 at 03:34:12PM +0200, Anssi Saari wrote:
>> Yah. It was ssh passing through all that. On serial console, locale
>> settings are as expected:
>> 
>> $ locale
>> LANG=en_US.UTF-8
>> LANGUAGE=en_US:en
>> LC_CTYPE="en_US.UTF-8"
>> LC_NUMERIC="en_US.UTF-8"
>> LC_TIME="en_US.UTF-8"
> [...]
>
> Well then, that just changes the mystery from "happens on the Debian
> system I ssh into" to "happens on my ssh client".  For some reason,
> your ssh client has all of those LC_* variables set in its environment,
> which is still quite unusual.

Not at all, I know perfectly well where that comes from. I'd be upset if
I didn't. I set all that in my shell config. It's a kind of a legacy
contamination from remote shell machines. As I don't have root on all
the shell machines I use, I have traditionally configured locales in
shell init there. And at some point, I've copied those locale settings
to my home desktop, possibly other machines too.

I guess one of these days I'll run update-locale and clean up my shell
config.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

What sets LC_TIME? Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-02-16 09:30 +0100
  Re: What sets LC_TIME? Greg Wooledge <greg@wooledge.org> - 2024-02-16 13:30 +0100
    Re: What sets LC_TIME? Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-02-16 14:40 +0100
      Re: What sets LC_TIME? Greg Wooledge <greg@wooledge.org> - 2024-02-16 15:20 +0100
        Re: What sets LC_TIME? David Wright <deblis@lionunicorn.co.uk> - 2024-02-16 18:20 +0100
          Re: What sets LC_TIME? Greg Wooledge <greg@wooledge.org> - 2024-02-16 22:30 +0100
            Re: What sets LC_TIME? David Wright <deblis@lionunicorn.co.uk> - 2024-02-17 00:20 +0100
              Re: What sets LC_TIME? <tomas@tuxteam.de> - 2024-02-17 07:00 +0100
            Re: What sets LC_TIME? debian-user@howorth.org.uk - 2024-02-17 21:20 +0100
              Re: What sets LC_TIME? Greg Wooledge <greg@wooledge.org> - 2024-02-17 21:30 +0100
        Re: What sets LC_TIME? Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-02-17 08:00 +0100

csiph-web