zeno@zaphod.uchicago.edu (Richard Duffy) (03/07/90)
When I want to send an existing file {file} to a user with address {user@site},
and not include any extra comments in it, I just do
mhmail {user@site} < {file}
This seems to be the most efficient way (certainly better than calling
up an editor from comp and reading the file in there).
But apparently I can't use any of my aliases in place of {user@site} in
this situation. Having a line "post: -alias aliasfile" in the .mh_profile
doesn't help because post doesn't consult the .mh_profile. Does anyone
know a good way around this?
...............................................................................
Richard Duffy \ ((lambda (x) (list x (list (quote quote) x)))
Voicenet: 312-753-0441 \ (quote (lambda (x)
Bitnet: zeno%zaphod@UCHICAGO \ (list x (list (quote quote) x)))))
Internet: zeno@zaphod.uchicago.edu \------------------------------jromine@ics.uci.edu (John Romine) (03/08/90)
In article <7885@tank.uchicago.edu> zeno@zaphod.uchicago.edu writes: >But apparently I can't use any of my aliases ...[with mhmail] >Does anyone know a good way around this? Yes! Check "miscellany/scripts/amhmail.sh" which does what you want. Or, use "mhmail `ali user` < file". -- John Romine
tchrist@convex.COM (Tom Christiansen) (03/08/90)
It works for me; I'm running this kind of MH:
version: MH 6.6 #4[UCI] (concave) of Wed Feb 1 14:09:05 CST 1989
options: [BSD43] [BSD42] [BERK] [DUMB] [MHRC] [RPATHS] [MHE] [ATZ]
[FOLDPROT='"0700"'] [MSGPROT='"0600"'] [SBACKUP='".#"']
[SENDMTS]
And here is my mh_profile:
Path: Mail
Alternate-Mailboxes: tchrist@*, *!tchrist
signature: Tom Christiansen
previous-sequence: pseq
prompter-next: spellvi
repl-quick-next: spellvi
repl-quoted-next: spellvi
unseen-sequence: unseen
sequence-negation: not
draft-folder: drafts
folder-protect: 700
msg-protect: 600
showproc: mhl
listproc: less
moreproc: less
postproc: post-fcc
#####: #### here begin entries for normal mh commands #######
ali: -alias Aliases
dist: -annotate -edit prompter
editor: spellvi
forw: -annotate -inplace -filter mhl.forw -e prompter
inc: -audit AUDIT -form scan.format
mhl: -nobell
mhmail: -alias Aliases
next: -noheader
pick: -seq pkt -list
post: -alias Aliases
prev: -noheader
prompter: -prepend -rapid
repl: -fcc +outbox -nocc all -annotate -inplace
replq: -fcc +outbox -nocc all -annotate -inplace -edit repl-quoted
dist: -e prompter
scan: -form scan.format
send: -alias Aliases -push
show: -noheader -form mhl.format
spost: -alias Aliases
whom: -alias Aliases
rcvstore: -create
#####: #### here begin entries for links #######
addseq: -nozero -seq
body: -width 1000 -form /mnt/tchrist/mh/lib/mhl.format.body -noheader -nomoreproc
delseq: -del -seq
getsub: -nomoreproc -form /mnt/tchrist/mh/lib/mhl.subject
hdr: -form /mnt/tchrist/mh/lib/mhl.format.hdr -noheader -nomoreproc
hdrs: -form /mnt/tchrist/mh/lib/mhl.format.hdrs -noheader -nomoreproc
makecur: -zero -seq cur
mkseq: -seq
popf: folder -pop
pushf: folder -push
raw: -noshowproc -noheader
rcc: -annotate -fcc +outbox -cc all -nocc me -inplace
rmseq: -del all -seq
subs: -form scan.subs
--
Tom Christiansen {uunet,uiucdcs,sun}!convex!tchrist
Convex Computer Corporation tchrist@convex.COM
"EMACS belongs in <sys/errno.h>: Editor too big!"