konsole interactive scripting
Kevin Krammer
kevin.krammer at gmx.at
Tue Dec 6 16:17:33 GMT 2005
On Tuesday 06 December 2005 16:35, Ramprasad wrote:
> Hi,
> Is there any support for executing an interactive scripting in
> konsole. I would like to ssh to any server , use a stored password ( I
> cant use rsa/dsa keys ) and then execute commands on the remote server
> and process the output. Is there a way I can automate this stuff
>
> I have tried using X11::GUITest and a perl script to sendkeys to konsole
> but the problem is with reading output
> How do I read what is there on the konsole screen into a script, I hope
> there is some dcop command I can execute on command line
If you start konsole with --script is has more advanced DCOP methods
available.
However it sounds like you need something like expect:
http://expect.nist.gov/
Cheers,
Kevin
--
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20051206/7e895a04/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list