Subject: Re: README: kernel pty struct allocation change
To: Todd Vierling <>
From: Andrew Brown <>
List: current-users
Date: 09/11/2000 09:13:03
>[You'll note that src/sys/compat/svr4/svr4_net.c:svr4_ptm_alloc() provides a
>compatibility version of /dev/ptmx that contains the ugly BSD hunt code.]

indeed!  and...isn't pcvt gone?

   248  #if _MACHINE_ARCH == i386
   249          /* XXX.  Fix this, pcvt people! */
   250          static char ttyletters[] = "pqrstuwxyzPQRST";
   251  #else
   252          static char ttyletters[] = "pqrstuvwxyzPQRST";
   253  #endif does it work?  i don't see a way for it to exit the
while/switch without returning an error...maybe i'm reading it wrong?

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."