From 4ca58836b4772f7816041a67e9f997c399d3140d Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 31 Jan 2023 21:45:32 +0100 Subject: [PATCH] board/common: replace edit and editor with symlink to nano The nano editor has been shown, over and over again, to be more user-friendly to complete UNIX/Linux beginners than even Mg. Also, change the default pager/less to be less (again), it was very confusing to have less be most and more just be more. We recommend scripts to use pager and edit/editor to call system safe defaults. Signed-off-by: Joachim Wiberg --- board/common/rootfs/bin/help | 5 ++++- board/common/rootfs/etc/profile.d/convenience.sh | 8 +++----- board/common/rootfs/usr/bin/edit | 1 + board/common/rootfs/usr/bin/editor | 1 + board/common/rootfs/usr/bin/pager | 1 + board/common/rootfs/usr/bin/pico | 1 + 6 files changed, 11 insertions(+), 6 deletions(-) create mode 120000 board/common/rootfs/usr/bin/edit create mode 120000 board/common/rootfs/usr/bin/editor create mode 120000 board/common/rootfs/usr/bin/pager create mode 120000 board/common/rootfs/usr/bin/pico diff --git a/board/common/rootfs/bin/help b/board/common/rootfs/bin/help index c7e10e7d..421924f9 100755 --- a/board/common/rootfs/bin/help +++ b/board/common/rootfs/bin/help @@ -269,7 +269,10 @@ editor() cat <