From: c
...@Materna.DE (Carsten Neumann)
Newsgroups: news.newusers.questions
Subject: Re: csh,tcsh
Date: 22 Nov 93 13:18:45 GMT
Message-ID: <cn.753974325@aix1>
gib
...@khan.tam.cornell.edu (John Gibson) writes:
> The tcsh is a csh with filename completion and command line editing.
> It really makes life with the Unix command line easier.
This is not right, at least the AIX csh knows filename completion too
(You have to include "set filec" to your .cshrc file.)
And I really like this vi-like command line editing - see below.
>Examples:
>Instead of typing "emacs incredibly_long_filename", with
>the tcsh you can type "emacs incr" then hit the tab, and the
>shell will complete as much of the filename as it can for you.
OK, and with csh you hit <ESC> for completion or CTRL-D for a list of
all possible filenames, works with ~user/some-dir/some-file for user's
home dir too. And you may include "set fignore = (.o .bak)" to .cshrc
for ignoring some extensions.
>The tcsh also lets you edit the Unix command line. If you
>type "ekacs filename", you can backspace through to the bad
>character and fix it without wiping out the others. [...]
Bad example, it's faster to hit <CR> and ^k^m<CR> :-)
Most times I find these spelling errors after seeing "command not
found".
>Or, you can hit return, and the tcsh will catch the spelling
>error and ask if you really wanted "emacs filename"!
Never, I don't like emacs! :-)
(No flames, no discussion please. It was a joke!!!)
>For more, read the tcsh manual page. (Typing "man tcsh"
>at a Unix prompt should get you the man page, if tcsh is
>installed on your system.)
Sorry, it isn't.
(John, can you please email me the manual.)
>I highly recommend the tcsh!
Why? Sorry, I don't know the tcsh, but I'm interested in testing it if
it provides really enhancements about the plain csh.
- Filename completion is possible in csh too.
- Command line editing is nice, but I want this !!:gs/old/new too. Is
it both available in tcsh?
- Provide tcsh all the features csh provides (Don't override existing
files with '>' if noclobber set; Print time used by a command if time
is greater than a specified value; ...)
Have a nice day, Carsten.
--
Carsten Neumann c...@Materna.de (+49 231) 5599-196 (work)
Schwerter Str. 215, D-44287 Dortmund, (+49 231) 448341 (home)