From owner-freebsd-questions@FreeBSD.ORG Tue Dec 6 23:36:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 C348116A41F for ; Tue, 6 Dec 2005 23:36:20 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E30343D58 for ; Tue, 6 Dec 2005 23:36:18 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (patr530-a063.otenet.gr [212.205.215.63]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-8) with ESMTP id jB6NaGEh010709; Wed, 7 Dec 2005 01:36:16 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id jB6NZVot018828; Wed, 7 Dec 2005 01:35:31 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id jB6NZTEP018819; Wed, 7 Dec 2005 01:35:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 7 Dec 2005 01:35:29 +0200 From: Giorgos Keramidas To: Shane Helms Message-ID: <20051206233529.GA3387@flame.pc> References: <20051206223934.55404.qmail@web35006.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051206223934.55404.qmail@web35006.mail.mud.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: delete key in X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 23:36:20 -0000 On 2005-12-06 14:39, Shane Helms wrote: > Hi, > > I have my delete key sorted in console through use of inputrc file - > i'm using bash shell. in X however it has a very undesirable > behavior... in terminals it behaves just like my backspace key - > i.e. it deletes the char to the left of the cursor. i like it to > delete the character to the right of the cursor. what should I do?? > > the only *effective* solution that I found in list archives was to set > Delete to behave as Ctrl+D which is definitely not the right thing to > do... > > I'd appreciate a help for this newbie freebsd user. Please reply to > my email address as i'm not on the list. I always run screen(1) in my xterm windows, with a TERM=vt220, which works fine for all the programs I regularly use. Another solution is probably to set the following X11 resource in your ~/.Xresources file: XTerm*deleteIsDEL: true and 'merge' the new .Xresources file with: $ xrdb -merge ~/.Xresources