RTS/CTS and DTR/DTS control

Grant Edwards grante at visi.com
Mon Jul 7 09:25:46 EDT 2003


In article <3F064661.33614890 at engcorp.com>, Peter Hansen wrote:

> A quick search again with Google using TIOCMSET and TIOCM_CTS and a bunch
> of others finally led to this, which might be the best yet, and includes
> some constant definitions that might let you get something working, if
> this doesn't directly solve your problem:
> 
> http://sparc.dnsalias.net/Python_stuff/PosixSerial.py

FWIW, I've added a couple minor features to the PosixSerial
module (methods for setting a couple iflag values, getting
rx/tx buffer count, resetting the modems on a board you
probably don't have).  The current version is available at:

  ftp://ftp.visi.com/users/grante/python/PosixSerial.py

-- 
Grant Edwards                   grante             Yow!  Where does it go when
                                  at               you flush?
                               visi.com            




More information about the Python-list mailing list