tcsh - vo to emacs

tcsh - vo to emacs

Post by Kevin Magui » Sat, 29 Apr 1995 04:00:00



Hi

I'm using a ftp'd, precompiled tcsh compiled with these options:

tcisp21:~ [2] echo $version
tcsh 6.04.00 (Cornell) 93/07/03 (rs6000) options 8b,nls,lf,dl,vi,al

I want to use emacs style editing, rather than vi.  I'm sure
I'm missing something obvious, but how do I change it?

Kev
--
   /\___/\    
   | o o |    ==============================================
  __\_^_/__   Kevin Maguire        Higher Scientific Officer
 (__/   \__)  Theor. & Comp. Science    Daresbury Laboratory

 (__\___/__)  ==============================================

 
 
 

tcsh - vo to emacs

Post by Paul DuBo » Sat, 29 Apr 1995 04:00:00


Quote:> I'm using a ftp'd, precompiled tcsh compiled with these options:

> tcisp21:~ [2] echo $version
> tcsh 6.04.00 (Cornell) 93/07/03 (rs6000) options 8b,nls,lf,dl,vi,al

> I want to use emacs style editing, rather than vi.  I'm sure
> I'm missing something obvious, but how do I change it?

If you're using .tcshrc:

        bindkey -e

If you're using .cshrc:

        if ($?tcsh) bindkey -e

The "if ($?tcsh)" part prevents bindkey from generating an error if
you happen to execute a csh script that reads .cshrc.
--
Paul DuBois

"I'm going to learn worm-talk next," said Janetta  -- Grandaddy's Place