Module Name:    src
Committed By:   uwe
Date:           Mon Sep 23 11:38:50 UTC 2024

Modified Files:
        src/etc/skel: dot.profile

Log Message:
dot.profile: reword the comment about EDITOR

Push the scary cool story about ed(1) from the front page.  The user
is more interested in the options available to them, so move the
sentence about emacs and nano closer to the beginning of the comment.

TBH, I was a bit incredulous, but sh's own fc _does_ use ed if EDITOR
is not set, though it seems to be the only program in base to do this.
Speak of a self-fulfilling prophecy...


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/etc/skel/dot.profile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/skel/dot.profile
diff -u src/etc/skel/dot.profile:1.10 src/etc/skel/dot.profile:1.11
--- src/etc/skel/dot.profile:1.10	Thu Mar  1 06:12:09 2018
+++ src/etc/skel/dot.profile	Mon Sep 23 11:38:50 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: dot.profile,v 1.10 2018/03/01 06:12:09 snj Exp $
+#	$NetBSD: dot.profile,v 1.11 2024/09/23 11:38:50 uwe Exp $
 #
 # This is the default .profile file.
 # Users are expected to edit it to meet their own needs.
@@ -9,10 +9,11 @@
 # See sh(1) for details.
 #
 
-# Set your editor. Default to explicitly setting vi, as otherwise some
-# software will run ed and other software will fail. Can be set to
-# emacs or nano or whatever other editor you may prefer, but of course
-# those editors must be installed before you can use them.
+# Set your editor.  Can be set to emacs or nano or whatever other
+# editor you may prefer, but of course those editors must be installed
+# before you can use them.  Default to explicitly setting vi, as
+# otherwise some software (including sh's own fc) will run ed and
+# other software will fail.
 export EDITOR=vi
 
 # vi settings: set show-match auto-indent always-redraw shift-width=4

Reply via email to