From owner-freebsd-hackers Sun Oct 15 09:00:50 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id JAA29974 for hackers-outgoing; Sun, 15 Oct 1995 09:00:50 -0700 Received: from sequent.kiae.su (sequent.kiae.su [144.206.136.6]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id JAA29958 for ; Sun, 15 Oct 1995 09:00:37 -0700 Received: by sequent.kiae.su id AA05826 (5.65.kiae-2 ); Sun, 15 Oct 1995 19:52:35 +0400 Received: by sequent.KIAE.su (UUMAIL/2.0); Sun, 15 Oct 95 19:52:34 +0300 Received: (from ache@localhost) by ache.dialup.demos.ru (8.6.11/8.6.9) id SAA00655; Sun, 15 Oct 1995 18:45:39 +0300 To: hackers@freefall.FreeBSD.org, "Kaleb S. KEITHLEY" References: <199510151053.GAA03600@exalt.x.org> In-Reply-To: <199510151053.GAA03600@exalt.x.org>; from "Kaleb S. KEITHLEY" at Sun, 15 Oct 1995 06:53:52 EST Message-Id: Organization: Olahm Ha-Yetzirah Date: Sun, 15 Oct 1995 18:45:39 +0300 (MSK) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) X-Class: Fast Subject: Re: A couple problems in FreeBSD 2.1.0-950922-SNAP Lines: 39 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1645 Sender: owner-hackers@FreeBSD.org Precedence: bulk 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