From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 17:20:14 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 D97F316A4CE for ; Tue, 1 Mar 2005 17:20:14 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 706CA43D5D for ; Tue, 1 Mar 2005 17:20:13 +0000 (GMT) (envelope-from bent@munat.com) Received: from [192.168.123.141] (c-24-18-111-28.client.comcast.net[24.18.111.28]) by comcast.net (sccrmhc11) with ESMTP id <2005030117200601100t253re>; Tue, 1 Mar 2005 17:20:11 +0000 Message-ID: <4224A622.5080806@munat.com> Date: Tue, 01 Mar 2005 09:28:02 -0800 From: Ben Munat User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <422424B2.1040809@munat.com> <20050301080924.GM8778@dan.emsphone.com> <422427DB.50504@munat.com> <20050301103326.GD5353@gravitas.thebunker.net> In-Reply-To: <20050301103326.GD5353@gravitas.thebunker.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: tab completion 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, 01 Mar 2005 17:20:15 -0000 None of those commands worked... However, I've also found that echo $SHELL in my regular user's terminal says /bin/sh, while as root it says /bin/csh. Both root and the non-root user's shells are listed in /etc/passwd as /bin/tcsh, so where else would the shell get set? Can I just set all terminals and all users (i.e. me) to have the same shell with the same capabilities? thnx, b PS: grrr... bottom posting. Matthew Seaman wrote: >>Dan Nelson wrote: >> >>>In the last episode (Mar 01), Ben Munat said: >>> >>> >>>>Why doesn't tab completion in the shell work for my regular >>>>(non-root) user? >>> >>> >>>That depends on what shell "the shell" refers to, of course. >>> > > > Grrr... top posting. > > On Tue, Mar 01, 2005 at 12:29:15AM -0800, Ben Munat wrote: > >>According to /etc/passwd, both root and my regular user are using /bin/tcsh. > > > Try the following: > > % set autolist > % set autoexpand > % set autocorrect > % set matchbeep = nomatch > > then see if tab completion behaves more like the way you expect it to. > If you like the way that behaves, then add those set commands to > ~/.tcshrc inside the 'if ($?prompt) ... endif' block. For details of > what those variables actually do and various other variables you can > use for similar purposes, read tcsh(1). > > Cheers, > > Matthew >