mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 06:47:21 +01:00
Add support for an "erase2" so that both ^H and DEL can be used
for backspacing. Submitted By: Rui Pedro Mendes Salgueiro <rps@mat.uc.pt>
This commit is contained in:
parent
576ccb5693
commit
4660b1416d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69321
@ -64,6 +64,7 @@ struct cchar cchars1[] = {
|
||||
{ "eol", VEOL, CEOL },
|
||||
{ "eol2", VEOL2, CEOL },
|
||||
{ "erase", VERASE, CERASE },
|
||||
{ "erase2", VERASE2, CERASE2 },
|
||||
{ "intr", VINTR, CINTR },
|
||||
{ "kill", VKILL, CKILL },
|
||||
{ "lnext", VLNEXT, CLNEXT },
|
||||
|
@ -374,6 +374,7 @@ Recognized control-characters:
|
||||
.It eol Ta Tn VEOL EOL No character
|
||||
.It eol2 Ta Tn VEOL2 EOL2 No character
|
||||
.It erase Ta Tn VERASE ERASE No character
|
||||
.It erase2 Ta Tn VERASE2 ERASE2 No character
|
||||
.It werase Ta Tn VWERASE WERASE No character
|
||||
.It intr Ta Tn VINTR INTR No character
|
||||
.It kill Ta Tn VKILL KILL No character
|
||||
@ -420,7 +421,8 @@ In addition
|
||||
-nl unsets inlcr and igncr.
|
||||
.It Cm ek
|
||||
Reset
|
||||
.Dv ERASE
|
||||
.Dv ERASE ,
|
||||
.Dv ERASE2 ,
|
||||
and
|
||||
.Dv KILL
|
||||
characters
|
||||
|
Loading…
Reference in New Issue
Block a user