Re: Using commands that use unix EDITOR environment variable
- On Sat, Sep 02, 2006 at 12:02:02PM +0530, Ujjal Bose wrote:
> Hi ,I think the problem is that, by default, gvim forks and immediately
> in my machine if I set EDITOR as gvim and then try to execute commands
> like "crontab -e" that invoke editors, I get a gvim window , but it
> does not open my existing crontab file, nor does it allow me to do any
> changes. But if I set the EDITOR as vi , everything works. Any clues ?
returns control to the calling process. Try setting EDITOR to vim or
to "gvim --nofork".
HTH --Benji Fisher
> I think the problem is that, by default, gvim forks and immediatelyThanks Benji,
> returns control to the calling process. Try setting EDITOR to vim or
> to "gvim --nofork".
> HTH --Benji Fisher
"gvim --nofork" works ! Thanks again.