avatar
Enviroment Config Help# Unix - 噫吁兮,危乎高哉
n*e
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
avatar
l*o
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

avatar
i*f
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

avatar
G*T
4
./tcsh

【在 i***f 的大作中提到】
: man csh, it seems that those two are already there, check TERMINAL TYPE
: and profiles like .tcshrc.

avatar
m*m
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
avatar
i*f
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.

avatar
m*m
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.

avatar
i*f
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。