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@xxxxxx> Qt/KDE Developer, Debian User Moderator: www.mrunix.de (German), www.qtforum.org
Attachment:
pgpCSPcKfcwfw.pgp
Description: PGP signature
___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.