From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 22:43:02 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ACEE316A4CE for ; Tue, 1 Mar 2005 22:43:02 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0142643D46 for ; Tue, 1 Mar 2005 22:43:01 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 72131 invoked from network); 1 Mar 2005 22:43:00 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 1 Mar 2005 22:43:00 -0000 X-pair-Authenticated: 200.115.214.206 Date: Tue, 1 Mar 2005 19:43:38 -0300 From: Alejandro Pulver To: freebsd-questions Message-ID: <20050301194338.3a49611d@ale.varnet.bsd> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Using META and DEL keys in console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 22:43:02 -0000 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