The following reply was made to PR misc/152162; it has been noted by GNATS.

From: crocket <crockabisc...@yahoo.com>
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: misc/152162: On syscons, pressing delete key results in pressing 
backspace.
Date: Fri, 12 Nov 2010 07:26:02 -0800 (PST)

 I made us.iso.mod.kbd in /usr/share/syscons/keymaps and set both 083(Del key 
on the keypad) and 103(Delete key) to fkey65 and 014 to del(ASCII DEL) in 
us.iso.mod.kbd. I chose fkey65 because it's the first function key not used by 
default on FreeBSD.
 After that, I added keychanges="65 \E[3~" and keymap="us.iso.mod" in 
/etc/rc.conf and rebooted.
 With """JUST""" "bindkey \E[3~ delete-char" in /etc/csh.cshrc, csh deletes 
characters to the right in both syscons and X11 terminal emulators.
 In case of bash, you would add a similar setting.(I haven't tried bash)
 
 I think 014(backspace key on the keyboard) shouldn't match ASCII BS so that 
applications are free to use Ctrl-H(=ASCII BS).
 A detailed rationale for all of those above is elaborated in 
http://www.ibb.net/~anne/keyboard.html
 
 It's just a quick hack to match the keyboard behaviors in syscons and X11 
terminal emulators so that delete key deletes a character to the right.
 So I want to see two things incorporated in the next release of 
FreeBSD(9.0-RELEASE?)
 1) fkey65 set to \E[3~ by default
 2) a new keymap based on us.iso.kbd or something similar that matches 083 and 
103 to fkey65 and matches 014 to del.
 
 
       
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to