This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rxvt, cmd programs and cursor keys


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:
<http://www.google.com/search?q=site%3Acygwin.com+inurl%3Aml+inurl%3Acygwin+rxvt+pty&num=100>

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]