misc/152146: Virtual consoles ignore kb and kD termcap entries.
crockabiscuit at yahoo.com
Thu Nov 11 20:50:09 UTC 2010
>Synopsis: Virtual consoles ignore kb and kD termcap entries.
>Arrival-Date: Thu Nov 11 20:50:07 UTC 2010
FreeBSD elisa.muffinplace.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
In cons25 termcap entry, kb=^H and kD=^?.
So I made cons25d entry and kb=\177 and kD=\E[3~ in cons25 in it.
cons25d entry inherits cons25 and overrides kb and kD.
After adding cons25d in /etc/termcap and logout and login,
the changes weren't applied.
After some inspection, I found out that csh is not aware of kb and kD.
It was obviously from the output of "telltc" builtin of csh.
I guess csh's ignorance of kb and kD caused the problem.
But xterm and genom-terminal covered for csh's ignorance of kb and kD.
Can FreeBSD virtual consoles be modified to deal with kb and kD even if a shell is not aware of it?
Ctrl-v + backspace or del would print out the key symbols(^?, ^H, and etc)
More information about the freebsd-bugs