From owner-freebsd-questions Thu Apr 18 19:54: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from english-breakfast.cloud9.net (english-breakfast.cloud9.net [168.100.1.9]) by hub.freebsd.org (Postfix) with ESMTP id 77CE537B419 for ; Thu, 18 Apr 2002 19:53:55 -0700 (PDT) Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by english-breakfast.cloud9.net (Postfix) with ESMTP id E984B7C5F for ; Thu, 18 Apr 2002 22:34:53 -0400 (EDT) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id E36C328B82; Thu, 18 Apr 2002 22:33:38 -0400 (EDT) Date: Thu, 18 Apr 2002 22:33:38 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Edwin Groothuis Cc: FreeBSD LIST Subject: Re: tcsh [TAB] ; man someth-[TAB]? [edwin] In-Reply-To: <20020419114114.P56548@k7.mavetju.org> Message-ID: <20020418223038.U96175-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Fri, 19 Apr 2002, Edwin Groothuis wrote: > From: Edwin Groothuis > To: FreeBSD Questions LIST > Subject: Re: tcsh [TAB] ; man someth-[TAB]? > Date: Fri, 19 Apr 2002 11:41:14 +1000 Please remember to reply-to-all as a courtesy when posting (i.e. use a CC). > 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: By "safe" what do you mean? If you accidentally did "man somefile.tgz" or "man myfile.zip" man would normally (safely) report "No manual entry for myfile.zip" or whatever. > [~] 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/ So my advice would be -- Don't do that. :) Don't run man [anything][wildcard_here] *grin* -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message