Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!decwrl!ucbvax!RODAN.ACS.SYR.EDU!jdpeek From: jdpeek@RODAN.ACS.SYR.EDU (Jerry Peek) Newsgroups: comp.mail.mh Subject: Re: mh profile switch troubles Message-ID: <9008272052.AA01915@rodan.acs.syr.edu> Date: 27 Aug 90 20:52:35 GMT References: <9008271912.AA09985@aerospace.aero.org> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 > In the old days of MH, I had thought that the following two lines would > work in concert to let me run an editor with switches: > > Editor: /u/obrien/bin/e > /u/obrien/bin/e: -notracks > > This doesn't seem to work any more. Any notions as to why? The editor program itself, /u/obrien/bin/e, has to know that it should look in the .mh_profile for switches. Does your 'e' editor do that? (MH programs do it by default.) If your editor doesn't look in .mh_profile, you can make yourself a shell script in your bin directory and use *that* as the editor. Put the switches in that shell script. For instance, an editor named 'e_notracks' might have these two lines in it: #! /bin/sh exec /u/obrien/bin/e -notracks "$@" Using the "exec" saves a process. Put this line in your .mh_profile: Editor: /u/obrien/bin/e_notracks --Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY jdpeek@rodan.acs.syr.edu, JDPEEK@SUNRISE.BITNET +1 315 443-3995