Subject: Re: finger
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Noriyuki Soda <soda@sra.co.jp>
List: tech-userlevel
Date: 09/12/2002 18:53:18
>>>>> On Thu, 12 Sep 2002 11:31:18 +0200 (CEST),
	Jaromir Dolecek <jdolecek@netbsd.org> said:

> And please make sure to not pass values 128-160 (which map
> to control characters on 7bit displayes, and are assigned as 'control
> characters' in iso-8859-* character maps for this reason).

I know your intention. But that has several problems.

- RFC1288 describes that values 128-255 are international data.
  (not only 161-255). So, your suggestion violates the RFC.
- 160 may be also valid character with some 96-characters set in
  ISO-2022.
- 142 (Single Shift2) and 143 (Single Shift3) should be allowed to
  support EUC codesets such as eucCN, eucTW, eucKR and eucJP.
- values 128-160 should be allowed to support Shift-JIS.

> I also think that it should be default to pass the 161-255 characters
> in both finger and fingerd, and I don't think it's necessary to
> have an option to switch this off.

Default should be defensive, shoudn't it?
--
soda