Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 1996 09:20:23 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        ache@nagual.ru (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=)
Cc:        joerg@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrbin@freefall.freebsd.org
Subject:   Re: cvs commit:  src/usr.bin/vgrind vfontedpr.c vgrind.1 vgrind.sh
Message-ID:  <199609090720.JAA07517@uriah.heep.sax.de>
In-Reply-To: <199609082108.BAA01152@nagual.ru> from "[?KOI8-R?]" at "Sep 9, 96 01:08:53 am"

index | next in thread | previous in thread | raw e-mail

As [?KOI8-R?] wrote:

> >   . make vgrind 8-bit clean; note that it still implicitly assumes
> >     ISO-8859-1, since the characters are simply being passed on to
> >     groff
> 
> In which form? If they are symbolic names, groff is able to convert
> them to specific device, if they are hardcodes, they must be converted
> to symbolic names.

As i wrote, they are simply being passed on.  vgrind previously
incorrectly handled char's > 127 by making them negative during a char
-> int promotion, and corrected totally bogus output for this negative
character.  Now, it is simply passed (with no changes!) to the post-
processor.  groff implies that characters >= 128 are ISO-8859-1.

The correct way would be to honour the setting of the current locale,
and to convert characters beyond the ASCII base set into the
appropriate troff names.  (Are there official troff names for KOI8-R?)

-- 
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. ;-)


help

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