Re: tcsh: list of all files when pressing tab

2002-07-16 Thread Roger P. Johnson

Try this in your .tcshrc file:

 set autolist
 bindkey -v
 bindkey ^F complete-word-fwd
 bindkey ^b complete-word-back

This allows you to:
  You can do the auto-complete via tab.
  You can get a list of the matching files.
  You can cycle through the list forward by doing ctl-f
  You can cycle through the list backards by doing ctl-b

This sets your command line editing to vi style. You can also set it to 
emacs style.

-Roger

Pascal Giannakakis wrote:

 Hi, 
  
 in tcsh i can type /u and press tab to autocomplete the path to /usr/.
 However, 
 if there is more than one match, i would like to have a list of all possible
 path's. 
 I know this from linux. What is this feature called and how do i enable it?
 thx! 
  
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



RE: tcsh: list of all files when pressing tab

2002-07-16 Thread Balaji, Pavan


Is there somewhere I can get the key names to use with bindkey?


Pavan Balaji,
Intel Corporation

Only the Paranoid Survive  --  Andy Grove


 -Original Message-
 From: Roger P. Johnson [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 16, 2002 3:00 PM
 Cc: [EMAIL PROTECTED]
 Subject: Re: tcsh: list of all files when pressing tab
 
 
 Try this in your .tcshrc file:
 
  set autolist
  bindkey -v
  bindkey ^F complete-word-fwd
  bindkey ^b complete-word-back
 
 This allows you to:
   You can do the auto-complete via tab.
   You can get a list of the matching files.
   You can cycle through the list forward by doing ctl-f
   You can cycle through the list backards by doing ctl-b
 
 This sets your command line editing to vi style. You can also 
 set it to 
 emacs style.
 
 -Roger
 
 Pascal Giannakakis wrote:
 
  Hi, 
   
  in tcsh i can type /u and press tab to autocomplete the 
 path to /usr/.
  However, 
  if there is more than one match, i would like to have a 
 list of all possible
  path's. 
  I know this from linux. What is this feature called and how 
 do i enable it?
  thx! 
   
  
  
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message