diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -218,6 +218,8 @@ .Fl V option if it has been set; set automatically when interactive on terminals). +See +.Xr editline 7 . .It Fl e Li errexit Exit immediately if any untested command fails in non-interactive mode. The exit status of a command is considered to be @@ -328,6 +330,8 @@ command line editor (disables .Fl E if it has been set). +See +.Xr editline 7 . .It Fl v Li verbose The shell writes its input to standard error as it is read. @@ -1994,7 +1998,8 @@ (or the current job if no jobs are given) in the background. .It Ic bind Oo Fl aeklrsv Oc Oo Ar key Oo Ar command Oc Oc -List or alter key bindings for the line editor. +List or alter key bindings for the line editor +.Xr 7 editline . This command is documented in .Xr editrc 5 . .It Ic break Op Ar num @@ -2831,6 +2836,10 @@ and return an exit status of zero. .El .Ss Command Line Editing +Command line editing in +.Nm +is handled by the +.Xr editline 7 . When .Nm is being used interactively from a terminal, the current command @@ -2943,7 +2952,8 @@ .Xr umask 2 , .Xr wctype 3 , .Xr editrc 5 , -.Xr shells 5 +.Xr shells 5 , +.Xr editline 7 .Sh HISTORY A .Nm