From 6965dcf2dcb927ed11724648452cb22938ec433a Mon Sep 17 00:00:00 2001 From: schwarze Date: Tue, 6 Feb 2018 15:13:32 +0000 Subject: [PATCH] Clarify that the "bind" built-in command only affects Emacs editing mode, to avoid potential confusion pointed out by andreas dot kahari at icm dot uu dot se on misc@. Patch minimally tweaked based on a comment from jmc@. OK anton@ jca@ jmc@ on the previous version without the tweak. --- bin/ksh/ksh.1 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index 67ed7108542..ceb3bce1264 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.197 2017/12/12 11:34:38 tb Exp $ +.\" $OpenBSD: ksh.1,v 1.198 2018/02/06 15:13:32 schwarze Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: December 12 2017 $ +.Dd $Mdocdate: February 6 2018 $ .Dt KSH 1 .Os .Sh NAME @@ -2788,11 +2788,16 @@ for more information. .Ar string Ns = Ns Op Ar editing-command .Ar ... .Xc -The specified editing command is bound to the given +In +.Sx Emacs editing mode , +the specified editing command is bound to the given .Ar string . Future input of the .Ar string will cause the editing command to be immediately invoked. +Bindings have no effect in +.Sx Vi editing mode . +.Pp If the .Fl m flag is given, the specified input -- 2.20.1