.cshrc

Giorgos Keramidas keramida at ceid.upatras.gr
Sat Mar 26 07:26:50 PST 2005


On 2005-03-26 16:20, cpghost at cordula.ws wrote:
>On Sat, Mar 26, 2005 at 10:12:26AM -0500, Jerry McAllister wrote:
>> The csh shell of more likely not, tcsh, is more friendly for
>> interacticve use than the sh shell.  Those who like the sh type
>> syntax nowdays use the derivative bash as their shell.  It is also
>> more interactive friendly than plain sh.
>
> BTW, why doesn't sh include readline(3) or some other kind of command
> line editing capability? The only reason for using bash over sh is for
> many people the lack of a decent command line editor function in
> sh. Footprint perhaps?

It does.  You can enable either emacs-style line editing with:

	$ set -o emacs

or vi-style command line editing with:

	$ set -o vi

Note though that tab completion is not supported for commands or
filenames, AFAIK, so you may still want to stick with bash.



More information about the freebsd-questions mailing list