l*****k 发帖数: 587 | 1 I am using a AIX machine, however, a lot of unix flavors are
not in the shell(I use C shell, no tcsh installed)
first, I can't use tab to auto complete file name
I wrote set filec in .cshrc and soured it, no effect.
second, I can't use up/down arrow to browse commands history
How can I fix it? should I tell the root to do something? (he knows
little about unix, but I can't just tell him that)
Best | c*****t 发帖数: 1879 | 2 The features you talked about are for tcsh...
csh does have file name completion, but instead of using tab, use Esc.
csh has command history name substituion scheme. For instace, !!
means the previous command. !g means the previous command that starts
with g. There are more advanced stuff which you can read from csh
man page.
【在 l*****k 的大作中提到】 : I am using a AIX machine, however, a lot of unix flavors are : not in the shell(I use C shell, no tcsh installed) : first, I can't use tab to auto complete file name : I wrote set filec in .cshrc and soured it, no effect. : second, I can't use up/down arrow to browse commands history : How can I fix it? should I tell the root to do something? (he knows : little about unix, but I can't just tell him that) : Best
| z*****u 发帖数: 12 | 3 echo $EDITOR to see if your shell editor is vi.
vi is much more convenient for shell command editting.
【在 c*****t 的大作中提到】 : The features you talked about are for tcsh... : csh does have file name completion, but instead of using tab, use Esc. : csh has command history name substituion scheme. For instace, !! : means the previous command. !g means the previous command that starts : with g. There are more advanced stuff which you can read from csh : man page.
| l*****k 发帖数: 587 | 4 thanks, man! really helpful
【在 c*****t 的大作中提到】 : The features you talked about are for tcsh... : csh does have file name completion, but instead of using tab, use Esc. : csh has command history name substituion scheme. For instace, !! : means the previous command. !g means the previous command that starts : with g. There are more advanced stuff which you can read from csh : man page.
|
|