summaryrefslogtreecommitdiff
path: root/bin/ksh
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-02-16 12:35:11 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-02-16 12:35:11 +0000
commit4c9f697bdf04c3228ad2251ae49f773bf79840a3 (patch)
tree55fb22daf9e6e5fd60321877c11290e5729b0437 /bin/ksh
parentfc4c77927880fb5deab9cf73f6bfa41350f69b38 (diff)
document that `emacs' is the default editing mode, and that as well
as being set explicitly w/ `set', modes can also be set using EDITOR and VISUAL; ok jaredy@ otto@
Diffstat (limited to 'bin/ksh')
-rw-r--r--bin/ksh/ksh.115
1 files changed, 12 insertions, 3 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index 5f15d933324..d57e3669d13 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.93 2005/02/08 17:42:49 jmc Exp $
+.\" $OpenBSD: ksh.1,v 1.94 2005/02/16 12:35:10 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -4508,8 +4508,17 @@ in an interactive session, controlled by the
and
.Ic vi
options (at most one of these can be set at once).
-If none of these options are enabled, the shell simply reads lines using the
-normal
+The default is
+.Ic emacs .
+Editing modes can be set explicitly using the
+.Ic set
+built-in, or implicitly via the
+.Ev EDITOR
+and
+.Ev VISUAL
+environment variables.
+If none of these options are enabled,
+the shell simply reads lines using the normal
.Xr tty 4
driver.
If the