|
From: | Joop Stakenborg |
Subject: | Re: tlf and the nano editor |
Date: | Fri, 22 Nov 2019 20:57:59 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 |
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 PG4IHi 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.
[Prev in Thread] | Current Thread | [Next in Thread] |