[Tutor] Scripts

lumbricus@gmx.net lumbricus@gmx.net
Sun, 1 Apr 2001 16:44:45 +0200


Hello!!!

> 
> > How can I call and receive phone calls thru a modem using python scripts?
> > How to kill a telnet section with python?
> 
> On a Unix computer, the modem is a serial device that can be opened like a
> file.  On my system, it's '/dev/cua1' (COM2), so one way to send commands
                            ^^^^^^^^^^^
			    don't use this anymore (baeh bah !!! ;-))
Use /dev/ttyS<n> (/dev/ttyS1 for com2)
because cua<n> can be more easyly tricked to dial out even 
when DCD control signal sez not to.
that's why in former times programmers used cua<n> for dialing out
and ttyS<n> for in
since kernel 2.2 you get a warning in the logs when you use cua.

just my 0.02 $
grrrrreetings jö!