From owner-freebsd-arch Tue Apr 18 4:28: 7 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id A3D4C37B5EC for ; Tue, 18 Apr 2000 04:28:05 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id NAA21860 for ; Tue, 18 Apr 2000 13:28:02 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id NAA00952 for freebsd-arch@freebsd.org; Tue, 18 Apr 2000 13:28:01 +0200 (CEST) Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id 5D24537B5EC for ; Tue, 18 Apr 2000 04:27:47 -0700 (PDT) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 12hW9r-000C1G-00; Tue, 18 Apr 2000 13:27:07 +0200 Date: Tue, 18 Apr 2000 13:27:07 +0200 From: Neil Blakey-Milner To: splite@purdue.edu Cc: freebsd-arch@freebsd.org Subject: Re: cvs commit: src/contrib/tcsh - Imported sources Message-ID: <20000418132706.B44592@mithrandr.moria.org> References: <20000416185507.B43688@linkfast.net> <200004180001.RAA28074@bubba.whistle.com> <20000418060538.A4058@leela.cs.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000418060538.A4058@leela.cs.purdue.edu>; from splite@purdue.edu on Tue, Apr 18, 2000 at 06:05:38AM -0500 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue 2000-04-18 (06:05), splite@purdue.edu wrote: > I found tcsh reasonably compatible with my csh fingers after adding these > to my .cshrc: > > bindkey ^[ complete-word > bindkey ^W backward-delete-word > unset addsuffix > unset autologout > > Though I imagine the first one will cause the tcsh users to cry foul, it > would help satisfy POLA. In /etc/csh.login: unset autologout set addsuffix bindkey ^W backward-delete-word if ($?tcsh) then if (`basename $0` == "csh") then # pretend to act like csh interactively bindkey ^[ complete-word unset addsuffix else # invoked as tcsh, so be intelligent bindkey -k up history-search-backward bindkey -k down history-search-forward endif endif Or something like that. It may break for some 'su' stuff, though. We should get lots of nifty completions too: complete pkg_delete 'p%*%D:/var/db/pkg/% %' complete pkg_info 'p%*%D:/var/db/pkg/% %' Hrm, so where do I add the default ansi coloured prompt? (: Neil -- Neil Blakey-Milner Hacker In Chief, Sunesi Clinical Systems nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message