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

Re: mit telnet in einem script von pop3 mails abholen



* Ingo Steinert <ingo@hddkiller.com> [05-11-02 00:14]:
> wenn ich statt 'telnet' 'netcat' verwende, funktioniert es sofort
> wunderbar. noch ein |tee anhaengen und alles ist in einer datei.
> ich will es aber unbedingt mit telnet schaffen..;-)

Das geht AFAIK mit expect.

Package: expect 5.32.2-4

A program that "talks" to other programs.

Expect is a program that "talks" to other interactive programs according
to a script. Following the script, Expect knows what can be expected
from a program and what the correct response should be. An interpreted
language provides branching and high- level control structures to direct
the dialogue. In addition, the user can take control and interact
directly when desired, afterward returning control to the script. 

HTH
Jens



Reply to: