|
|
tab function missing under csh
|
|
|
|
Junior Member
Join Date: Aug 2002
Status:
Offline
|
|
I have a chance to log in IBM Seaborg super computer. The dafult shell is csh. The funny thing is that the tab -- "auto complete" function -- is missing. Every time I type <tab>, it's just <tab>, no auto-complete.
Well, I tried to log in under yellowdog linux, same problem. Login from RedHat, same.
How can I find the missing <tab> function?
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status:
Offline
|
|
Try double-tapping escape.
|
|
|
|
|
|
|
|
|
Junior Member
Join Date: Aug 2002
Status:
Offline
|
|
Originally posted by Turias:
Try double-tapping escape.
thanks for your reply.
But it shows somthing like this ^]^]
Also I tried to use ssh under WindowsXP to log in, <tab> is still missing.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status:
Offline
|
|
tab autocompletion is NOT a feature of CSH.
It IS a feature of at least the following shells:
tcsh
zsh
bash
so, type the name of one of those shells and then you will have auto complete.
|
signatures are a waste of bandwidth
especially ones with political tripe in them.
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Oct 2000
Location: Caracas, Bolivarian Republic Of Venezuela
Status:
Offline
|
|
Originally posted by neilxu:
thanks for your reply.
But it shows somthing like this ^]^]
Also I tried to use ssh under WindowsXP to log in, <tab> is still missing.
type: set filec
note that it will only autocomplete files/directories, but not commands.
maybe you should consider switching your shell to ksh
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Apr 2001
Location: Cary, NC
Status:
Offline
|
|
Originally posted by kvm_mkdb:
type: set filec
note that it will only autocomplete files/directories, but not commands.
Add the following 2 lines to your .cshrc (sourced with either csh or tcsh is launched)
set filec
set correct=cmd
csh won't use these, but tcsh will. The 2nd line will cause TAB to also continue commands, as well as guess corrections when you fat-finger something.
chsh -s /bin/tcsh
should change your default shell to tcsh (or you can do it in NetInfo?)
Mike
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|