X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47191773.5A1EDDA4@dessent.net> Date: Fri, 19 Oct 2007 13:45:39 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: rxvt, cmd programs and cursor keys References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com 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 Ma Dincht wrote: > I am running rxvt (native, non-X) and everything I need works fine > except of one thing. > Time to time I need to run cmd programs, like oracle's sqlplus or even > cmd itself. > > They work fine except of the up/down arrow keys, which should cycle > through command history in those programs. However, if they are > started under rxvt, the arrow keys are not passed correctly to these > programs, instead rxvt moves the cursor up or down. > > Is there a way to make rxvt pass cursor key pressings to the cmd > programs without any procession by rxvt? You will run into this any time you try to run a non-Cygwin program with input connected to an emulated pty. There's no workaround, that's just the way rxvt (and most every other unix terminal, e.g. xterm) works. In fact the only case where you *won't* involve a pty is when you are using a native Windows console and you don't have CYGWIN=tty; or if you use a non-Cygwin terminal like putty or console2. There are many past threads on this topic if you want more information. Here is a search to get you started: Brian -- 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/