Article 10950 of comp.lang.perl: Path: feenix.metronet.com!news.ecn.bgu.edu!usenet.ins.cwru.edu!howland.reston.ans.net!europa.eng.gtefsd.com!news.umbc.edu!haven.umd.edu!cs.umd.edu!mojo.eng.umd.edu!rensin From: rensin@eng.umd.edu (David Rensin) Newsgroups: comp.lang.perl Subject: ANNOUNCE: renmail - mail reader/perl shell Date: 24 Feb 1994 13:48:01 GMT Organization: Project GLUE, University of Maryland, College Park Lines: 158 Distribution: world Message-ID: <2kib6h$3jl@mojo.eng.umd.edu> NNTP-Posting-Host: avalon.eng.umd.edu Renmail can be obtained from ftp.eng.umd.edu in /pub/misc/renmail.tar.z. Here are the docs.... -dave ##### renmail.doc ####### Renmail - 1.0 - a perl mail reader/shell -by Dave Rensin -rensin@glue.umd.edu I don't know about you but one of the things I really want in life is a mail reader that is very user configurable, fast, and will run in tty mode. Berkely mail sure doesn't do the trick, and almost every other reader I've seen ran in a window. So... I wrote one. The product is a combination mail reader/ shell. Features.... a) a macros language b) grouping of messages by subject, author, or how its addressed thus allowing wasy viewing and deletion/archiving. c) most / all of your favorite shell commands. d) an inline perl interperator for debugging as well as trying out new code snippets. e) mail aliases SETUP: The following environment variables must be set for renmail to run correctly. $EDITOR = your favorite editor $HOME = your home dir $MAIL = your mail spool (ie. mail/rensin/foo) $PAGER = your preffered pager (ie. more, less, etc...) $PWD = present working dir. (not neccessary but helpfull) $USER = your login id (used for mail) The first line of the program set $PRINTER_STRING to what ever the default printer string is for your machine. For example, we use mdqs here so mine is $PRINTER_STRING = qpr -q $ENV{'PRINTER'}. Each user MUST have a .renmailrc file in thier root. If not, renmail WON'T work for them. The .renmailrc will be explained later. COMMANDS: The built in mail commands can be listed by entering an "h" at the command prompt. These are all self explanitory. Note: zwrite is a messaging facility for people who are running the zephyr package from MIT. If it's not on your system it will not work. (Duh!!) THE .renmailrc FILE: The .renmailrc file contains info regaring three areas; 1) sorts, 2) macros, and 3) aliases. Sorts are just a way to visually group your mail. A sort has the form [to|from|cc|subject],string,rc character where string is the string to match in either the to, from, cc, or subject line, and rc character is up to three cahracters to display next to the message. For example, to,staff,+ will display a "+" next to all of the mail in my spool addressed to "staff". (actually it will match the line as long as "staff" appears anywhere in it. The match string is a regular expression so "to,staff|Staff,+" is valid. Macros take the form of macro,macro name,renmail command. See the example .renmailrc for examples. Aliases take the form of alias,alias name, list of addresses. Again, see the example .renmailrc for ideas. SUMMARY: All in all I think this is a pretty complete package. Please mail me if you have any questions, find any bugs, or want to see any new features. -Thanks, -dave -rensin@Glue.umd.edu ########### MY .renmailrc ###################### #### Sorts ##### to,staff,. cc,staff,. to,JokeList,:-) to,BLUES,B to,JSU,Y from,request,:-( to,rensin|Rensin|RENSIN,* cc,rensin|Rensin|RENSIN,* to,hackers,H cc,hackers,H subject,Perl|perl,# subject,Motif|motif,M subject,Clapton|clapton,C subject,TIMESHHET,T ##### Macros ######## macro,clapton,l C macro,dclapton,dl C macro,mine,l \* macro,dmine,dl * macro,perl,l # macro,dperl,dl # macro,joke,l \:\) macro,djoke,dl :) macro,staff,l \. macro,dstaff,dl . macro,all,l .* macro,n,! rn macro,rgp,do read_group comp.lang.perl macro,hackers,l H macro,dhackers,dl H macro,jsu,l Y macro,djsu,dl Y macro,blues,l B macro,dblues,dl B macro,db,dblues macro,motif,l M macro,dmotif,dl M macro,list files,do ls -alF /homes/rensin/files | $PAGER macro,edit rc,do vi /homes/rensin/.renmailrc macro,gts,do /homes/rensin/407/get_timesheets /homes/rensin/407 #### Aliases ###### alias,sonia,aghera@wam.umd.edu alias,food,rensin hildekca cross gadams kelso sukes alias,dsp,hologram@wam cece@wam debjchun@wam bucky@wam royp@wam lgianni@wam sailing@wam vgopher@wam tejal@wam edna@wam bkray@wam sumanth@wam natalya@wam sailor@wam moriatis@wam daoieeee@wam marlen@wam teddy@wam estheryt@wam noiram@wam dwright@wam oliver@wam stan@wam rustaman@wam lora@wam almengor@wam rensin@eng vrustaman@bmgtmail.umd.edu alias,john,kelso@vtopus.cs.vt.edu alias,brad,shadow@wam.umd.edu .