tcsh bindkey wont work in login script

tcsh bindkey wont work in login script

Post by Paul Duga » Wed, 28 Jun 1995 04:00:00



I just got the 6.06.00 version of tcsh to compile and install.  Now
I tried to setup the ctrl-up and ctrl-down keys to do a backward and
forward history search.
If I type at the command line
  "bindkey [^V][^up] history-search-backward"
and it works but if I type the same thin into my .cshrc file,
it doesn't work.

Any Ideas?  How do I put the right codes in a script?

thanks in advance, -Paul

 
 
 

1. Help: can't get bindkey to work in Tcsh...

I'm trying to set control-Z to run the tcsh command run-fg-editor, and I'm
not having any luck.  Actually, the binding works...

        ~> bindkey ^Z run-fg-editor ("^Z" is control-v control-z)
        ~> bindkey ^Z
        "^Z"    ->      run-fg-editor

but when I type control-Z, nothing happens.  I have a suspended vi session,
and if I type "fg", it is brought to the foreground.

Any ideas on what I'm doing wrong here?

Thanks, Bill...

From 'uname -a', if it matters: HP-UX A.09.03 A 9000/720

--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-==-=-=-=-=
Bill Zvonar             Bell Northern Research, Ottawa, Ontario, Canada

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

2. Help: No X with my RH 6.1

3. tcsh not reading bindkey from .cshrc

4. HTTP PUT Security

5. Help tcsh, bindkey

6. i386 Redhat Bootup problem

7. Tcsh Bindkey -- Home/End

8. badblocks

9. : bindkey in tcsh

10. tcsh bindkey in .cshrc -- how?

11. tcsh - bindkey

12. tcsh 8bit bindkey syntax?

13. tcsh: bindkey for arrow keys