Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Display available completions in 10.2 UNIX
To get the terminal to list options for auto-completion use this command:
 % set autolist
I added it to the end of /etc/csh.login to make always available in the terminal.

This option was a default setting before 10.2.

[Editor's note: Personally, I wouldn't make this change in /etc, as any future Apple updates may overwrite your modification. Instead, I would use one of the local file options -- either through ~/.cshrc or the ~/Library/init/tcsh constructs covered elsewhere here on macosxhints.]
    •    
  • Currently 2.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[3,449 views]  

Display available completions in 10.2 | 8 comments | Create New Account
Click here to return to the 'Display available completions in 10.2' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
I saw the light!
Authored by: below on Nov 22, '02 02:00:13PM

Please check the forums for the many benefits of the Z-Shell (zsh). It is included with 10.2, and works wonders!

Alex



[ Reply to This | # ]
rc not login
Authored by: mervTormel on Nov 22, '02 03:16:22PM

yep. this setting belongs in the user's rc file, not the login file.



[ Reply to This | # ]
Dummy Qs
Authored by: ßlue on Nov 22, '02 06:05:08PM
Sorry for the questions, but... what have I to do with set autolist?
Have I to type it at the prompt? (If this is the case, what is expected to happen?)
What should be its benefits?

TIA



[ Reply to This | # ]
Dummy Qs
Authored by: vesper on Nov 23, '02 06:17:29AM
In terminal you will be able to see possible ways of completion commands you type by press Tab while typing commans. For instance
[mactime:~] vesper% mo
more          mount_cddafs  mount_hfs     mount_synthfs mountd
mount         mount_devfs   mount_msdos   mount_udf
mount_afp     mount_fdesc   mount_nfs     mount_volfs
mount_cd9660  mount_ftp     mount_smbfs   mount_webdav
[mactime:~] vesper% mo


     

[ Reply to This | # ]
Dummy but not so much ;-))
Authored by: ßlue on Nov 23, '02 06:23:35AM
Yes, but... How is this related to set autolist???


[ Reply to This | # ]
Oooops, sorry: I wanted to reply to vesper... n/t
Authored by: ßlue on Nov 23, '02 06:26:30AM

:-)



[ Reply to This | # ]
Or use Ctrl-D
Authored by: bluestar on Nov 23, '02 04:55:39PM

An alternative is to hit Ctrl-D whenever you want a completion list.

If you plan on spending much time in terminal, you'll definitely want to read the tcsh man page. It's long but contains a huge amount of information and customization/time-saving tips.

Just type "man tcsh" in terminal.



[ Reply to This | # ]
the tcsh man
Authored by: kirkmc on Nov 25, '02 03:59:52AM

I've put a PDF of the tcsh man page on my site:

http://www.mcelhearn.com/unix.html

Kirk



[ Reply to This | # ]