Subject: Re: corrupt/depleted pty's?
To: David Brownlee <abs@anim.dreamworks.com>
From: Matthew Ross Davis <mrd@metatronpress.com>
List: port-sparc
Date: 08/20/1999 17:16:09
> 	What happens if you
> 	'cd /dev ; ./MAKEDEV pty1'

Wow, interesting:

bash-2.03# ls pty*
ptyp0 ptyp2 ptyp4 ptyp6 ptyp8 ptypa ptypc ptype
ptyp1 ptyp3 ptyp5 ptyp7 ptyp9 ptypb ptypd ptypf
bash-2.03# ./MAKEDEV pty1
bash-2.03# ls pty*
ptyp0 ptyp3 ptyp6 ptyp9 ptypc ptypf ptyq2 ptyq5 ptyq8 ptyqb ptyqe
ptyp1 ptyp4 ptyp7 ptypa ptypd ptyq0 ptyq3 ptyq6 ptyq9 ptyqc ptyqf
ptyp2 ptyp5 ptyp8 ptypb ptype ptyq1 ptyq4 ptyq7 ptyqa ptyqd

And telnet and ssh both work! I'm still concerned as to why when only p0-7 and
pf are being used that the rest of the pseudo terminals didn't get recycled... 

junior   p0 tamserver.jfk1.g Wed07PM     2 ssh finary.com 
jzitt    p4 jzittpc:S.0       2:12PM  3:02 /usr/local/bin/bash 
mrd      p5 ryoanji:S.1      Tue08AM     5 tf lambda 
mrd      p6 ryoanji:S.0       8:06AM     0 w 
mrd      p7 ryoanji:S.2       8:41AM     0 vi /home/mrd/tmp/mutt-silence-183-45
jzitt    pf jzittpc:S.1       2:12PM     0 mutt 

-- 
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | m - a - t - t - h - e - w | r - o - s - s | d - a - v - i - s | |
| | http://www.artswire.org/mrd | | | | | | | | | | | | | | | | | | |
| | http://www.metatronpress.com  | http://www.artswire.org/comma | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |