Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Dec 2005 01:35:29 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Shane Helms <jovial_man@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: delete key in X
Message-ID:  <20051206233529.GA3387@flame.pc>
In-Reply-To: <20051206223934.55404.qmail@web35006.mail.mud.yahoo.com>
References:  <20051206223934.55404.qmail@web35006.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-12-06 14:39, Shane Helms <jovial_man@yahoo.com> 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




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