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


Groups > linux.debian.user > #198476 > unrolled thread

messages from GNU screen always in English

Started bydavidson <davidson@freevolt.org>
First post2018-08-09 15:20 +0200
Last post2018-08-09 16:10 +0200
Articles 7 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  messages from GNU screen always in English davidson <davidson@freevolt.org> - 2018-08-09 15:20 +0200
    Re: messages from GNU screen always in English Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-09 15:30 +0200
    Re: messages from GNU screen always in English Darac Marjal <mailinglist@darac.org.uk> - 2018-08-09 15:30 +0200
      Re: messages from GNU screen always in English Zenaan Harkness <zenaan@freedbms.net> - 2018-08-12 15:50 +0200
    [solved] Re: messages from GNU screen always in English davidson <davidson@freevolt.org> - 2018-08-09 16:00 +0200
      Re: Brother or Canon; not both "Allen Hoover" <altech@emypeople.net> - 2018-08-09 16:10 +0200
      Re: [solved] Re: messages from GNU screen always in English <tomas@tuxteam.de> - 2018-08-09 16:10 +0200

#198476 — messages from GNU screen always in English

Fromdavidson <davidson@freevolt.org>
Date2018-08-09 15:20 +0200
Subjectmessages from GNU screen always in English
Message-ID<wkT17-3Vh-1@gated-at.bofh.it>
It seems that regardless of my locale (LANG=fr_FR.UTF-8,
LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
always in English.

Has anyone else noticed this, or am I doing something wrong?

For the record, the following briefly illustrates what I do (for
example):

  $ export LANG=fr_FR.UTF-8 ; screen # set locale for tty and start screen
  $ exit # quit screen session
  [screen is terminating]

The termination message above illustrates the unexpected behavior I am
talking about.

Also for the record:

  $ locale -a
  C
  C.UTF-8
  de_DE.utf8
  en_US.utf8
  fr_CA.utf8
  fr_FR.utf8
  POSIX
  ru_RU.utf8

(By contrast, screen's ":time" command *does* obey the locale, though
it displays non-ascii characters incorrectly, and as far as I know
that is a different issue, possibly worth another thread.)

-- 
  The day will come              |  Last words, August Spies (1855--1887).
  When our silence will be       |  Hanged, by the state of Illinois,
  More powerful than             |  alongside fellow journalists
  The voices you strangle today  |  Adolf Fischer and Albert Parsons.

[toc] | [next] | [standalone]


#198477

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2018-08-09 15:30 +0200
Message-ID<wkTaO-3YD-15@gated-at.bofh.it>
In reply to#198476
On Thu, Aug 09, 2018 at 01:17:29PM +0000, davidson wrote:
> It seems that regardless of my locale (LANG=fr_FR.UTF-8,
> LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
> always in English.

That's because nobody has translated screen into other languages.
I don't even know whether the groundwork has been laid to make such
translations *possible*.

Compare these outputs:

dpkg -L bash | grep \\.mo
dpkg -L coreutils | grep \\.mo
dpkg -L screen | grep \\.mo

[toc] | [prev] | [next] | [standalone]


#198478

FromDarac Marjal <mailinglist@darac.org.uk>
Date2018-08-09 15:30 +0200
Message-ID<wkTaO-3YD-17@gated-at.bofh.it>
In reply to#198476

[Multipart message — attachments visible in raw view] — view raw

On Thu, Aug 09, 2018 at 01:17:29PM +0000, davidson wrote:
>It seems that regardless of my locale (LANG=fr_FR.UTF-8,
>LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
>always in English.
>
>Has anyone else noticed this, or am I doing something wrong?
>
>For the record, the following briefly illustrates what I do (for
>example):
>
> $ export LANG=fr_FR.UTF-8 ; screen # set locale for tty and start screen
> $ exit # quit screen session
> [screen is terminating]
>
>The termination message above illustrates the unexpected behavior I am
>talking about.
>
>Also for the record:
>
> $ locale -a
> C
> C.UTF-8
> de_DE.utf8
> en_US.utf8
> fr_CA.utf8
> fr_FR.utf8
> POSIX
> ru_RU.utf8
>
>(By contrast, screen's ":time" command *does* obey the locale, though
>it displays non-ascii characters incorrectly, and as far as I know
>that is a different issue, possibly worth another thread.)
>
>-- 
> The day will come              |  Last words, August Spies (1855--1887).
> When our silence will be       |  Hanged, by the state of Illinois,
> More powerful than             |  alongside fellow journalists
> The voices you strangle today  |  Adolf Fischer and Albert Parsons.
>

"screen is terminating" is only found in one place in the screen 
source code, namely at [screen.c:1824][1]. It's wrapped by the function 
AddStr() which is defined at [display.c:2946][2] and which appears to 
merely be concerned with encoding, rather than translating the string 
provided.

So, in summary, "screen is terminating" is hard-coded in english, and 
you should probably raise a wishlist bug requesting it be 
translated/translatable.



[1] https://sources.debian.org/src/screen/4.6.2-3/screen.c/?hl=1824#L1824
[2] https://sources.debian.org/src/screen/4.6.2-3/display.c/?hl=2946#L2946

-- 
For more information, please reread.

[toc] | [prev] | [next] | [standalone]


#198660

FromZenaan Harkness <zenaan@freedbms.net>
Date2018-08-12 15:50 +0200
Message-ID<wlYUN-20M-9@gated-at.bofh.it>
In reply to#198478
On Thu, Aug 09, 2018 at 02:27:07PM +0100, Darac Marjal wrote:
> On Thu, Aug 09, 2018 at 01:17:29PM +0000, davidson wrote:
> > It seems that regardless of my locale (LANG=fr_FR.UTF-8,
> > LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
> > always in English.
> > 
> > Has anyone else noticed this, or am I doing something wrong?
> > 
> > For the record, the following briefly illustrates what I do (for
> > example):
> > 
> > $ export LANG=fr_FR.UTF-8 ; screen # set locale for tty and start screen
> > $ exit # quit screen session
> > [screen is terminating]
> > 
> > The termination message above illustrates the unexpected behavior I am
> > talking about.


> "screen is terminating" is only found in one place in the screen source code,
> namely at [screen.c:1824][1]. It's wrapped by the function AddStr() which is
> defined at [display.c:2946][2] and which appears to merely be concerned with
> encoding, rather than translating the string provided.
> 
> So, in summary, "screen is terminating" is hard-coded in english, and you
> should probably raise a wishlist bug requesting it be translated/translatable.


I upgraded to tmux a couple years ago - took a bit of customization
to make it work like screen, but never looked back. I did not a gnu
screen update a year or so ago, but the jazz band is playing at the
tmux corral.

[toc] | [prev] | [next] | [standalone]


#198479 — [solved] Re: messages from GNU screen always in English

Fromdavidson <davidson@freevolt.org>
Date2018-08-09 16:00 +0200
Subject[solved] Re: messages from GNU screen always in English
Message-ID<wkTDP-48R-1@gated-at.bofh.it>
In reply to#198476
On Thu, 9 Aug 2018, davidson wrote:

> It seems that regardless of my locale (LANG=fr_FR.UTF-8,
> LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
> always in English.
>
> Has anyone else noticed this, or am I doing something wrong?

For taking the time to explain what is going on here, I am grateful to
Greg Wooledge and Darac Marjal.

-- 
  The day will come              |  Last words, August Spies (1855--1887).
  When our silence will be       |  Hanged, by the state of Illinois,
  More powerful than             |  alongside fellow journalists
  The voices you strangle today  |  Adolf Fischer and Albert Parsons.

[toc] | [prev] | [next] | [standalone]


#198481 — Re: Brother or Canon; not both

From"Allen Hoover" <altech@emypeople.net>
Date2018-08-09 16:10 +0200
SubjectRe: Brother or Canon; not both
Message-ID<wkTNv-4si-5@gated-at.bofh.it>
In reply to#198479
> On Wed 08 Aug 2018 at 19:12:09 -0500, Allen Hoover wrote:
> 
> > Ever since upgrading some customized Debian 64bit systems to Debian 8, I've
> > had trouble with the Canon UFRII printer drivers.  I've now been
> > testing this issue on a vanilla Debian 8, and Debian 9 system with the
> > same issues on both.
> > 
> > I use official Brother printer drivers which are i386 only, so have
> > multi-arch installed, and the libc6-i386 package.  The Canon UFRII
> > package installs fine, but when printing with any of those drivers the
> > following error shows in the status: "Idle - src =
> > libcanon_pdlwrapper.c, line = 514, err = 0nError Response:ReqNo=2,
> > SeqNo=3,opvpErrorNo=-2".  If I uninstall the libc6-i386 package, the
> > Canon drivers dont't throw an error, but the official Brother drivers
> > quit working. The Brother doesn't indicate any error, but it simply
> > prints nothing.
> > 
> > This was very repeatable on the 3 different systems( 2 systems were
> > fresh installs) I've tried.  Its like an On/Off switch, install
> > libc6-i386 and only one brand works, un-install and the only the other
> > brand works
> 
> Printer models, please.
> 
> -- 
> Brian.
> 
> 


The Canon issue first appeared with a Canon MF414, though the status error
message appears when using any of the UFRII drivers. I've been mainly testing
on a Brother MFC 9560, though at least one other official Brother driver has 
same issue.  I'm using very latest UFRII package.


Thanks, Allen

[toc] | [prev] | [next] | [standalone]


#198483 — Re: [solved] Re: messages from GNU screen always in English

From<tomas@tuxteam.de>
Date2018-08-09 16:10 +0200
SubjectRe: [solved] Re: messages from GNU screen always in English
Message-ID<wkTNw-4si-13@gated-at.bofh.it>
In reply to#198479
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Aug 09, 2018 at 02:01:49PM +0000, davidson wrote:
> On Thu, 9 Aug 2018, davidson wrote:
> 
> >It seems that regardless of my locale (LANG=fr_FR.UTF-8,
> >LANG=de_DE.UTF-8, LANG=ru_RU.UTF-8, etc), messages from GNU screen are
> >always in English.
> >
> >Has anyone else noticed this, or am I doing something wrong?
> 
> For taking the time to explain what is going on here, I am grateful to
> Greg Wooledge and Darac Marjal.

As another data point, here's the project home page:

  https://www.gnu.org/software/screen/

FWIW, they have one user and one devel mailing list

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltsSUcACgkQBcgs9XrR2kab+ACeNaN5dFAv7X0VphNMfz2zo5/+
27EAn1swWe9urlGvZY68hMI7Y7wFhEzi
=0as2
-----END PGP SIGNATURE-----

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web