[comp.os.vms] Problem with PTYs putting me RWAST.

x_gaure_s%use.uio.uninett@TOR.NTA.NO.UUCP (09/24/87)

I have experienced a problem with the PTY driver
The CMU PYDRIVER/TPDRIVER V04-007 by Dale Moore.


When creating multiple PTYs from within the same image,
everything works fine until I have created approx. 10 PTYs.
Then my process will hang in RWAST.
To kill the process I STOP it from another process, and
allocate one of the numerous TPA's that have popped up.
When trying to write to the TPA it vanishes (as it should ?)
and, finally, my process dies.

I create the PTYs the following way:
I assign a channel to PYA0: (with sys$assign).
Then I issue a sys$qio to the channel (with a io$_readvblk code).

Repeating this process approx. 10 times, I suddenly find myself
in RWAST.
I do not touch the TPA devices at all.

If I keep the number of PTYs down, everything works fine.
We are running VMS 4.5 on a 750 and a 8650. The
problem is there on both machines.

My questions :
Have I done it the wrong way (noch ein mal) ?
Has anyone else experienced this problem, have you solved it ?
If this is a bug, does anyone have a patch to PYDRIVER/TPDRIVER ?

For the curious:
I'm writing a program that can handle multiple PTYs and
logging output to a file.
For those who know PTYCON on TOPS10/20, it has the same
functionality.


Simen Gaure		X_GAURE_S@inger.arpa
			X_GAURE_S%use.uio.uninett@tor.arpa
Systems programmer
University Of Oslo, Norway.