| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <d56ea78b0710200238j553054d6h1379934169614119@mail.gmail.com> |
| Date: | Sat, 20 Oct 2007 13:38:52 +0400 |
| From: | "Ma Dincht" <madincht AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: rxvt, cmd programs and cursor keys |
| In-Reply-To: | <d56ea78b0710190433t176e9284vef56428f1dc8fce1@mail.gmail.com> |
| MIME-Version: | 1.0 |
| References: | <d56ea78b0710190433t176e9284vef56428f1dc8fce1 AT mail DOT gmail DOT com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |