Subject: lib/11993: locale display inconsistency
To: None <gnats-bugs@gnats.netbsd.org>
From: None <prlw1@cam.ac.uk>
List: netbsd-bugs
Date: 01/18/2001 09:54:17
>Number:         11993
>Category:       lib
>Synopsis:       new locale and old locale display differently
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 18 09:54:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Welche
>Release:        17 Jan 2001
>Organization:
>Environment:
1.5Q/i386
>Description:
Viewing a file containing tab (or other control characters) using more -U
with no locale setting shows ^I in reverse video in an xterm|vt220. Setting
LC_CTYPE to iso_8859_1 shows the same. Setting LC_CTYPE to the new values in
/usr/share/locale such as en_GB.ISO8859-1 shows a tab wide block in reverse
video.
>How-To-Repeat:
- Create a file foobar containing a tab
- if you haven't got iso_8859_1, from Manuel's notes:
    Grab the 'locale.tgz' file from
    ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/french-1.4/
    and extract it from '/'. Then set LC_CTYPE to iso_8859_1, it should work.
- env LC_CTYPE= more -U filename
- env LC_CTYPE=iso_8859_1 more -U filename
- env LC_CTYPE=en_GB.ISO8859-1 more -U filename
>Fix:
Don't know - vague recollection that iso_8859_1 was not created using
mklocale, but another locale compiler..
>Release-Note:
>Audit-Trail:
>Unformatted: