* On 2019 22 Nov 08:07 -0600, Joop Stakenborg
wrote:
> I have gotten used to the GNU nano editor, but it
does not seem to work with
> tlf. When I type :edit in the callsign field, tlf
exits and returns straight
> away without opening nano. Both joe and vi work okay
here. It is hard to
> debug, have to spent some time on it to see what
actually happens. Maybe use
> gdb with a break added. I will have a look next week.
It should be fairly simple as I added mcedit to the list
of available
editors. A quick 'git grep mcedit' shows where mcedit was
added:
$ git grep mcedit
ChangeLog:1117: * share/logcfg.dat, src/editlog.c,
src/parse_logcfg.c: Prefer 'mcedit' for
ChangeLog:1119: Enable 'mcedit' as a log file editor.
share/logcfg.dat:33:#EDITOR=mcedit
src/changepars.c:359: strcpy(cmdstring, "mcedit
");
src/editlog.c:63: strcat(comstr, "mcedit ");
src/parse_logcfg.c:904: if ((strncmp(buff, "mcedit",
6) == 0)
tlf.1.in:282:Edit the log with your favourite editor (the
editor (vi[m]|joe|e3|mcedit)
tlf.1.in:975:You can set your favourite editor (joe |
vi[m] | e3 | mcedit) in the
tlf.1.in:1047:\fBEDITOR\fR=\fIjoe\fR | \fIvi\fR[\fIm\fR] |
\fIe3\fR | \fImcedit\fR
This should help you get started, Joop.
73, Nate
--
"The optimist proclaims that we live in the best of all
possible worlds. The pessimist fears this is true."