the 'delete' key does *not* act as Ctrl-D (EOT, cf. ascii(7))
This commit is contained in:
parent
58e5606710
commit
174b4c5a1d
4
edit.c
4
edit.c
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "sh.h"
|
#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 */
|
/* tty driver characters we are interested in */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -1222,7 +1222,7 @@ static struct x_defbindings const x_defbindings[] = {
|
|||||||
{ XFUNC_mv_end | 0x80, 2, '4' },
|
{ XFUNC_mv_end | 0x80, 2, '4' },
|
||||||
{ XFUNC_mv_end | 0x80, 2, '8' },
|
{ XFUNC_mv_end | 0x80, 2, '8' },
|
||||||
{ XFUNC_mv_end, 2, 'F' },
|
{ XFUNC_mv_end, 2, 'F' },
|
||||||
{ XFUNC_eot_del | 0x80, 2, '3' },
|
{ XFUNC_del_char | 0x80, 2, '3' },
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
int
|
||||||
|
4
mksh.1
4
mksh.1
@ -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: 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 $
|
.\" $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 '^X4~'=end-of-line
|
||||||
bind '^X8~'=end-of-line
|
bind '^X8~'=end-of-line
|
||||||
bind '^XF'=end-of-line
|
bind '^XF'=end-of-line
|
||||||
bind '^X3~'=eot-or-delete
|
bind '^X3~'=delete-char-forward
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
.It Ic break Op Ar level
|
.It Ic break Op Ar level
|
||||||
|
Loading…
Reference in New Issue
Block a user