From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 12:26:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C9D716A4CE for ; Tue, 18 Jan 2005 12:26:53 +0000 (GMT) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE2F643D1F for ; Tue, 18 Jan 2005 12:26:52 +0000 (GMT) (envelope-from marko@freebsd.org) Received: from [80.229.231.20] (helo=[192.168.254.25]) by ptb-relay01.plus.net with esmtp (Exim) id 1CqsRd-000LFj-HN for freebsd-questions@freebsd.org; Tue, 18 Jan 2005 12:26:49 +0000 Message-ID: <41ED0086.6070602@freebsd.org> Date: Tue, 18 Jan 2005 12:26:46 +0000 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (X11/20050115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200501182030.52598.shinjii@virusinfo.rdksupportinc.com> <41ECF870.3070400@freebsd.org> <20050118120305.GB75927@catflap.slightlystrange.org> <200501182210.29827.shinjii@virusinfo.rdksupportinc.com> In-Reply-To: <200501182210.29827.shinjii@virusinfo.rdksupportinc.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Tab to Auto-Complete + .... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 12:26:53 -0000 Warren wrote: > On Tue, 18 Jan 2005 10:03 pm, Daniel Bye wrote: >> On Tue, Jan 18, 2005 at 11:52:16AM +0000, Mark Ovens wrote: >> > It does support command history and editing, though not auto-complete. >> > >> > ''set -E'' or ''set -V'' at the prompt (or put either - they are >> > mutually exclusive - in ~/.profile) will enable command history with >> > Emacs or vi style command editing respectively. >> >> Live and learn! Thanks for that. >> >> Dan > > I changed the shell type using: chsh -s /bin/csh > re-logged in as it prompts and still no go with anything .. so i just simply > installed putty and used it to connect to each machine. > > Thanks for all the help. > Put some or all of these in ~/.cshrc # size of history buffer set history = 100 # enable auto-complete set filec # stop it beeping set nobeep # ignore *.o files for file completion set fignore = '.o' # '%' prompt for normal user; '#' for root/su set promptchars="%#" # /path/to/cwd{cmd number}% set prompt="%/{!}%# " # List matches when autocompleting set autolist=true # enable spelling correction set correct=all # Useful key bindins bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward bindkey "^?" backward-delete-char bindkey "\e[3~" delete-char bindkey "\e[1~" beginning-of-line bindkey "\e[4~" end-of-line See csh(1) for loads of additional options! HTH Mark