[Bug 252091] forward delete key does not work for root user
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 23 20:29:14 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252091
Bug ID: 252091
Summary: forward delete key does not work for root user
Product: Base System
Version: 12.2-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: misc
Assignee: bugs at FreeBSD.org
Reporter: sean at rogue-research.com
The forward delete key (aka "delete" aka "del", but *not* the "backspace" key)
does not work for the root user.
I have just created a vanilla FreeBSD 12.2-p1 (current newest) VM and if I ssh
to this server (from macOS 10.14.6, if it matters) as my own user then both the
forward and backward delete keys work as expected.
But if I `su` then: backspace still works, but forward delete prints a tilde
and beeps.
At a BSD user group meeting, I got a workaround, which is to edit /root/.cshrc
and append:
bindkey "\e[3~" delete-char
I don't know what that means or why it helps, but it does.
I think it would be rather nicer if such a commonly used key worked as expected
out-of-the-box!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list