Xref: utzoo comp.sys.att:4461 comp.unix.questions:9715 Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!n8emr!uncle!jbm From: jbm@uncle.UUCP (John B. Milton) Newsgroups: comp.sys.att,comp.unix.questions Subject: Re: changing mail directory Keywords: sysV Message-ID: <363@uncle.UUCP> Date: 13 Oct 88 17:19:25 GMT References: <286@mccc.UUCP> <390@westmark.UUCP> <305@mccc.UUCP> <1162@mrspoc.UUCP> <484@genesis.ATT.COM> <2126@cuuxb.ATT.COM> Reply-To: jbm@uncle.UUCP (John B. Milton) Organization: Just me and my computer, Columbus Ohio Lines: 33 In article <2126@cuuxb.ATT.COM> mmengel@cuuxb.UUCP (Marc W. Mengel) writes: >In article <484@genesis.ATT.COM> andys@shlepper.ATT.COM (a.b.sherman) writes: >>In article <1162@mrspoc.UUCP> itkin@mrspoc (Steven M. List) writes: >>>In article <305@mccc.UUCP> pjh@mccc.UUCP (Pete Holsberg) writes: >>>> In article <390@westmark.UUCP> dave@westmark.UUCP (Dave Levenson) writes: >>>> > You will probably need to re-compile rmail to accomplish what you >>>> > want. >>>> That'll be hard without source code! >>>Not if you use smail. >> >>Ah, but what was the original question? How can one change the mailbox ... >Well, actually, for local mail deleivery only you could just use >the following script, ... How about the easiest way of all: patch the executable! The string "/usr/mail/" only appears once in my (UNIXpc) version. You would be limited to 10 characters, of course. The program bpatch, buggy though it is will do this just fine. The same patch would have to be applied to /etc/smgr on the UNIXpc if you still want the letter icon to come up correctly. The string appears three times there. Any other programs that reference that directory, as long as they have the entire path in one place, could be fixed this way. One of my favorite file-name-in-the-executable path changes was to patch /usr/lib/uucp/*getty to change the /dev/syscon reference to /dev/error. This way the error comes up in a nice clean window instead of flashing a new window for a second. John (there's always an easier way) Milton -- John Bly Milton IV, jbm@uncle.UUCP, n8emr!uncle!jbm@osu-cis.cis.ohio-state.edu home (614) 294-4823, work (614) 764-4272; Send vi tricks, I'm making a manual