turner@smart.sps.mot.com (Robert Turner) (01/22/91)
Question 1 - Apollo Specific In configuring mh, I understood that the node running the sendmail daemon is required before starting the compile. Apollo ships a version of mh in /usr/new/mh that does not require the node to be specified. How is this done? I have noted the difference in the compile option switch "[APOLLO]". I did a grep on version 6.6 and 6.7 and didn't find the word "apollo" (anycase) anywhere? My version of mh: version: MH 6.6 #3[UCI] (vern) of Mon Sep 17 12:08:55 MST 1990 options: [BSD42] [BSD43] [BERK] [BIND] [TTYD] [DUMB] [NFS] [MHE] [MHRC] [NETWORK] [RPATHS] [SBACKUP='"#"'] [MORE='"/usr/local/bin/dmcat"'] [SENDMTS] [SMTP] Apollo's version of mh: version: MH 6.6 #1[UCI] (ics) of Tue May 24 15:51:53 PDT 1988 options: [BERK] [BIND] [BSD42] [BSD43] [DUMB] [MHE] [RPATHS] [TTYD] [UCI] [SBACKUP='"#"'] [SENDMTS] [APOLLO] Question 2 - show In the .mh_profile for show I have declared a showproc and some arguments that go with that program. from /mh_profile: show: -showproc /user/turner/sources/dmedit/dmcat2 -w1 (w1 defines a specific window location) When I invoke show from the command line and explicitly state a different -showproc, the -w1 is passed to the explicitly stated program. example: % show -showproc /bin/cat | lpr -w1: No such file or directory Any suggestion on how to get show not to pass the "w1" to /bin/cat? Robert -- Robert Turner (602) 897-5441 Semiconductor Systems Design Technology, Motorola turner@dover.sps.mot.com OR ...!uunet!dover!turner "Most Americans do not know or appreciate the fact that citizenship is the primary political office under a constitutional government." Mortimer Adler
jromine@buckaroo.ics.uci.edu (John Romine) (01/23/91)
turner@smart.sps.mot.com (Robert Turner) writes: >In configuring mh, I understood that the node running the sendmail >daemon is required before starting the compile. Apollo ships a >version of mh in /usr/new/mh that does not require the node to be >specified. How is this done? Don't compile with "mts: .../smtp". The "/smtp" option causes MH to post using a TCP connection to the SMTP port. Without that option, it will fork/exec sendmail. >I have noted the difference in the compile option switch "[APOLLO]". Maybe Apollo made some changes? Do you have their source? >My version of mh: >version: MH 6.6 #3[UCI] (vern) of Mon Sep 17 12:08:55 MST 1990 >options: [BSD42] [BSD43] [BERK] [BIND] [TTYD] [DUMB] [NFS] [MHE] [MHRC] > [NETWORK] [RPATHS] [SBACKUP='"#"'] > [MORE='"/usr/local/bin/dmcat"'] [SENDMTS] [SMTP] Unless you're running TTYD, you probably don't want that option. The newest release is MH 6.7.1 -- there've been a lot of bug fixes since MH 6.6. >Apollo's version of mh: >version: MH 6.6 #1[UCI] (ics) of Tue May 24 15:51:53 PDT 1988 >options: [BERK] [BIND] [BSD42] [BSD43] [DUMB] [MHE] [RPATHS] [TTYD] > [UCI] [SBACKUP='"#"'] [SENDMTS] [APOLLO] I wouldn't have included the "UCI" option if I were them, since it's somewhat specific to UC Irvine. Also, unless they're supplying TTYD, they shouldn't include that option. In MH 6.7, there's little reason to use the BERK option. >In the .mh_profile for show I have declared a showproc and some arguments >that go with that program. >show: -showproc /user/turner/sources/dmedit/dmcat2 -w1 Sorry, but options don't take extra arguments. Make your showproc a shell script which execs your dmcat2 program with any extra arguments you want. -- John Romine