From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EfixH-0002Ut-4Z for garchives@archives.gentoo.org; Fri, 25 Nov 2005 19:09:55 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jAPJ8Iwd011879; Fri, 25 Nov 2005 19:08:18 GMT Received: from mra03.ch.as12513.net (mra03.ch.as12513.net [82.153.252.25]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jAPJ0qSY024167 for ; Fri, 25 Nov 2005 19:00:53 GMT Received: from localhost (localhost [127.0.0.1]) by mra03.ch.as12513.net (Postfix) with ESMTP id 8D785D4453 for ; Fri, 25 Nov 2005 19:00:50 +0000 (GMT) Received: from mra03.ch.as12513.net ([127.0.0.1]) by localhost (mra03.ch.as12513.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32165-01-22 for ; Fri, 25 Nov 2005 19:00:50 +0000 (GMT) Received: from d5150 (unknown [82.152.14.210]) by mra03.ch.as12513.net (Postfix) with ESMTP id EA45ED423D for ; Fri, 25 Nov 2005 19:00:48 +0000 (GMT) Subject: Re: [gentoo-user] autoexpect? From: Rob Oravec To: gentoo-user@lists.gentoo.org In-Reply-To: <43875B9F.3060601@gmail.com> References: <43875B9F.3060601@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nsW1aKJJhlBoyrUmuWCK" Date: Fri, 25 Nov 2005 19:00:48 +0000 Message-Id: <1132945248.31594.5.camel@d5150.subnet0.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-Virus-Scanned: by Eclipse VIRUSshield at eclipse.net.uk X-Archives-Salt: 4617e83f-1565-445f-9acd-c52eeb251c9c X-Archives-Hash: bbd610a0d8958310f6ee2c7086d5df69 --=-nsW1aKJJhlBoyrUmuWCK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2005-11-25 at 19:44 +0100, Antoine wrote: > Hi, > I would like to write a script to log in to a network machine and run=20 > halt (for the missus, who doesn't really like logging in via ssh just to=20 > turn of the internet connection...), and saw that autoexpect looks like=20 > it would fit the bill. It doesn't seem to be in portage and it seems a=20 > lot more difficult with expect... > Any ideas? > Cheers > Antoine Hi, I haven't used autoexpect but have Expect. Here is a link that you may have seen but will do what you would "expect"...pardon the pun. Perl with Expect module or Just Expect on its own. http://www.infocopter.com/perl_corner/expect.htm Hope this helps, Rob --=-nsW1aKJJhlBoyrUmuWCK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDh19g7SaeJmer584RAosoAJ9IZD3RfcV0MY4T8Y6ydMK03BiWTwCcCebA 1EPzikO8gF1j6kWcR5F8XAw= =0yVP -----END PGP SIGNATURE----- --=-nsW1aKJJhlBoyrUmuWCK-- -- gentoo-user@gentoo.org mailing list