Path: utzoo!attcan!uunet!husc6!bbn!uwmcsd1!ig!agate!ucbvax!decwrl!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.questions Subject: Re: VI and MAILX (was: Re: question about vi) Message-ID: <10650024@hpisod2.HP.COM> Date: 18 May 88 00:21:47 GMT References: <88@dcs.UUCP> Organization: Hewlett Packard, Cupertino Lines: 15 > }...When using mailx and writing a memo... > }...you can use " ~v " -- this will put > }...you into vi mode for your memo.... > } > }Actually, it invokes whatever is defined for the environmental variable > }VISUAL. I happen to use emacs. > > Is there a way of invoking vi whenever you call the mail program, so you > don't have to type ~v each and every time? alias mailto 'vi /tmp/mail.$$ && | /usr/bin/mailx \!* < /tmp/mail.$$' Dave Decot Hewlett-Packard Company hpda!decot