[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tlf and the nano editor
From: |
Nate Bargmann |
Subject: |
Re: tlf and the nano editor |
Date: |
Fri, 22 Nov 2019 08:13:06 -0600 |
User-agent: |
NeoMutt/20180716 |
* 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."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
signature.asc
Description: PGP signature
Re: tlf and the nano editor, jim smith, 2019/11/22