Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Mar 2005 16:40:26 -0800
From:      Ben Munat <bent@munat.com>
To:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: reload rc.conf without rebooting
Message-ID:  <422A517A.9040207@munat.com>
In-Reply-To: <20050305225833.GA37527@gothmog.gr>
References:  <4226AFAD.4040100@munat.com> <20050303101807.GE1127@orion.daedalusnetworks.priv> <20050305110330.GA45280@scode-whitestar.mine.nu> <4229F563.1020809@munat.com> <4229F65E.4060906@mac.com> <4229FBDE.3010606@munat.com> <4229FCE0.7070708@mac.com> <422A2600.5030108@munat.com> <20050305225833.GA37527@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

Giorgos Keramidas wrote:
> On 2005-03-05 13:34, Ben Munat <bent@munat.com> wrote:
  > The delete key sends ^? when in a cons-25 terminal.  Depending on what
> your shell is, this may be remapped to perform whatever you feel suits
> you best.  But this is a shell configuration issue.
> 
> If you are using /bin/sh, keys like ^? may be remapped in ~/.editrc to
> perform whatever you want.  For instance, to remap ^? to delete the
> character under the cursor (what most PC users expect to happen when
> they press DEL), you can use:
> 
> 	bind ^? ed-delete-next-char
> 
> For the GNU bash shell, similar key remapping may be configured in the
> ~/.inputrc file:
> 
> 	"^?": delete-char
> 
> For the TCSH shell, you can use "bind" commands in your ~/.tcshrc.
> 
> And so on...

YAAAAAAAAAYYYYYY!!! At f-ing last! My delete key works!

For the record, I'm using tcsh and it wasn't ^?... this is what worked in my .tcshrc:

bindkey ^[[3~ delete-char

I got the ^[[3~ with by pressing ctrl-v and then delete key.

thnx,

b



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