X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Sat, 20 Oct 2007 13:38:52 +0400 From: "Ma Dincht" To: cygwin AT cygwin DOT com Subject: Re: rxvt, cmd programs and cursor keys In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-IsSubscribed: yes 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 > 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. I have actually found an acceptable workaround to have command history working in cmd programs started from rxvt. I've set up aliases to start these programs via rlwrap, for example: alias cmd='rlwrap cmd' alias sqlplus='rlwrap sqlplus' and so on. This works perfectly for sqlplus, cmd, and a bunch of our inhouse cmd programs (which I can't recompile under cygwin because they link against proprietary libraries compiled by MSVC). -- 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/