delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/20/19:16:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
Subject: RE: Another less/rxvt prob: Not interpreting <backspace>?
MIME-Version: 1.0
Date: Wed, 20 Nov 2002 19:16:50 -0500
Message-ID: <59A835EDCDDBEB46BC75402F4604D5528F7503@elmer>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Sergei Okhapkin" <sokhapkin AT LEAPSTONE DOT com>
To: "Jason Tiller" <jtiller AT sjm DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gAL0G3v24891

Set env var SHELL to "bash" before starting rxvt.

-----Original Message-----
From: Jason Tiller [mailto:jtiller AT sjm DOT com] 
Sent: Wednesday, November 20, 2002 6:59 PM
To: cygwin AT cygwin DOT com
Subject: Another less/rxvt prob: Not interpreting <backspace>?


Hi, All, :)

"Thank You!" to Sergei and Matthijs who graciously gave suggestions and
commiseration about my problem with 'less' not determining the terminal
size correctly.  Through no fault of my own, the problem seems to have
ameliorated itself: running 'less' in a new rxvt instance no longer
exhibits the quirky behavior of trying to scroll only 24 lines in a
25-line terminal.

(Note that rxvt is still opening a window that is one row greater than
what I ask for.  I ask for '-geometry "80x24"' and get 80x25, but that's
a niggle.)

However, 'less' now seems to be struggling to interpret keystrokes.
Specifically <backspace>: when editing a search pattern, instead of
erasing the previous character, 'less' inserts "^?". <Ctrl>-<backspace>
seems to perform the function of <backspace>, as does <Ctrl>-h.  Once
again, this behavior didn't crop up until my recent update from 1.3.12
or so to 1.3.15 on Friday.

Here is what I believe to be the relevant info about my system.  If this
isn't clear or complete enough, please let me know!

Installation info:
cygwin: 1.3.15-2
rxvt: 2.7.2-14
bash: 2.05b-7
less: 374-1
termcap: 20020930-1
terminfo: 5.2-3
Win2K SP2

rxvt invocation:
C:\WINNT\system32\cmd.exe /c start C:\cygwin\bin\rxvt.exe -tn "rxvt" -fg
grey -bg black -fn "Fixedsys" -sr -sl 5000 -e /bin/bash --login -i

Relevant environment variables:

TERM=xterm
LESS=iFMSX# 8
CYGWIN=tty nontsec

Any ideas on how I can investigate this problem further?

---Jason


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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