public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* Tab-Completing a Program After man?
@  Linux for blind general discussion
   ` Linux for blind general discussion
  0 siblings, 1 reply; 6+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Blinux Discussion List

Hi All: Supposedly this may work in bash, however, I would like to do this in 
tcsh. Sometimes I want to explore man-pages with tab-completion. However, it 
only completes files or directories, not programs. So typing man  lyn  would 
show 
lynx.cfg and lynx_bookmarks but not actual lynx. Can some1 please suggest how I 
can fix this in Debian? Thanks so much in advance
Chime


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tab-Completing a Program After man?
   Tab-Completing a Program After man? Linux for blind general discussion
@  ` Linux for blind general discussion
     ` Linux for blind general discussion
  0 siblings, 1 reply; 6+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

Have you tried:
man 1 lyn<tab>?
On Wed, 6 May 2020, Linux for blind general discussion
wrote:

> Date: Wed, 6 May 2020 20:37:53
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: Blinux Discussion List <blinux-list@redhat.com>
> Subject: Tab-Completing a Program After man?
>
> Hi All: Supposedly this may work in bash, however, I would like to do this in
> tcsh. Sometimes I want to explore man-pages with tab-completion. However, it
> only completes files or directories, not programs. So typing man  lyn  would
> show lynx.cfg and lynx_bookmarks but not actual lynx. Can some1 please suggest
> how I can fix this in Debian? Thanks so much in advance
> Chime
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
>

-- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tab-Completing a Program After man?
   ` Linux for blind general discussion
@    ` Linux for blind general discussion
       ` Linux for blind general discussion
       ` Linux for blind general discussion
  0 siblings, 2 replies; 6+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

Just typing
man 1 lyn
give same results.
Chime


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tab-Completing a Program After man?
     ` Linux for blind general discussion
@      ` Linux for blind general discussion
       ` Linux for blind general discussion
  1 sibling, 0 replies; 6+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

I'm not even certain this is possible with man.  Perhaps whatis or
appropos offers more options.
On Wed, 6 May 2020, Linux for blind general
discussion wrote:

> Date: Thu, 7 May 2020 00:07:45
> From: Linux for blind general discussion <blinux-list@redhat.com>
> To: Linux for blind general discussion <blinux-list@redhat.com>
> Subject: Re: Tab-Completing a Program After man?
>
> Just typing
> man 1 lyn
> give same results.
> Chime
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>

-- 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tab-Completing a Program After man?
     ` Linux for blind general discussion
       ` Linux for blind general discussion
@      ` Linux for blind general discussion
         ` Linux for blind general discussion
  1 sibling, 1 reply; 6+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: blinux-list

     Tab completion is for finding things in the directory you are 
pointing to.  To find manual entries containing a string try:

man -k lyn

or

man -k orca


On 5/7/2020 12:07 AM, Linux for blind general discussion wrote:
> Just typing
> man 1 lyn
> give same results.
> Chime
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Tab-Completing a Program After man?
       ` Linux for blind general discussion
@        ` Linux for blind general discussion
  0 siblings, 0 replies; 6+ messages in thread
From: Linux for blind general discussion @  UTC (permalink / raw)
  To: Linux for blind general discussion

[-- Attachment #1: Type: TEXT/PLAIN, Size: 655 bytes --]

On Thu, 7 May 2020, Linux for blind general discussion wrote:

>     Tab completion is for finding things in the directory you are pointing 
> to.

Actually, this isn't strictly correct.

The built-in tab completion for the Bash and other  shells does do this.

However, it's possible to configure Bash at least to provide tab 
completion for specific programs.

The bash-completion package under Debian contains over 600 such completion 
recipes.

Installing it allows me to get tab completion for the man command as 
discussed here.

However, the original poster was asking about TCSH, which I do not know 
about.

HTH,
Geoff.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Tab-Completing a Program After man? Linux for blind general discussion
 ` Linux for blind general discussion
   ` Linux for blind general discussion
     ` Linux for blind general discussion
     ` Linux for blind general discussion
       ` Linux for blind general discussion

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).