X-Spam-Check-By: sourceware.org Message-ID: <459672F2.6090703@byu.net> Date: Sat, 30 Dec 2006 07:08:50 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: sburoff AT optonline DOT net CC: cygwin AT cygwin DOT com, alexvn AT come DOT to Subject: Re: man : List of all commands in a section References: <000f01c72c10$b92cac40$6401a8c0 AT rambo> In-Reply-To: <000f01c72c10$b92cac40$6401a8c0@rambo> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Steven Buroff on 12/30/2006 5:47 AM: >> From: cygwin-owner AT cygwin DOT com ^^^^ ^^^^^ http://cygwin.com/acronyms/#PCYMTNQREAIYR >>>>> Is it possible to get list of >>>>> * all section >>>>> * all commands in some section ? > Install bash-completion, enable it, then in bash, type 'man > ' to get > a list of all man pages. > >> I tried this and I got "What manual page do you want?". That means you typed 'man ', without programmable completion enabled. >> bash-completion is installed (according to setup) but >> I'm not sure if its enabled. How do I enable it? $ head -n 11 /usr/share/doc/cygwin/bash-completion-20060301.README bash-completion-20060301-2 - ------------------------------------------ Programmable tab completion enhancements for use in bash. Note that you must edit your bash startup files to load bash-completion into memory: make sure ~/.bashrc sources /etc/bash_completion, and ~/.bash_profile sources ~/.bashrc. This is not done by the default bash-completion installation because it adds some noticeable startup time to every interactive shell. See /etc/defaults/etc/skel for an example of the syntax needed to turn enhanced completions on. Oh, and to limit the search to a particular section or particular prefix, you can use things such as: $ man 1 pr pr printafm printf procmail proj proxymngr pr3287 printenv prockill procps prove - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFlnLx84KuGfSFAYARAmv2AKCRJmlY/I8AVcJ3PxiPjvPWSMMGHACfct9W q53t5M69JrT+4T3vhipxrNw= =K5d/ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/