which is the basic differences between the shells?

Chad Perrin perrin at apotheon.com
Tue Jun 8 00:24:43 UTC 2010


On Mon, Jun 07, 2010 at 08:26:04PM +0200, Polytropon wrote:
> On Sun, 6 Jun 2010 22:06:07 -0600, Chad Perrin <perrin at apotheon.com> wrote:
> 
> > I've never really tried using vi-mode editing in any shell, despite the
> > fact I'm a constant vi user (even a vi gangsta, one might say).  Maybe I
> > should some day.  Thus far, though, I don't even know if tcsh supports
> > vi-mode editing.
> 
> According to "man csh", it is possible:
> 
>    The command-line editor (+)
>        Command-line  input  can  be edited using key sequences much like those
>        used in GNU Emacs or vi(1).  The editor is active only  when  the  edit
>        shell  variable  is  set, which it is by default in interactive shells.
>        The bindkey builtin can display and change key  bindings.   Emacs-style
>        key  bindings are used by default (unless the shell was compiled other-
>        wise; see the version shell variable), but bindkey can change  the  key
>        bindings to vi-style bindings en masse.

Excellent!  I don't have to wait until I get off my tuckus to look it up
now.  Thank for feeding my laziness.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100608/76e28c46/attachment.pgp


More information about the freebsd-questions mailing list