RE: script how to interactive mode in telnet

2004-10-22 Thread Chris Devers
On Fri, 22 Oct 2004 [EMAIL PROTECTED] wrote: > What does the \r in system("\r\n\r"); do? Please look up the standard backslash characters. \r carriage return \n newline \f form feed They're all related, but distinct. > Where can I find some info on the system function/method? The perld

RE: script how to interactive mode in telnet

2004-10-22 Thread adisegna
D] Subject: script how to interactive mode in telnet i want to write a script that automatically call telnet and do some stuff and exit. e.g telnet open e.g port = 25 then.. it sends helo test mail from> bla bala bla rset quit ... when i done doing it through system command , it comes to inte

Re: script how to interactive mode in telnet

2004-10-21 Thread Chris Devers
On Fri, 22 Oct 2004, Adam Saeed wrote: > i want to write a script that automatically call telnet If you *really* want telnet, use Net::Telnet But -- > and do some > stuff and exit. e.g > telnet > open > e.g port = 25 -- that's the SMTP port. If you're trying to do mail programming, you sho

script how to interactive mode in telnet

2004-10-21 Thread Adam Saeed
i want to write a script that automatically call telnet and do some stuff and exit. e.g telnet open e.g port = 25 then.. it sends helo test mail from> bla bala bla rset quit ... when i done doing it through system command , it comes to interactive mode and give prompt. telnet> then i have to