Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 19:43:38 -0300
From:      Alejandro Pulver <alejandro@varnet.biz>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Using META and DEL keys in console
Message-ID:  <20050301194338.3a49611d@ale.varnet.bsd>

next in thread | raw e-mail | index | archive | help
Hello,

I have a PS/2 PC-101 keyboard.

I would like to use my META (ALT in my keyboard) key instead of ESC in
console mode. META works fine in an xterm. I also would like to use DEL
and others.

I read something in the manual pages of terminfo(5), gettytab(5),
etc.

I tried the following options:

:km:smm:dc:

But I am having these thoubles:

1) My ALT key did not work and the DEL key acts as BACKSPACE (C-h),
   but I would like to use it as C-d.

2) Some strange thing happens with Emacs in console mode: when I press
   DEL, it is interpreted (literally) as C-h, and C-h is used as
   BACKSPACE. And C-d acts as DEL.

3) Also DEL does not do anything in xterm.

Is there a more descriptive documentation of the terminal capabilities
listed in terminfo(5)?

Is there a standard configuration for PS/2 PC-101 keyboards?

Does xterm use a different configuration from console terminals?

Thanks and Best Regards,
Ale



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050301194338.3a49611d>