#62 help me set EDITOR settings.


I'm running 7.16.2 on Redhat Enterprise 5.3 and am a BASH user. My .bash_profile contains the following: EDITOR=/usr/bin/vim export EDITOR
When I execute red from the mged command line, mged hangs up and has to be killed. My vim is version 7.0.
Any ideas?


  • Sean Morrison

    Sean Morrison - 2010-08-17
    • priority: 5 --> 7
    • assigned_to: nobody --> brlcad
    • status: open --> closed-fixed
  • Sean Morrison

    Sean Morrison - 2010-08-17

    That's a limitation that was introduced in the 7.16 line. MGED actually launches vim and is waiting for vim to terminate. The vim is invoked without a controlling terminal, though, which is why it hangs.

    The fix is pretty simple. You can either update to 7.16.8 or later, which has a fix for the problem, or you can set EDITOR to a wrapper script. The wrapper script entails writing out a text file (e.g., edit.sh) with the following:

    xterm -e /usr/bin/vim $*

    You'll have to have xterm in your path, or modify the above to be /usr/X11R6/bin/xterm or /usr/X11/bin/xterm (run "whereis xterm" to find it). Once that's set, though, a controlling terminal will invoke and mged should behave better.

    Again, this is fixed in the latest release too, so that may be even easier.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks