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

Re: weather reporting program in debian



Lorenzo Prince wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


<snip>

The weather program is a demo stript that gives an example of how to use expect.
In Red Hat and Fedora, this example program is either placed or linked in
/usr/bin.  Careful examination of my system which has expect installed shows
thatthe weather script as well as all other expect example scripts are located
in the more appropriate /usr/share/doc/expect/examples directory where they can
more easily be found.  If you want to use the weather script, there is no need
to install an alien package.  Simply

ln -s /usr/share/DOC/expect/examples/weather /usr/bin


My kind of program, this means the weather is *bad*:

Script started on Wed Mar 24 17:54:59 2004
weather
spawn telnet cirrus.sprl.umich.edu 3000
Trying 141.213.23.51...
Connected to yang.sprl.umich.edu.
Escape character is '^]'.
Connection closed by foreign host.
failed to telnet to weather server
exit
Script done on Wed Mar 24 17:55:19 2004


Hugo.



Reply to: