Help with Scripting

Christian Völker cvoelker at knebb.de
Wed Oct 26 11:54:45 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

> expect ( "eingeben" break )
Well, ~~I should have used "{" instead of "(" ...

Login works now fine. Once logged in I start the "rz" to download any
file with zmodem. Due to the nature of the remote site there might be
no files so rz will run into timeouts. But minicom does not end.

This is my latest script now:
- --------------snipp----------------
verbose on
sleep 5
timeout 30
expect "eingeben" send "uname"
expect "  Ihr Sicherheitswort bitte" send passwd
! rz -t 20
! /usr/bin/killall minicom
- --------------snipp----------------

So anyone an idea why it does not kill himself?

Thanks!

/Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6n9QQACgkQ0XNIYlAXmztB6ACeOkErIKrDPIyzBrDSLbAZ0HIZ
CdIAniKaM23G6ZxuetHLnvYQ4FFKc07M
=dNT4
-----END PGP SIGNATURE-----



More information about the minicom-devel mailing list