# .mushrc for mavassar@scarlett.vassar.edu :: -EAM 1995/04/13 # @(#) $Revision: 2.2 $ $Date: 1999/06/12 14:23:13 $ ####################################################################### # This file is read in whenever mush is started unset * # I am an egg... source ~/.mailrc # get normal mail defaults first set mil_time # 24-hour clock # set ignoreeof # don't exit on ^D set verify # ask if we send after composing message set squeeze # multiple blank lines become one set prompt="(%m)& " # put current message number in prompt set EDITOR=emacs # editor for ~e set VISUAL=vi # editor for ~v set pager=more # how to view long documents set indent_str="> " # how to "quote" text in a reply set pre_indent_str='[In the message "%s" %n writes:]' set post_indent_str="" # no need for anything at end # This sets a nicer header format set hdr_format="%18n [%5T %3M %2N] %37s" # Define some useful commands: cmd to 'pick -t -i \!*' # picks all mail TO somebody cmd from 'pick -f -i \!*' # picks all mail TO somebody cmd subj 'pick -s -i \!*' # picks all mail of given subject cmd S ' s \!* | d' # save AND DELETE in any folder cmd D ' s \!* mbox | d' # save to mbox AND DELETE in any folder cmd fwd 'mail -f ' # forward message to someone else # Useful composition mode macros map! '\E\E' '\n~i\n~e\n' # insert and edit map! '~E' '\n~i\n~e\n' # ~i and ~e -- also some protection against ~E map! '~I' '\n~i\n~p\n' # ~i and ~p to see what you inserted map! '\EE' '\n~| pgp -seatf \n' # PGP sign and encrypt map! '\ES' '\n~| pgp -satf \n' # PGP signature # PGP processing: cmd pgp 'pipe \!* pgp -ftm' cmd pgpmail `pgpmail \!*` # Composition mode macros: map! '\E\E' '\n~i\n~e\n' # double escape is ~i followed by ~e map! '~E' '\n~i\n~e\n' # ~E is ~i followed by ~e map! '\Ee' '\n~e\n' # escape e is ~e # how to print mail messages set print_cmd=mlpr ### EOF .mushrc