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

Bert Wesarg <bert.wesarg-gM/[email protected]> Fri, 20 Nov 2009 08:27:16 +0100
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
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'.

Bert
>
> Cheers
>
> --
> -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Yose Widjaja
> Supreme Emperor @ Jormy Games
> www.jormy.com
> [email protected]
> -- -- -- -- -- -- -- -- -- -- -- -- -- --
> --
> NEdit Discuss mailing list - [email protected]
> http://www.nedit.org/mailman/listinfo/discuss
>
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss