From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 00:18:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D6F1DD7 for ; Fri, 26 Sep 2014 00:18:18 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17C4677F for ; Fri, 26 Sep 2014 00:18:17 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XXJEc-0003Tt-2n for freebsd-questions@freebsd.org; Fri, 26 Sep 2014 02:18:06 +0200 Received: from 49-156-16-16.rdns.orionvm.com.au ([49.156.16.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 02:18:06 +0200 Received: from newsgroups by 49-156-16-16.rdns.orionvm.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Sep 2014 02:18:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ruben Schade Subject: Re: TCSH issue Date: Fri, 26 Sep 2014 10:17:52 +1000 Lines: 55 Message-ID: References: <54243DA2.1070805@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 49-156-16-16.rdns.orionvm.com.au User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0 In-Reply-To: <54243DA2.1070805@comcast.net> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 00:18:18 -0000 On 26/09/14 02:06, Dave Babb 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? > > FreeBSD 10.0-Release-p9, x64. > > Thank you for any assistance you can provide. > > > Sincerely and respectfully, > > > Dave > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Hi Dave, [As Erich mentioned, just saw it!] you can add the following to your ~/.tcshrc file: bindkey "\e[3~" delete-char In light of bashbleed/shellshock, I half joked on Twitter that people should remove bash from their FreeBSD installs if they added it, and make tcsh their friend. Good to see people giving it a try, it's actually quite a nice interactive shell. Cheers :) -- Ruben Schade VM chap in s/Singapore/Sydney/ Site: http://rubenschade.com/ Blog: http://rubenerd.com/