Date: Sun, 15 Oct 1995 18:45:39 +0300 (MSK) From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su> To: hackers@freefall.FreeBSD.org, "Kaleb S. KEITHLEY" <kaleb@x.org> Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP Message-ID: <EaZoIWmWO1@ache.dialup.demos.ru> In-Reply-To: <199510151053.GAA03600@exalt.x.org>; from "Kaleb S. KEITHLEY" at Sun, 15 Oct 1995 06:53:52 EST References: <199510151053.GAA03600@exalt.x.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199510151053.GAA03600@exalt.x.org> Kaleb S. KEITHLEY
writes:
>If I create a file that has extended ASCII (ISO8859-1) characters in the
>name, ls always substitues a '?' for the non-ASCII characters. Note
>that ls on, e.g. SVR4, does not do this
Did you setenv ENABLE_STARTUP_LOCALE before calling ls?
See environ(7) (-current).
>So I think the test isprint in ls really ought to be isgraph instead. But
It is a question. The only difference is space: isprint allows it and isgraph
not. Does allowing spaces in file names considered bad?
>just fixing ls isn't enough. The default table of character types in
>libc/locale/table.c isn't populated well enought to handle the whole
>ISO8859-1 character set. The following patch fixes ls, libc, and also
Default code table is ASCII and _not_ ISO8859-1, so it not needed to be
populated. Default code table is strict 7bit.
>fixes some bugs in mklocale's lt_LN LC_CTYPE template.
BLANK fixes are incorrect, see isblank(3).
XDIGIT fixes are right but ASCII locale used
for digits and xdigits in any cases.
Other fixes which includes some additional big/lower letters probably
can go, I need to check 8859-1 description first.
BTW, xterm is known to dump core when any of 8bit locales set,
f.e. ISO8859-1 or KOI8-R. color_xterm or mxterm works right.
Can you track this bug, please?
--
Andrey A. Chernov : And I rest so composedly, /Now, in my bed,
ache@astral.msk.su : That any beholder /Might fancy me dead -
FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead.
RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EaZoIWmWO1>
