From: mallikarjunarao on 29 May 2010 12:25 hi friends, when i am simulating ftp application when i using interact command it displays invalid command. I am using expect package 5.43 and tcl version 8.5, how to resolve this one.
From: Donal K. Fellows on 30 May 2010 09:42 On 29/05/2010 17:25, mallikarjunarao wrote: > hi friends, when i am simulating ftp application when i using interact > command it displays invalid command. > I am using expect package 5.43 and tcl version 8.5, how to resolve > this one. It's been part of Expect for a long time, so... are you on Windows? If so, you should be aware that the [interact] command is not supported on that platform. The issue is that Windows has a much less sophisticated model of terminals than real POSIX systems do, and this is an area where it matters; [interact] is very deep voodoo. Otherwise, are you sure you're loading the Expect package at all? :-) Donal.
From: mallikarjunarao on 31 May 2010 00:05 On May 30, 6:42 pm, "Donal K. Fellows" <donal.k.fell...(a)manchester.ac.uk> wrote: > On 29/05/2010 17:25, mallikarjunarao wrote: > > > hi friends, when i am simulating ftp application when i using interact > > command it displays invalid command. > > I am using expect package 5.43 and tcl version 8.5, how to resolve > > this one. > > It's been part of Expect for a long time, so... are you on Windows? If > so, you should be aware that the [interact] command is not supported on > that platform. The issue is that Windows has a much less sophisticated > model of terminals than real POSIX systems do, and this is an area where > it matters; [interact] is very deep voodoo. > > Otherwise, are you sure you're loading the Expect package at all? :-) > > Donal. yes i am using windows platform, but there is no other solution for that one.
From: Arjen Markus on 31 May 2010 05:17 On 31 mei, 06:05, mallikarjunarao <malli....(a)gmail.com> wrote: > On May 30, 6:42 pm, "Donal K. Fellows" > > > > > > <donal.k.fell...(a)manchester.ac.uk> wrote: > > On 29/05/2010 17:25, mallikarjunarao wrote: > > > > hi friends, when i am simulating ftp application when i using interact > > > command it displays invalid command. > > > I am using expect package 5.43 and tcl version 8.5, how to resolve > > > this one. > > > It's been part of Expect for a long time, so... are you on Windows? If > > so, you should be aware that the [interact] command is not supported on > > that platform. The issue is that Windows has a much less sophisticated > > model of terminals than real POSIX systems do, and this is an area where > > it matters; [interact] is very deep voodoo. > > > Otherwise, are you sure you're loading the Expect package at all? :-) > > > Donal. > > yes i am using windows platform, but there is no other solution for > that one.- Tekst uit oorspronkelijk bericht niet weergeven - > > - Tekst uit oorspronkelijk bericht weergeven - If your purpose is to automate ftp, then you can do so via the ftp package in Tcllib. Regards, Arjen
From: mallikarjunarao on 2 Jun 2010 14:16 On May 31, 2:17 pm, Arjen Markus <arjen.markus...(a)gmail.com> wrote: > On 31 mei, 06:05, mallikarjunarao <malli....(a)gmail.com> wrote: > > > > > On May 30, 6:42 pm, "Donal K. Fellows" > > > <donal.k.fell...(a)manchester.ac.uk> wrote: > > > On 29/05/2010 17:25, mallikarjunarao wrote: > > > > > hi friends, when i am simulating ftp application when i using interact > > > > command it displays invalid command. > > > > I am using expect package 5.43 and tcl version 8.5, how to resolve > > > > this one. > > > > It's been part of Expect for a long time, so... are you on Windows? If > > > so, you should be aware that the [interact] command is not supported on > > > that platform. The issue is that Windows has a much less sophisticated > > > model of terminals than real POSIX systems do, and this is an area where > > > it matters; [interact] is very deep voodoo. > > > > Otherwise, are you sure you're loading the Expect package at all? :-) > > > > Donal. > > > yes i am using windows platform, but there is no other solution for > > that one.- Tekst uit oorspronkelijk bericht niet weergeven - > > > - Tekst uit oorspronkelijk bericht weergeven - > > If your purpose is to automate ftp, then you can do so via the ftp > package in Tcllib. > > Regards, > > Arjen thanks dude, but i didn't try the exampl.
|
Pages: 1 Prev: TCL language: how to access ACLs? Next: احصل على ماستر كارد MasterCard مجانا هديه |