Vim as default is fine!

The only default editor setting I know of is in fcron. 

# Location of the default editor for "fcrontab -e"
#editor     =   /usr/bin/vi
editor      =   /usr/bin/nano
 Is there another?



On Oct 11, 2021, at 8:07 AM, Michael Tremer <michael.tremer@ipfire.org> wrote:

Hello,

On 10 Oct 2021, at 20:42, Jon Murphy <jcmurphy26@gmail.com> wrote:

I’m not sure nano is "the" answer though I do like it.  Just anything besides vim.

Vim is fine for developers.  It is the non-developers that struggle.  This article explains it pretty well and it includes my struggles to exit!

https://stackoverflow.blog/2017/05/23/stack-overflow-helping-one-million-developers-exit-vim/

Q: How do you generate a random string?
A: Put a user in front of vi, and tell them to exit

LOL. Good one.

I wouldn’t be against adding nano to the core distribution, although I would draw the line there and say that Joe is then out :)

However, I wouldn’t want to make it the default editor if that is okay.

-Michael



On Oct 10, 2021, at 7:55 AM, Michael Tremer <michael.tremer@ipfire.org> wrote:

Hello,

We have (or had) a couple of editors and I am quite against shipping them all.

Everyone has their favourites, and there will always be another one.

What is wrong with vim?

-Michael

On 9 Oct 2021, at 22:07, Jon Murphy <jcmurphy26@gmail.com> wrote:

All,

Is it possible to move `nano` from addon to core?  It is SOOOOO much easier to use than vim.

I understand it is an easy installed addon but it seems like it really belongs in "core".

Jon

On Oct 9, 2021, at 5:56 AM, Adolf Belka <adolf.belka@ipfire.org> wrote:

Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>

On 08/10/2021 19:22, Matthias Fischer wrote:
For details see:
https://www.nano-editor.org/news.php

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
lfs/nano | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lfs/nano b/lfs/nano
index 3bb7806aa..237dfab20 100644
--- a/lfs/nano
+++ b/lfs/nano
@@ -24,7 +24,7 @@
include Config
-VER        = 5.8
+VER        = 5.9
THISAPP    = nano-$(VER)
DL_FILE    = $(THISAPP).tar.xz
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
DIR_APP    = $(DIR_SRC)/$(THISAPP)
TARGET     = $(DIR_INFO)/$(THISAPP)
PROG       = nano
-PAK_VER    = 38
+PAK_VER    = 39
DEPS       = ""
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = d2249e3dd108c830df00efd7c1b79d86
+$(DL_FILE)_MD5 = 24b67a7a2e731d3a5ec6d154b4521d08
install : $(TARGET)