X-Spam-Check-By: sourceware.org
Message-ID: <43EC6A19.67F32AA2@dessent.net>
Date: Fri, 10 Feb 2006 02:25:29 -0800
From: Brian Dessent <brian@dessent.net>
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: "tput init" fails - TERMINFO
References: <BAY103-F70D600CC614EEDA9BC48F8A020@phx.gbl>
Content-Type: text/plain; charset=iso-8859-1
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k1AAPiG7002188

Cédric Bretaudeau wrote:

> $ echo $TERM
> cygwin

For TERM=cygwin it seems that there are no initialization strings to
print anyway:

$ infocmp -1 cygwin|grep -P "is\d"

> but it's the same problem with Xterm...

Here there exists "is2":

$ infocmp -1 xterm|grep -P "is\d"
        is2=\E[!p\E[?3;4l\E[4l\E>,

$ infocmp -1 rxvt|grep -P "is\d"
        is1=\E[?47l\E=\E[?1l,
        is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,

So, as a workaround you could probably just use "tput is2".  Although
maybe you should explain what you're trying to achieve since for
TERM=cygwin none of this is going to do anything in any case, even if
"tput init" worked.

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/


