X-Spam-Check-By: sourceware.org Message-ID: <43EC6A19.67F32AA2@dessent.net> Date: Fri, 10 Feb 2006 02:25:29 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "tput init" fails - TERMINFO References: Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/