n****e 发帖数: 4 | 1 I don't know how to config Cshell for
following functions:
1. Up arrow for previous commands
2. Tab key for implicit file name
Thanks | l******o 发帖数: 25 | 2 seems you need bash.
I don't know whether these 2 functions are supported in csh or notW
【在 n****e 的大作中提到】 : I don't know how to config Cshell for : following functions: : 1. Up arrow for previous commands : 2. Tab key for implicit file name : Thanks
| i***f 发帖数: 10 | 3 man csh, it seems that those two are already there, check TERMINAL TYPE
and profiles like .tcshrc.
【在 l******o 的大作中提到】 : seems you need bash. : I don't know whether these 2 functions are supported in csh or notW
| G**T 发帖数: 388 | 4 ./tcsh
【在 i***f 的大作中提到】 : man csh, it seems that those two are already there, check TERMINAL TYPE : and profiles like .tcshrc.
| m*******m 发帖数: 182 | 5 You guys are talking about tcsh, not csh. The key bindings
for hitsoty substitution and completion are enhancements
tcsh made over csh. So, run tcsh instead of csh.
【在 G**T 的大作中提到】 : ./tcsh
| i***f 发帖数: 10 | 6 In csh, file completion and history substitution is realized by setting
environment variables, while in tsch it's there by default. That's
why I sugguest to check TERMINAL TYPE or profiles like .tcshrc to
see if something wrong.
【在 m*******m 的大作中提到】 : You guys are talking about tcsh, not csh. The key bindings : for hitsoty substitution and completion are enhancements : tcsh made over csh. So, run tcsh instead of csh.
| m*******m 发帖数: 182 | 7 I dont think so. csh doesnt have command line editor. Its
history
substitution is via event specifiers, ie, !!, !n, !str, !#,
etc. tcsh shell
has this general purpose command line editor as a major
enhancement over
csh. See `man csh` and `man tcsh` for the detail
differences.
Some sysasms just alias csh to be tcsh. This may be the
source of confusion
too.
tcsh reads .cshrc and .tcshrc at startup, while csh only
reads .cshrc.
csh command completion is via ESC rather than TAB in tcsh,
and by
【在 i***f 的大作中提到】 : In csh, file completion and history substitution is realized by setting : environment variables, while in tsch it's there by default. That's : why I sugguest to check TERMINAL TYPE or profiles like .tcshrc to : see if something wrong.
| i***f 发帖数: 10 | 8 Thanks storm, your analyse is really good.
Sign, haven't using csh after getting used to ksh for a long time,
I am confused about ESC and TAB. Sorry for the wrong answer in
prevoius message.
【在 m*******m 的大作中提到】 : I dont think so. csh doesnt have command line editor. Its : history : substitution is via event specifiers, ie, !!, !n, !str, !#, : etc. tcsh shell : has this general purpose command line editor as a major : enhancement over : csh. See `man csh` and `man tcsh` for the detail : differences. : Some sysasms just alias csh to be tcsh. This may be the : source of confusion
|
|