Re: Information System
David Young <[email protected]>
| Newsgroups | gmane.network.wireless.cu-wireless |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Mar 17, 2004 at 08:47:00AM -0600, Ralph Johnson wrote: > qmail also comes as a set of programs, and is a lot smaller > than sendmail even if you include everything. The SMTP client > is just a few hundred lines of C code. However, if you are > making a specialized client, it can be even smaller. SMTP is > just ASCII text over a socket. You just open a socket to the > SMTP server and push a message over it. It should be easy to > dump a log to a SMTP server with your favorite scripting language. Re: favorite scripting language. Before anybody writes new scripts for the C-U Wireless nodes, I should mention that the only script interpreters that will be available on a node are awk and Bourne shell. I am partial to Python, but its interpreter is great big. Compare: > ls -l /bin/sh -r-xr-xr-x 1 root wheel 127843 Mar 12 04:05 /bin/sh > ls -l `which awk` -r-xr-xr-x 1 root wheel 255137 Mar 12 03:50 /usr/bin/awk > ls -l `which perl` -r-xr-xr-x 2 root wheel 698244 Sep 11 2003 /usr/pkg/bin/perl > ls -l `which python2.2` -r-xr-xr-x 1 root wheel 725348 Sep 11 2003 /usr/pkg/bin/python2.2 Dave -- David Young OJC Technologies [email protected] Urbana, IL * (217) 278-3933 _______________________________________________ CU-Wireless mailing list [email protected] http://lists.cu.groogroo.com/cgi-bin/listinfo/cu-wireless Project Page: http://cuwireless.ucimc.org