RE: launching a single instance of nedit for each text file

"Waring, Stephen" <[email protected]> Tue, 24 Nov 2009 11:33:49 +0000
Newsgroups gmane.editors.nedit.user
Message-ID <C6D2C383399AC64FAE8C51BB55FD2BD121E6817B75@SME1037.dom1.e-ssi.net>
Could you not use
EDITOR='/usr/bin/nedit -wait'

This has the benefit of using your current nc session, but lets programs such as crontab wait until you close the tab.

Regards
Steve Waring

-----Original Message-----
From: Aaron W. Hsu [mailto:[email protected]] 
Sent: Tuesday, November 24, 2009 1:09 AM
To: General NEdit discussion list
Subject: Re: launching a single instance of nedit for each text file

Hey TK,

--On Tuesday, November 24, 2009 12:53:52 AM +0000 TK Soh 
<[email protected]> wrote:

> Can you give some scenario where you don't want to use nc?

I can give an example. Specifically, I use the nedit binary as my
default editor with

  EDITOR=/usr/bin/nedit

Because many clients will launch that editor and block on that program's
exit. It does no good if the program returns before I am finished
editing. For example, when using NEdit as my text editor for mail
composition, or for News clients.

I think that the current layout, with nedit as one thing, and nc as
another is probably the right way to go. It's easier for me, for one
thing, and it's really not that hard to learn about nc. The only issue
is that netcat is also listed as nc, so I vote to change the executable
name to ncl.

  Aaron W. Hsu


___________________________ Disclaimer Notice ____________________
This message and any attachments are confidential and should only
be read by those to whom they are addressed. If you are not the
intended recipient, please contact us, delete the message from your
computer and destroy any copies. Any distribution or copying without
our prior permission is prohibited.

Internet communications are not always secure and therefore the
E.ON Group does not accept legal responsibility for this message.
The recipient is responsible for verifying its authenticity before
acting on the contents. Any views or opinions presented are solely
those of the author and do not necessarily
represent those of the E.ON Group.

E.ON UK plc, Westwood Way, Westwood Business Park,
Coventry, CV4 8LG.
Registered in England & Wales No. 2366970

Telephone +44 (0) 2476 192000
Fax +44 (0) 2476 42 5432

-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss