Hi Jonathan, Andrew, All:

With respect to using the tab key in the terminal ...

Jonathan Cohn writes:
> Your second question was related to file completion.

This says too little. Yes, filename completion, but also command
completion.

In fact the strategy is widely implemented because it helps us all avoid
making mistakes that cause us to retype stuff.

It should work. If you're hearing a sound, it's because there are more
than one completions. Hit tab a second time and you'll get a list of
possible completions.

Type a few more chars and you'll get either the entire command/filename,
or another sound.

This feature is common to shells these days. Every shell has it across
all platforms. You can use it in Windows Power Shell, for instance.
Everybody has it because it's so darn useful. Like I said, retyping a
long complex command isn't fun. So, use tab early and often to get it
right the first time.

PS: The feature is called "tab completion."

Best,

Janina


> This might depend on the shell you are using accounts created in Mojave or 
> earlier use bash  and Catalina created account default to zsh.  Also, it will 
> depend on what the behavior is for partial completions. If you have the files 
> dar1 dar2 dar3 and dar4 
> Pressing d followed by escape will fill in "dar" and then I believe beep. If 
> you press tap a second time then you should get a list of possible matches. 
> Note this behavior is strictly related to the shell you are running and its 
> options set in the  shell default / profile / login files.
> Jonathan
> 
> 
> 
> > On Mar 29, 2020, at 10:21 AM, 'Andrew Lamanche' via MacVisionaries 
> > <macvisionaries@googlegroups.com> wrote:
> > 
> > Hi,
> > 
> > When working in Terminal and command line, is it possible to examine the 
> > window content with Voiceover?  Say , ls -l command produces a list of 
> > files in the directory I am in.  How can I examine each file and maybe even 
> > copy their names to clipboard or details about them if I were to use the -l 
> > flag, which would produce long information about each item.
> > 
> > Secondly, reading a book on Command Line, one of the shortcut techniques 
> > the author teaches is to start typing the name of a directory to which one 
> > wishes to change and then pressing tab, which would result in Terminal 
> > completing the name or else giving a list of available names if there 
> > should be more than one.  This doesn’t seem to work.  When I press the tab, 
> > I hear the ominous bong bong.  So this technique doesn’t work.  Any 
> > thoughts on this?
> > 
> > andrew
> > 
> > -- 
> > The following information is important for all members of the Mac 
> > Visionaries list.
> > 
> > If you have any questions or concerns about the running of this list, or if 
> > you feel that a member's post is inappropriate, please contact the owners 
> > or moderators directly rather than posting on the list itself.
> > 
> > Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at: 
> >  mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> > caraqu...@caraquinn.com
> > 
> > The archives for this list can be searched at:
> > http://www.mail-archive.com/macvisionaries@googlegroups.com/
> > --- 
> > You received this message because you are subscribed to the Google Groups 
> > "MacVisionaries" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to macvisionaries+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/macvisionaries/BB072597-FDA8-4971-B666-361890504466%40me.com.
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> caraqu...@caraquinn.com
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/A4BCF15C-9CD0-44CD-84BA-402532821C3A%40gmail.com.

-- 

Janina Sajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:       http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Chair, Accessible Platform Architectures        http://www.w3.org/wai/apa

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/20200330040040.GJ2206%40rednote.net.

Reply via email to