tlf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlf and the nano editor


From: Joop Stakenborg
Subject: Re: tlf and the nano editor
Date: Fri, 22 Nov 2019 16:18:15 +0100

Forgot to edit tlf.1.in. Sorry!


Op 22 nov. 2019, om 16:10 heeft Joop Stakenborg <address@hidden> het volgende geschreven:

Ah well... might as well add it right away, seems to work okay here. Diff attached!


Joop

Op 22-11-19 om 15:35 schreef address@hidden:
Thanks Nate! Looks really simple... Will try it out next week.

Joop

Op 22 nov. 2019 15:13 schreef Nate Bargmann <address@hidden>:

* 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


<tlf.diff>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]