Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!killer!dcs!wnp From: wnp@dcs.UUCP (Wolf N. Paul) Newsgroups: comp.unix.questions Subject: Re: question about vi Message-ID: <89@dcs.UUCP> Date: 18 May 88 13:14:05 GMT References: <611@nvuxl.UUCP> <730001@hpfelg.HP.COM> <647@mccc.UUCP> <3772@fluke.COM> Reply-To: wnp@dcs.UUCP (Wolf N. Paul) Organization: DCS, Dallas, Texas Lines: 13 In article <3772@fluke.COM> strong@tc.fluke.COM (Norm Strong) writes: >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? Not really. The easiest solution would probably be to write a shell script which invokes vi on a temp file if invoked with arguments, and then feeds the temp file to mailx when you exit vi. Drawback is that this would not work when replying from reading mail. There are other mail systems, such as elm, which do what you want. -- Wolf N. Paul * 3387 Sam Rayburn Run * Carrollton TX 75007 * (214) 306-9101 UUCP: ihnp4!killer!dcs!wnp ESL: 62832882 INTERNET: wnp@DESEES.DAS.NET or wnp@dcs.UUCP TLX: 910-280-0585 EES PLANO UD