I've just downloaded the git version of nedit and :
1) the nc executable is not available under the build directory. nedit is there and a ncl executable that fails with an error when I launch it on the command line (ncl: The server process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.)
2) The great patch that TK Soh updated a few weeks ago (mp050226-V3-1-git-2ea66d9c.patch) does not work.
For 1), could you tell me if I did something wrong when I've compiled the sources ? I've followed these commands and I didn't get any (obvious) error message :
$ mkdir build
$ cd build
$ cmake ..
$ make
For 2), could you please update again this patch ?
Regards.
Xuo.
Last edit: ericxuo 2020-12-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So the current version in git here is a mirror of nedit-ng (https://github.com/eteran/nedit-ng), which you have actually contributed to! (Thanks :-) !)
The only differences between that version and the git version here are some small patches to rebrand it as "nedit 6.0" as NG is going to be the future "main version of nedit".
So the address your issues:
yes, the nc executable is now named ncl, this is almost certainly a choice from Scott Tringali to avoid a conflict with the nearly ubiquitous utility netcat, which is commonly installed as /usr/bin/nc.
My guess as to why ncl didn't work is that you didn't run make install, when ncl needs to launch an instance, it simpler runs nedit -server by default. If that isn't found in your PATH, or if it's nedit-5, it won't work correctly.
You can edit the nedit settings using nc.serverCommand in the Server group of the config.ini to specify the full path of the nedit-6 binary and see if that helps though.
That patch applied to nedit 5.7, not 6.0, which is what you attempted to build. That branch is still available under the "classic" branch (https://sourceforge.net/p/nedit/git/ci/classic/tree/).
Specifically, if you want the last tagged version of nedit-5.7, you can use look here:
Thank you for the explanations.
1) Adding the 'new nedit' ncl executable in the PATH variable made the ncl executable to work without the need of 'make install'.
2) Using the "new nedit" executable made me lost my nedit-ng configuration (colors, font, ...). If I'm not wrong, they were located under $HOME/.config/nedit-ng/. Is it the one under $HOME/.nedit/nedit.rc which is used now ? Found the solution : now, it is located under $HOME/.config/nedit. I've copied the $HOME/.config/nedit-ng under $HOME/.config/nedit and everything is fine now.
3) The goal of this patch had been described here : https://sourceforge.net/p/nedit/feature-requests/134/. I think I already made a request for it on the nedit-ng forum 😃
Regards.
Xuo.
Last edit: ericxuo 2020-12-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I've just downloaded the git version of nedit and :
1) the nc executable is not available under the build directory. nedit is there and a ncl executable that fails with an error when I launch it on the command line (ncl: The server process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.)
2) The great patch that TK Soh updated a few weeks ago (mp050226-V3-1-git-2ea66d9c.patch) does not work.
For 1), could you tell me if I did something wrong when I've compiled the sources ? I've followed these commands and I didn't get any (obvious) error message :
$ mkdir build
$ cd build
$ cmake ..
$ make
For 2), could you please update again this patch ?
Regards.
Xuo.
Last edit: ericxuo 2020-12-22
Hi Ericxuo!
So the current version in git here is a mirror of nedit-ng (https://github.com/eteran/nedit-ng), which you have actually contributed to! (Thanks :-) !)
The only differences between that version and the git version here are some small patches to rebrand it as "nedit 6.0" as NG is going to be the future "main version of nedit".
So the address your issues:
yes, the
nc
executable is now namedncl
, this is almost certainly a choice from Scott Tringali to avoid a conflict with the nearly ubiquitous utility netcat, which is commonly installed as/usr/bin/nc
.My guess as to why ncl didn't work is that you didn't run
make install
, whenncl
needs to launch an instance, it simpler runsnedit -server
by default. If that isn't found in yourPATH
, or if it'snedit-5
, it won't work correctly.You can edit the nedit settings using
nc.serverCommand
in theServer
group of theconfig.ini
to specify the full path of the nedit-6 binary and see if that helps though.Specifically, if you want the last tagged version of nedit-5.7, you can use look here:
https://sourceforge.net/p/nedit/git/ci/NEDIT-CLASSIC-END/tree/
I am guessing that the patch will still apply cleanly to that source tree.
However, depending on what that patch did, perhaps we can port it to the newer codebase?
Last edit: Evan Teran 2020-12-24
Hi,
Thank you for the explanations.
1) Adding the 'new nedit' ncl executable in the PATH variable made the ncl executable to work without the need of 'make install'.
2) Using the "new nedit" executable made me lost my nedit-ng configuration (colors, font, ...). If I'm not wrong, they were located under $HOME/.config/nedit-ng/. Is it the one under $HOME/.nedit/nedit.rc which is used now ?
Found the solution : now, it is located under $HOME/.config/nedit. I've copied the $HOME/.config/nedit-ng under $HOME/.config/nedit and everything is fine now.
3) The goal of this patch had been described here : https://sourceforge.net/p/nedit/feature-requests/134/. I think I already made a request for it on the nedit-ng forum 😃
Regards.
Xuo.
Last edit: ericxuo 2020-12-24