On Tue, Apr 05, 2005 at 11:52:50AM -0700, [EMAIL PROTECTED] wrote: > > Perhaps a simple expect script? > > Yes, I'm working on my first expect script, very slick. Haven't figured how > to "import" a file (output from fortune) and send it as the message, however. > I tried the command option and just put fortune in, but then it just exits. >
Since you're toying with expect (which is, like, amazing), let me add that there is a GUI expect (that is, a Tcl/Tk interpreter with both Tk and expect added in, so you can do expect magic from a windowing environment), and also that there are Tcl libraries (called "packages") for mail handling, etc. It might shorten your development time and add a cool GUI. Many good things are available at: http://wiki.tcl.tk/ and also: http://www.bitd.clrc.ac.uk/Publications/Cookbook/ If I can be of any help, let me know. -- Lan Barnes [EMAIL PROTECTED] Linux Guy, SCM Specialist 858-354-0616 -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
