From owner-freebsd-questions Thu Apr 18 18:40:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 8EA5D37B404 for ; Thu, 18 Apr 2002 18:40:31 -0700 (PDT) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id A1C502B671 for ; Fri, 19 Apr 2002 03:40:27 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id EF862247; Fri, 19 Apr 2002 11:41:14 +1000 (EST) Date: Fri, 19 Apr 2002 11:41:14 +1000 From: Edwin Groothuis To: FreeBSD Questions LIST Subject: Re: tcsh [TAB] ; man someth-[TAB]? Message-ID: <20020419114114.P56548@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , FreeBSD Questions LIST References: <20020418180024.D291-100000@66-75-1-142.san.rr.com> <200204182011.45710.weaver@earthcorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200204182011.45710.weaver@earthcorp.com>; from weaver@earthcorp.com on Thu, Apr 18, 2002 at 08:11:45PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Apr 18, 2002 at 08:11:45PM -0500, Julian Peterson wrote: > On Thu, 18 Apr 2002 8:02 pm, Peter Leftwich wrote: > > Is it possible under tcsh (or any shell) to configure the "man" command > > line command so that the user can type: > > > > prompt$ man shutd[TAB] > > > > And have the shell display commands either in ones ${PATH} statement or > > that have manpages on the system? Shweetniss. > > Yes. > > add to your .tcshrc file: > complete man 'p/*/c/' > > It's documented in the tcsh(1) man page FYI. What I wonder (after trying man asprin* to test this) is how safe this is regarding wildcard-expansion: [~] edwin@k7>man a* No manual entry for adminspotting.png No manual entry for adstr.zip No manual entry for allegro-4.0.0 No manual entry for allegro-4.0.0.tar.gz No manual entry for apache_1.3.20 :-/ Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message