Subject: Re: bin/9966: /etc/printcap is not compatible with IPv6 numeric
To: None <thorpej@zembu.com>
From: None <itojun@iijlab.net>
List: tech-net
Date: 04/25/2000 01:33:43
> > >Synopsis: /etc/printcap is not compatible with IPv6 numeric
> > >Fix:
> > not sure.
> > 0. leave it as is, document it well.
> > 1. quote by using doublequotes like rm="::1"
> > 2. quote by using RFC2732, like rm=[::1]
>I'd vote for (2), being specified by an IETF document, and all.
>I guess this would be generalized in the libc `cap' routines...
The problem is tgetstr() is not context-sensitive. we can parse a
termcap line with rm=[::1], only if tget* routines knows the fact
that "rm takes address". I think it cannot be generalized.
itojun