delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/18/16:33:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: "Mikael" <mindcooler AT gmail DOT com>
Subject: Re: Arrow keys when using ssh to connect remotely to solaris box
Date: Sun, 18 Sep 2005 22:29:46 +0200
Lines: 45
Message-ID: <dgkinp$7v3$1@sea.gmane.org>
References: <dgkgga$2bj$1 AT sea DOT gmane DOT org> <432DCC40 DOT 77E6262C AT dessent DOT net>
X-IsSubscribed: yes

Brian Dessent wrote:
> Mikael wrote:
>
>> Hello, I'm using ssh inside an rxvt terminal (?) to connect remotely
>> to a Sun server running Solaris. It connects without any problems
>> and I can login to the Oracle database the server is running.
>> However, the arrow keys doesn't work correctly. When I hit
>> left-arrow to edit what I am typing in sqlplus (oracles command line
>> client) the input cursor position doesn't move instead ^[[D is
>> displayed. Neither of the arrows keys work. I guess the problem is
>> that the remote shell is expecting keys in one format and I am
>> sending it in another, slightly different format, so it doesn't work
>> for some keys. This has made working remotely with the oracle
>> database a chore at best and I was wondering how I can remedy the
>> situation?
>
> In general this is a problem with the application on the remote end
> and has nothing to do with rxvt.  The way it works is that the TERM
> environment variable should be set to indicate what terminal is in
> use. In your case it should probably be "rxvt".  The application then
> should look at this variable and then use the terminfo database to
> determine what character sequences to expect based on the terminal.
>
> So, you should check to see what TERM is set to after connecting to
> the remote system.  It may also be that the terminfo database on the
> remote system does not contain an entry for "rxvt", so you might have
> to try setting it to "xterm" or even "vt102" which are more common
> names for terminals with very similar key mappings.

Thanks for the quick reply, Brian. I performed an $ echo $TERM after logging 
in:
astmatix <302> echo $TERM
rxvt-cygwin-native
Was the output...
I also noticed this string when logging in:
tcsh: using dumb terminal settings

So, given this information, any further hints?

>
> Brian

/ Mikael 




--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019