In the FAQs chapter 4.4.4 "How do I use my delete key in sh and csh?":
What should be acomplished:
"delete" removes character right of cursor.
"backspace" removes character left of cursor.
But the documentatation advises to remap both "delete" and "backspace" to remove the character left of the cursor.
So these two lines shpould be deleted from the FAQ:
bind ^? ed-delete-next-char # for console
bindkey ^? delete-char # for console
Ooops, typo: It should be: [..] "delete" and "backspace" to remove the character right of the cursor. -- which results in a surprise as "backspace" appears not to work any more why typing.
A commit references this bug:
Date: Sun Dec 15 09:14:15 UTC 2019
New revision: 53691
Update the explanation of how to use the delete key in console and xterm in
the section 4.4.4 of the FAQ.
And remove a dead link
Submitted by: email@example.com
Patch by: carlavilla@
Approved by: bcr@
Differential Revision: https://reviews.freebsd.org/D22805
Fixed. Good catch.