Date: Sun, 21 Nov 2010 15:40:11 GMT From: Jilles Tjoelker <jilles@stack.nl> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/152162: [syscons] On syscons, pressing delete key results in pressing backspace. Message-ID: <201011211540.oALFeBkA006865@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/152162; it has been noted by GNATS. From: Jilles Tjoelker <jilles@stack.nl> To: bug-followup@FreeBSD.org, crockabiscuit@yahoo.com Cc: Subject: Re: kern/152162: [syscons] On syscons, pressing delete key results in pressing backspace. Date: Sun, 21 Nov 2010 16:32:13 +0100 With the new "libteken" terminal emulator code in 9-current, syscons is now much like xterm. It appears that Backspace is still ^H, but Delete is now ^[[3~ instead of ^?. A while ago, I changed 9-current libedit (and therefore programs like sh and ftp) to recognize ^[[3~. I encourage you to ask tcsh upstream to fix this as well (either by hardcoding ^[[3~ somewhere or by using the appropriate termcap/terminfo field). Making the Backspace key send ^? may be slightly dangerous as it is rather annoying if Backspace does Delete (more annoying than Delete doing Backspace, IMHO). On the other hand, vte-based terminal programs such as gnome-terminal and xfce4's Terminal send ^? by default and it seems to work fine. -- Jilles Tjoelker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011211540.oALFeBkA006865>