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
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
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
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