X-Spam-Check-By: sourceware.org Date: Sat, 18 Aug 2007 10:50:27 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: RXVT doesn't recognize ALT + Cursor keys Message-ID: <20070818085027.GA11939@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi, this time I need help. I'm used to using xterm for all my terminal needs usually. Yesterday I tested a scenario which would call for using rxvt in non-X11 mode. All is fine, except that I'm unable to use my keyboard layout as I'm used to it. I'm working under tcsh in emacs edit mode and what I have in my .cshrc file, which works nicely for xterms and rxvt under Linux, as well as for native Windows consoles is this: bindkey '^[^[[D' backward-word bindkey '^[^[[C' forward-word bindkey '^[[3D' backward-word bindkey '^[[3C' forward-word bindkey '^[[1;3D' backward-word bindkey '^[[1;3C' forward-word This covers all combinations of ALT - Crsr Left and ALT - Crsr Right which I have to work with. So, in all terminals I can use the Alt + cursor keys to move wordwise in the command line. It just doesn't work for a Cygwin rxvt window. For some reason it does neither recognize Alt + Cursor, nor Ctrl + Cursor keys for me. I tested with od -c. I pressed . The native Windows console returns $ od -c 0000000 033 [ D \n 033 033 [ D \n 033 [ d \n 0000015 which translates to = ESC [ D = ESC ESC [ D = ESC [ d Rxvt on Linux returns $ od -c 0000000 033 [ D \n 033 033 [ D \n 033 O d \n 0000015 which translates to = ESC [ D = ESC ESC [ D = ESC 0 d The same on Cygwin rxvt $ od -c 0000000 033 [ D \n \n 033 O d \n 0000011 which translates to = ESC [ D = NIL = ESC 0 d Is there anything I can do about that, or is this a bug in rxvt, maybe? I tried with -/+meta8 as well as with trying different -mod options, but to no avail. Thanks for any help, 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/