TNET'ers:

I received from Matthias Lautner his PTY/SELECT patch for Minix 1.5 and
have modified TNET to use the select call(reduces CPU usage!).  If you
would like a copy of the PTY/SELECT patch and patches to TNET to use select
let me know and I can send it to you.

A few things to know about this setup:

1) I have not thoroughly tested the patches, but I use TNET everyday
   and have not encountered any problems.
2) According to Matthias the system will get hung when sending messages
   between TTY and FS so this is why his official PTY/SELECT patch is
   against 1.6.16 with multi-threaded FS.
3) FS would panic occasionally when running TNET w/select call.


To fix these draw backs:

1. With other people trying these patches we can better test.
2. I only do select on file descriptors which are pipes so
   TTY never has to talk to the FS.
3. I found the problem to be due to CLOCK and FS talking to one
   another(same as TTY/FS) and I got around it by calling select
   with no timeout(which means no FS panic) and set an alarm
   instead.



Michael Temari                                     temari@temari.ae.ge.com


P.S.  Let me know if you have TNET up and running?
