X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 30 Mar 2009 13:04:32 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Keybindings in rxvt running tcsh get overwritten during startup Message-ID: <20090330110432.GR12738@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-02-20) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mar 29 00:21, Ishmael wrote: > 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! set -x? I have my own keybindings in .cshrc as well and it works fine. Perhaps you have something in .login which overwrites the bindings again? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/