delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/28/19:25:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Ishmael <noone DOT junkmail AT gmail DOT com>
Subject: Keybindings in rxvt running tcsh get overwritten during startup
Date: Sun, 29 Mar 2009 00:21:44 +0000 (UTC)
Lines: 19
Message-ID: <loom.20090329T000617-86@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I'm afraid I'm having some trouble getting my keybindings to work under tcsh
running under rxvt.  When I run them from the command line, they work fine, but
when I put them in one of my dot files, which get sourced during startup, they
don't work.  Here's what I've got in a file I created (called .tcshkeybindings)
that I source from my .tcshrc file:

echo "Running .tcshkeybindings"
bindkey "^[[B" "history-search-forward"
bindkey "^[[A" "history-search-backward"

This allows me to auto-complete a previously entered command by typing a few
characters, then hitting the up-arrow - very convenient.

If I type 'source .tcshkeybindings' at the command line, everything also works
A-OK.  During startup though, somewhere along the way, the keybindings get reset
to their original values (e.g. "^[[A" -> up-history).

Any ideas how to fix this? Thanks a lot!



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019