the 'delete' key does *not* act as Ctrl-D (EOT, cf. ascii(7))

This commit is contained in:
tg 2006-08-02 14:02:55 +00:00
parent 58e5606710
commit 174b4c5a1d
2 changed files with 4 additions and 4 deletions

4
edit.c
View File

@ -5,7 +5,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.33 2006/08/02 14:00:18 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.34 2006/08/02 14:02:54 tg Exp $");
/* tty driver characters we are interested in */
typedef struct {
@ -1222,7 +1222,7 @@ static struct x_defbindings const x_defbindings[] = {
{ XFUNC_mv_end | 0x80, 2, '4' },
{ XFUNC_mv_end | 0x80, 2, '8' },
{ XFUNC_mv_end, 2, 'F' },
{ XFUNC_eot_del | 0x80, 2, '3' },
{ XFUNC_del_char | 0x80, 2, '3' },
};
int

4
mksh.1
View File

@ -1,4 +1,4 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.48 2006/08/02 14:00:19 tg Exp $
.\" $MirOS: src/bin/mksh/mksh.1,v 1.49 2006/08/02 14:02:55 tg Exp $
.\" $OpenBSD: ksh.1,v 1.116 2006/07/26 10:13:25 jmc Exp $
.\" $OpenBSD: sh.1tbl,v 1.53 2004/12/10 01:56:56 jaredy Exp $
.\"
@ -2487,7 +2487,7 @@ bind '^XH'=beginning-of-line
bind '^X4~'=end-of-line
bind '^X8~'=end-of-line
bind '^XF'=end-of-line
bind '^X3~'=eot-or-delete
bind '^X3~'=delete-char-forward
.Ed
.Pp
.It Ic break Op Ar level