Interactive apps with tcl - TCL
This is a discussion on Interactive apps with tcl - TCL ; Folks,
I am trying to build an interactive test application. I
would like to generate interactive commands to an existing
server(ftpd)
so commands like ftp 192.68.20.1
ace>login: xxxx
ace >password : yyyy
I should be able to mimic human intervention. ...
-
Interactive apps with tcl
Folks,
I am trying to build an interactive test application. I
would like to generate interactive commands to an existing
server(ftpd)
so commands like ftp 192.68.20.1
ace>login: xxxx
ace >password : yyyy
I should be able to mimic human intervention. Is this possible in
perl.
I do not want to add delay's . I prefer synching with the server. I
know this is possible in Expect. Is there any other scripting language
this is possible in say Tcl/tk/Perl/Python/Ruby? What language do you
suggest for such application? this feature in addition with strong
parsing capabilities is what I am looking for.
Thanks in advance
Sunil
-
Re: Interactive apps with tcl
On 22 feb, 04:59, sunilk...@gmail.com wrote:
> Folks,
> I am trying to build an interactive test application. I
> would like to generate interactive commands to an existing
> server(ftpd)
> so commands like ftp 192.68.20.1
> ace>login: xxxx
> ace >password : yyyy
> I should be able to mimic human intervention. Is this possible in
> perl.
> I do not want to add delay's . I prefer synching with the server. I
> know this is possible in Expect. Is there any other scripting language
> this is possible in say Tcl/tk/Perl/Python/Ruby? What language do you
> suggest for such application? this feature in addition with strong
> parsing capabilities is what I am looking for.
> Thanks in advance
> Sunil
I think you will want to look at the Expect extension to Tcl.
Search the Wiki (http://wiki.tcl.tk) for more information on that.
Regards,
Arjen
-
Re: Interactive apps with tcl
On 22 feb, 06:33, Arjen Markus <arjen.mar...@wldelft.nl> wrote:
> On 22 feb, 04:59, sunilk...@gmail.com wrote:
>
>
>
> > Folks,
> > I am trying to build an interactive test application. I
> > would like to generate interactive commands to an existing
> > server(ftpd)
> > so commands like ftp 192.68.20.1
> > ace>login: xxxx
> > ace >password : yyyy
> > I should be able to mimic human intervention. Is this possible in
> > perl.
> > I do not want to add delay's . I prefer synching with the server. I
> > know this is possible in Expect. Is there any other scripting language
> > this is possible in say Tcl/tk/Perl/Python/Ruby? What language do you
> > suggest for such application? this feature in addition with strong
> > parsing capabilities is what I am looking for.
> > Thanks in advance
> > Sunil
>
> I think you will want to look at the Expect extension to Tcl.
> Search the Wiki (http://wiki.tcl.tk) for more information on that.
>
> Regards,
>
> Arjen
Oops, did not see that you already mentioned Expect yourself.
But be aware: Expect uses Tcl as its scripting language, it adds a
number of specific commands, but you can use the whole of Tcl (and
Tk) to write your programs.
Regards,
Arjen
-
Re: Interactive apps with tcl
In article <9c330098-dd79-4f4b-ba83-64e3771f2768@z70g2000hsb.googlegroups.com>,
Arjen Markus <arjen.markus@wldelft.nl> wrote:
>On 22 feb, 06:33, Arjen Markus <arjen.mar...@wldelft.nl> wrote:
>> On 22 feb, 04:59, sunilk...@gmail.com wrote:
>>
>>
>>
>> > Folks,
>> > I am trying to build an interactive test application. I
>> > would like to generate interactive commands to an existing
>> > server(ftpd)
>> > so commands like ftp 192.68.20.1
>> > ace>login: xxxx
>> > ace >password : yyyy
>> > I should be able to mimic human intervention. Is this possible in
>> > perl.
>> > I do not want to add delay's . I prefer synching with the server. I
>> > know this is possible in Expect. Is there any other scripting language
>> > this is possible in say Tcl/tk/Perl/Python/Ruby? What language do you
>> > suggest for such application? this feature in addition with strong
>> > parsing capabilities is what I am looking for.
>> > Thanks in advance
>> > Sunil
>>
>> I think you will want to look at the Expect extension to Tcl.
>> Search the Wiki (http://wiki.tcl.tk) for more information on that.
>>
>> Regards,
>>
>> Arjen
>
>Oops, did not see that you already mentioned Expect yourself.
>But be aware: Expect uses Tcl as its scripting language, it adds a
>number of specific commands, but you can use the whole of Tcl (and
>Tk) to write your programs.