Your message dated Mon, 20 Feb 2012 03:25:04 +0100
with message-id <[email protected]>
and subject line Re: Bug#407584: screen should assume -U if locale is a .UTF-8
has caused the Debian Bug report #407584,
regarding screen should assume -U if locale is a .UTF-8
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
407584: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407584
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: screen
Version: 4.0.3-0.2
Severity: wishlist
screen supports UTF-8 great if -U is used. However, it must be specified
on the command line even if the current locale is a .UTF-8 type (e.g.
en_US.UTF-8, etc).
It would be more appropriate for screen to check the locale, and if it's
anything.UTF-8 then it should automatically go into UTF-8 mode.
The -U option would still be useful for forcing UTF-8 mode regardless
of locale; it could probably be extended to have an extra option to turn
UTF-8 off unconditionally in case there are problems. For instance, -U
to turn it always on, -u to turn it always off, and if neither is given,
it's detected from the locale.
If you think this would be useful but need some help implementing it, I
would be happy to provide a patch, as it's pretty simple to do a locale
check if you know how. =)
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages screen depends on:
ii base-passwd 3.5.11 Debian base system master password
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries
ii libncursesw5 5.5-5 Shared libraries for terminal hand
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii passwd 1:4.0.18.1-6 change and administer password and
screen recommends no packages.
-- debconf information excluded
--- End Message ---
--- Begin Message ---
Version: 4.0.3-14
Hi Wesley,
Wesley J. Landaker wrote:
> screen supports UTF-8 great if -U is used. However, it must be specified
> on the command line even if the current locale is a .UTF-8 type (e.g.
> en_US.UTF-8, etc).
>
> It would be more appropriate for screen to check the locale, and if it's
> anything.UTF-8 then it should automatically go into UTF-8 mode.
Despite there's no upstream version in between, this seems to be fixed
in at latest Debian Squeeze's version of screen, 4.0.3-14. The
following three commands work as expected:
env LANG=en_US.UTF-8 screen -c /dev/null -> UTF-8 Support
env LANG=en_US screen -c /dev/null -> No UTF-8 Support
env LANG=en_US screen -c /dev/null -U -> UTF-8 Support
Closing this bug herewith accordingly.
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
--- End Message ---