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: Thomas Beierlein
Subject: Re: tlf and the nano editor
Date: Fri, 22 Nov 2019 22:15:45 +0100

Hi Joop,

thanks for the test. It was just a quick shot for a test. I will look
into it tomorrow evening. 

In the case that someone forgot to specify the EDITOR= command I will
fall back to the editor specified in the environment.

73, de Tom

Am Fri, 22 Nov 2019 20:57:59 +0100 schrieb Joop Stakenborg
<address@hidden>:

> Hi Tom,
> 
> 
> it works okay for the :edit command, but you need to change the code
> for both the :set and :cfg commands (which allows editing of
> logcfg.dat), they both start the joe editor, even though I have
> EDITOR=nano in logcfg.dat.
> 
> The code is in changepars.c
> 
> Thanks,
> 
> Joop
> 
> Op 22-11-19 om 20:19 schreef Thomas Beierlein:
> > Hi all,
> >
> > as the fixed choice of editors is quite a nuisance I prepared a
> > changed version for tests. Please find it at
> > https://github.com/dl1jbe/tlf/tree/new_editor
> >
> > Download the code and build TLF as told in the INSTALL file. Do not
> > forget the 'autoreconf -i' step.
> >
> > The new version accepts any string as editor command and will just
> > call that program with the logfile name as parameter.
> >
> > That means
> >
> > EDITOR=my-shiny-editor
> >
> > in logcfg.dat will call
> >
> > 'my-shiny-editor <logfilename>'
> >
> > So a simple EDITOR=nano should do afterwards.
> >
> > Please test and give feedback.
> >
> > 73, de Tom DL1JBE
> >
> > Am Fri, 22 Nov 2019 11:08:52 -0600
> > schrieb jim smith <address@hidden>:
> >  
> >> On Fri, 22 Nov 2019 15:06:14 +0100
> >> Joop Stakenborg <address@hidden> 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.
> >>>
> >>>
> >>> 73 de Joop PG4I
> >>>      
> >>
> >> Hi Joop,
> >>
> >> I don't know if this helps any, but I don't have any problems
> >> running nano with tlf on ubuntu 18.04. I have *not* updgraded to
> >> tlf 1.4 yet (was going to do that this weekend.  
> >
> >  



-- 
"Do what is needful!"
Ursula LeGuin: Earthsea
--




reply via email to

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