On Wed, Apr 01, 2009 at 11:08:35PM +0200, Ed Schouten wrote:
> Hi Kostik,
> 
> * Kostik Belousov <kostik...@gmail.com> wrote:
> > Can we switch to %x ? Or even, use some radix encoding of the number,
> > to allow alphabetical symbols too ?
> 
> I guess that would break a lot of existing libraries. For example: older
> RELENG_7/CURRENT libcs might still use TIOCGPTN. This ioctl just returns
> a number that is just printed into a device name using "/dev/pts/%u" as
> a format. I also suspect a lot of Linux/Solaris-minded software expects
> the names to be in decimal form.

Or change 'pts' to, for example, 'pt' so without changing utmp and
related stuff we'll have space for a four digit pty number.

-- Paul Schenkeveld
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to