Terminal (TERM=xterm) on FreeBSD doesn not accept DEL or ALT key on/in a Linux YAST2 session

Alejandro Imass ait at p2ee.org
Mon Mar 12 15:43:18 UTC 2012


On Mon, Mar 12, 2012 at 10:30 AM, O. Hartmann
<ohartman at mail.zedat.fu-berlin.de> wrote:
> On 03/12/12 15:21, kpneal at pobox.com wrote:
>> On Mon, Mar 12, 2012 at 02:51:55PM +0100, O. Hartmann wrote:
>>> Administering Linux Suse boxes makes it opf need to login onto those
>>> boxes and use the well designed kiddy-cloaking scripting environment,
>>> called YAST/YAST2.
[...]

> Of course, it is either setenv TERM xterm in csh or TERM=xterm in
> bourne-alike shells.

Hi Oliver,

DEL and BS (Backspace) are one of those things where terminals have
failed to standardize. Remember there are *many* layers of
translations from the time you hit the key until it echoes on the
terminal. First you have local keymaps which might be sending the
wrong control sequence (e.g. Mac keyboard vs. regular PC). Then you
have the character encoding of the terminal's OS, the you may have
further translation in the protocol agents (ssh, telnet, etc.) then
you have the remote shell's settings and encodings, etc. and many
other things in between....

Take a look at this article and you will probably fix the problem, and
it's probably not even on the FBSD side:

www.ibb.net/~anne/keyboard.html


Cheers,

-- 
Alejandro Imass


More information about the freebsd-questions mailing list