#48 EDITOR won't start if it contains arguments

closed-invalid
nobody
None
5
2012-12-11
2012-12-11
No

Steps to reproduce:
- set EDITOR to some command with argument, e.g. "vim -R"
- enter the linebased interface and select a line
=>
Cannot exec vim -R: No such file or directory
Press the RETURN key to continue:

Discussion

  • Hans-Bernhard Broeker

    $EDITOR is supposed to be the name of a program, not an arbitrary piece of command line. The latter would be unwise for safety reasons.

    Nor is it really necessary to do this, so this is no bug. You can just as well put a little shell script onto your path and point $EDITOR to that, instead.

    Oh, and this is actually a duplicate of http://sourceforge.net/tracker/index.php?func=detail&aid=1007390&group_id=4664&atid=304664

     
  • Hans-Bernhard Broeker

    • labels: 388881 -->
    • status: open --> closed-invalid
     

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

Sign up for the SourceForge newsletter:





No, thanks