Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!uw-june!uw-entropy!dataio!pilchuck!ssc!happym!kent From: kent@happym.UUCP (Kent Forschmiedt) Newsgroups: comp.unix.questions Subject: Re: VI and MAILX (was: Re: question about vi) Message-ID: <446@happym.UUCP> Date: 25 May 88 23:40:12 GMT References: <88@dcs.UUCP> <10650024@hpisod2.HP.COM> Reply-To: kent@happym.UUCP (Kent Forschmiedt) Organization: Happy Man Corp. Lines: 16 [ when entering mail in mailx, ~v at the beginning of a line will invoke the editor named in the VISUAL variable. Dave Decot suggests this alias: ] > >alias mailto 'vi /tmp/mail.$$ && | /usr/bin/mailx \!* < /tmp/mail.$$' I would revise that to: alias mailto 'vi /tmp/mail.$$ && | /usr/bin/mailx \!* < /tmp/mail.$$; rm -f /tmp/mail.$$' Assuming that the ";" works the same in csh as in sh. -- -- Kent Forschmiedt -- kent@happym.UUCP, tikal!camco!happym!kent Happy Man Corporation 206-282-9598