question about vi

Wolf N. Paul wnp at dcs.UUCP
Wed May 18 23:14:05 AEST 1988


In article <3772 at fluke.COM> strong at 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 at DESEES.DAS.NET or wnp at dcs.UUCP   TLX: 910-280-0585 EES PLANO UD



More information about the Comp.unix.questions mailing list