Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 10:33:26 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Ben Munat <bent@munat.com>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: tab completion
Message-ID:  <20050301103326.GD5353@gravitas.thebunker.net>
In-Reply-To: <422427DB.50504@munat.com>
References:  <422424B2.1040809@munat.com> <20050301080924.GM8778@dan.emsphone.com> <422427DB.50504@munat.com>

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

--fOHHtNG4YXGJ0yqR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> 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/tc=
sh.

Try the following:

    % set autolist
    % set autoexpand
    % set autocorrect
    % set matchbeep =3D 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

--=20
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                      School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK

--fOHHtNG4YXGJ0yqR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iQCVAwUBQiRE9pr7OpndfbmCAQIZ/QQAgKvYUP2j+G2lJJT/h6aF88qOfuMoVIYn
AVw9cMAIxb/qFC/wyJRRBfBPwGLDkOpfr1tKJ0ciQmumwLZxt8CVhainttsOkO7A
aAeM5NV8zGor6/ve2keI8Csmhl4TniaXPWIHwlEWAKCk/lF0L2wtsAjgBrH4ygJb
koN9UP97jhI=
=aRtd
-----END PGP SIGNATURE-----

--fOHHtNG4YXGJ0yqR--



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