Distributed applications

apps/gen_cls
Invoked without arguments. Searches the directory hierarchy beginning at the current working directory for '.cls'-files and compiles the contained class definitions (see Pool_Base) into pure tcl. The compilation result of file X.cls is stored into X.tcl. Additionally generates the file clsIndex in the current working directory, an index of the found classes.
apps/gen_idx
Invoked without arguments. Searches the directory hierarchy beginning at the current working directory for '.tcl'-files and generates a tclIndex suitable for autoloading. Recognizes standard procedures, classes as above (gen_cls), aliases and usage of all class instantiation commands defined in clsIndex (see above).
apps/gen_pkg
Invoked as 'gen_pkg packagename packageversion indexfile'. Generates pkgIndex.tcl from 'indexfile' (usually tclIndex).
apps/nserver
Called without arguments. Should be put into background. Uses Pool_Net/ns/* to create a simple name server.
apps/nwho
Called without arguments. Connects to a running nserver and lists all registered applications, together with their port numbers.
apps/mail_sendfile
Invoked as 'mail_sendfile -to recipient [-from sender] [-talkto host] file... Prepends each of the listed files with a mail header, then sends them via SMTP at the given host to the specified recipients. The sender defaults to the invoker, and the host to 'localhost'. The argument to '-to' may contain a valid tcl list. The file(s) are then send to each of the addresses on the list.
apps/popsy
A small POP3 server, written mainly for testing purposes (popeye). Built around the server core code in net/pop3/server.cls, uses net/adb.cls and net/pop3/mbox.cls as well. Registers itself at 'nserver', see above. Can be remote controlled because of this, see next 2 entries. The available interface is described in POPsy RC interface.

Invoked as 'popsy ?-userdb filename? ?-mailfolder path? ?-port number?'.

Reads '~/.popsyrc' too. See apps/dotpopsyrc for an example. Hard coded defaults (lowest priority) are /var/adm/pop_userdb, /var/spool/mail and pop3.
apps/popsy_man
Mini utility to control a running popsy process. Command line based. Invoke without arguments, then use '?' or 'h' to get help.
apps/popsymon
The big brother to 'popsy_man'. GUI based application to monitor and control a running popsy process. Invoked without arguments. This application uses Tktable, the spreadsheet extension by Jeffrey Hobbs.
apps/popeye
A pop3 client based upon net/pop3/client.cls, in the tradition of 'fetchmail', 'suck', etc. Uses the smtp interface (net/smtp/) to deliver fetched mail locally, after appropriate munging of 'To:' header. The currently used classificator accepts all mail. Registers itself at 'nserver', see above. Can be remote controlled because of this, see next entry. The available interface is described in POPeye RC interface. Other controllers I can think of are cron, with some intermediary shell/tcl script, or tkgoodstuff.

Invoked as 'popeye ?-user name? ?-password string? ?-host name? ?-auth upass/apop? ?-to mailaddress? ?-port number? ?-use-top-for-retr 0/1?'.

Reads '~/.popeyerc' too. See apps/dotpopeyerc for an example. Hard coded defaults (lowest priority) for -auth, -use-top-for-retr, -port and -host only (upass, 0, pop3, localhost).

Important: apop authentication requires the packages Trf and Memchan.

Setting '-use-top-for-retr' to 1 forces the system to use 'TOP x 0' instead of 'RETR x'. It is in here because my provider had a brain dead pop3 server for some time. It didn't accept RETR, but delivered the whole mail if 0 was given as 2nd argument to TOP. I don't know wether similar versions of this server are lurking out there, but better be prepared. This option should be left alone under normal circumstances.
apps/popeyemon
A simple graphical monitor to watch a running popeye process. Invoked without arguments.
apps/popeye_trigger
Simple tcl script to trigger a fetch cycle of popeye. Add to crontab for regular execution (see apps/my.crontab for an example). Invoked without arguments.

Remarks: popeye, popeyemon and popeye_trigger are in actual use here at home, fetching the mail from my provider (Westend GbR, Aachen).

Idea: delay trigger 'flist'-operation of exmh after each fetch cycle.


Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries