Re: bad gnome-terminal or bad script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 06 Feb 2005 23:56:52 +0000, James Wilkinson wrote:

> Marc Williams wrote:
>> I've just started exploring the Expect language and have quickly hit a
>> little bit of a speed bump.  But I'm not sure it's Expect that's the
>> problem.
>> 
>> In an FC3 gnome-terminal, I try to run the following script:
>> ----------------------
>> #!/usr/bin/expect --
>> spawn ssh 192.168.0.9
>> expect "word: "
>> send "password\r"
>> expect "]$ "
>> interact
> 
> Do I assume that you're trying to do stuff this way in order to experiment
> with Expect?
> 

That assumption is correct.  But everyone has to start somewhere and I am
starting small with my home network and SSH/telnet.  The more complex
scripting needs of the servers at my work, of which there are many, will
come later when I've got a handle on Expect.  For now, If you've got any
possibilities of solutions to this issue, please advise.  Thanks!



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux