From owner-freebsd-questions@FreeBSD.ORG Sat Jul 31 17:43:37 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 92FE216A4CE for ; Sat, 31 Jul 2004 17:43:37 +0000 (GMT) Received: from smtp.nildram.co.uk (smtp.nildram.co.uk [195.112.4.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A0843D31 for ; Sat, 31 Jul 2004 17:43:37 +0000 (GMT) (envelope-from marko@freebsd.org) Received: from [127.0.0.1] (parish.gotadsl.co.uk [62.3.235.43]) by smtp.nildram.co.uk (Postfix) with ESMTP id 9B0E6254E80 for ; Sat, 31 Jul 2004 18:43:25 +0100 (BST) Message-ID: <410BDA5F.30907@freebsd.org> Date: Sat, 31 Jul 2004 18:43:59 +0100 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (Windows/20040723) X-Accept-Language: en-gb, en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200407301304.i6UD4F97022469@northgate.starhub.net.sg> <410A4D93.5060800@freebsd.org> <20040731060254.40362135@it.buh.tecnik93.com> In-Reply-To: <20040731060254.40362135@it.buh.tecnik93.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 31 Jul 2004 17:43:37 -0000 Ion-Mihai Tetcu wrote: > On Fri, 30 Jul 2004 14:30:59 +0100 > Mark Ovens wrote: > >> Peter Ryan wrote: >> > I've got the same thing on the 2 machines i am experimenting >> > with. I am new and thought it was a standard feature :) >> > >> > I also defined a standard US 101 keyboard. >> > >> > Makes me think there is a setting or choice at installation that >> > deals with this, rather than having to patch something. >> > >> >> Add >> >> keysym Delete = 0x04 >> >> to ~/.xmodmaprc >> >> and add >> >> xmodmap ~/.xmodmaprc >> >> to ~/.xinitrc >> >> To implement this in a running X session type this in an xterm >> >> xmodmap -e "keysym Delete = 0x04" >> >> Actually, this is probably a better solution for the OP as it is global >> whereas my previous suggestion is xterm specific. > > The only problem is that if you keep the delete key pressed to long it > exits the terminal. At least when xmodmap.... typed under kde's konsole; > it acts this way both in for konsole and xterm. Only if the cursor is in the first character position after the prompt of course. Not sure what the solution is since Ctrl-D is delete char to the right of the cursor and EOT, which exits the shell. Mark