From owner-freebsd-questions@FreeBSD.ORG Fri Jul 30 23:51:36 2004 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 40F0616A4CE for ; Fri, 30 Jul 2004 23:51:36 +0000 (GMT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD14F43D4C for ; Fri, 30 Jul 2004 23:51:35 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.11/8.12.11) with ESMTP id i6UNpL7i077792; Fri, 30 Jul 2004 17:51:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.11/8.12.11/Submit) with ESMTP id i6UNpLHI077789; Fri, 30 Jul 2004 17:51:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 30 Jul 2004 17:51:21 -0600 (MDT) From: Warren Block To: Mariano Guadagnini In-Reply-To: <200407300116.27351.mguadagnini@velocom.com.ar> Message-ID: <20040730174559.Y77732@wonkity.com> References: <200407300116.27351.mguadagnini@velocom.com.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.3 (wonkity.com [127.0.0.1]); Fri, 30 Jul 2004 17:51:21 -0600 (MDT) cc: freebsd-questions@freebsd.org Subject: Re: backspace and delete keys behavior 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: Fri, 30 Jul 2004 23:51:36 -0000 On Fri, 30 Jul 2004, Mariano Guadagnini wrote: > Hi guys, I am new to Freebsd (after years of linux) and, althought system > installation and configuration was quite seamlessly, I've an issue with the > delete key of my keyboard (101 keys us layout): In xterm, the backspace key > works ok, but when I press del, it prints the "~" character, instead of > deleting . I have read it has something to do with keyboard layout config, > but I couldn't find out how to fix it. So, any ideas? I use csh/tcsh and just put this in .cshrc: bindkey "^?" delete-char bindkey "\e[3~" delete-char bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line Seems to work for console and xterm. There's a good web page on this: http://www.ibb.net/~anne/keyboard.html -Warren Block * Rapid City, South Dakota USA