Re: launching a single instance of nedit for each text file
TK Soh <[email protected]> Fri, 20 Nov 2009 08:58:15 +0000
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Nov 20, 2009 at 7:27 AM, Bert Wesarg <bert.wesarg-gM/[email protected]> wrote: > On Fri, Nov 20, 2009 at 04:12, Yose Widjaja <[email protected]> wrote: >> Good day, >> >> I was wondering if it is possible to enforce the settings of only ever >> launching one nedit window for each text file? So, from the terminal, if I >> do "nedit moo.txt" twice, the second one will just bring the existing window >> to focus. >> >> Is there such thing? If not, I guess the only way is to make a script which >> manually goes through the windows to check if the file has been opened? Is >> this possible? > Try using only the NEdit client. Its officially called nc, but it is > maybe installed as an different name, like nedit-nc or something. Than > replace all your calls 'nedit ...' with 'nc ...'. > > You can read more in the help menu under 'Client/Server Mode'. This is an old discussion. A lot of folks not aware of 'nc' somehow. May we should rename the server binary (nedit) to something else, like nedit-server and rename nc to nedit. Of course they are probably work to be done to the source to support this. -- NEdit Discuss mailing list - [email protected] http://www.nedit.org/mailman/listinfo/discuss