[MacPorts] #25750: nvi doesn't work with 'port edit'

MacPorts noreply at macports.org
Tue Jul 20 09:14:56 PDT 2010


#25750: nvi doesn't work with 'port edit'
------------------------------+---------------------------------------------
 Reporter:  geoffl@…          |       Owner:  toby@…           
     Type:  defect            |      Status:  new              
 Priority:  Normal            |   Milestone:                   
Component:  ports             |     Version:  1.9.1            
 Keywords:                    |        Port:  nvi              
------------------------------+---------------------------------------------

Comment(by geoffl@…):

 One thing that I probably didn't make very clear was that the "port edit"
 command would bail out early in the first of the two cases given, so you
 won't be able to actually edit anything.  The latter case obviously is a
 bug in nvi.  In either case, starting nvi as a standalone program on the
 command line works fine.

 I haven't looked too closely at why the nvi screen never comes up, I guess
 editors should be able to print to stderr anytime they want, for
 diagnostic or non-fatal error message (such as this one), is the port
 command bailing out early because it detected something on stderr?  It
 might be better to just start the editor and wait for it to finish.  I
 tried vipw and visudo with nvi both of which shell out to the external
 editor for modifications, and nvi comes up fine.

-- 
Ticket URL: <http://trac.macports.org/ticket/25750#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list