delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/01/12:22:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 1 Jun 2009 12:21:44 -0400
Message-ID: <7e08cc0906010921t50be45ddqf146038e6e3eea89@mail.gmail.com>
Subject: urxvt-X terminfo and Bash readline
From: Dan Moulding <dmoulding AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Today I decided to try urxvt-X to see if I like it better than xterm.
After installing it, I noticed a couple of things that seemed odd, and
am wondering whether or not these are intentional behaviors.

First, it did not install its own compiled terminfo file in
/usr/share/terminfo/r. I noticed that the source for the terminfo file
was installed to /etc/terminfo, so I compiled it and copied
rxvt-unicode to /usr/share/terminfo/r (from /usr/share/terminfo/72).
This seemed to work for getting programs (such as emacs) to find the
terminfo. But it seems like this should all happen automagically upon
installing urxvt-X (for example, I never had to do this with xterm).

The other odd thing I noticed is that for some reason in Bash the
readline functionality "horizontal-scroll-mode" defaults to "on" when
running inside urxvt-X. Normally this should default to "off" (as per
the Bash man page). When running Bash in an xterm window, it is set
"off" by default as expected. I had to manually turn it off in
.inputrc when using urxvt-X.

Any comments are appreciated.

Cheers,

-- Dan

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