Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 1996 14:55:11 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        imp@village.org, ache@nagual.ru (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=)
Subject:   Re: setlocale question
Message-ID:  <199609291255.OAA06956@uriah.heep.sax.de>
In-Reply-To: <199609291029.NAA00920@nagual.ru> from "[?KOI8-R?]" at "Sep 29, 96 01:29:35 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As [?KOI8-R?] wrote:

> No, cat not require setlocale() (old variant, at least).
> It uses isascii() for -v which is locale-independend.

It should use isprint().  Read the description of -v in the man page:

     -v      Displays non-printing characters so they are visible.  Control
                      ^^^^^^^^^^^^^^^^^^^^^^^

Since this will move it away from being ASCII-centric, it should
perhaps also use \xxx notation for non-printable characters instead of
this M-x crap.  Alas, this would move us away from the other BSDs
again.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609291255.OAA06956>