Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 2014 07:17:24 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Dave Babb <dcbdbis@comcast.net>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: TCSH issue
Message-ID:  <20140926071724.102e528a@X220.alogt.com>
In-Reply-To: <54243DA2.1070805@comcast.net>
References:  <54243DA2.1070805@comcast.net>

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

On Thu, 25 Sep 2014 10:06:58 -0600
Dave Babb <dcbdbis@comcast.net> wrote:

> Good Morning All,
> 
> Upon a recommendation of a fellow and very experienced FreeBSD
> user...I have switched from bash to tcsh as my user shell.  I have
> not and will not change the root's shell from sh.
> 
> But regardless if I am at a CLI or in a terminal window on my "X"
> based desktop, tcsh is behaving strange. sh has the same issue.
> 
> Let me explain: If I fat finger something into the cli....lets say 
> "freeecolor -om"....If I was to place my cursor on the last "e" and 
> backspace...everythings fine...However if I put my cursor on that
> same letter and press the delete key...it doesn't delete the letter,
> rather it inserts a tilde "~". "sh" behaves the same way on my system.
> 
> Does anyone know how I can correct this behavior?

you need something like

      bindkey "\e[3~" delete-char		# make Delete key work;


in your .tcshrc

Erich



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