delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/10/04:26:01

X-Spam-Check-By: sourceware.org
Message-ID: <43EC5C19.66BDC58@dessent.net>
Date: Fri, 10 Feb 2006 01:25:45 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: "tput init" fails - TERMINFO
References: <BAY103-F70D600CC614EEDA9BC48F8A020 AT phx DOT gbl> <20060210090954 DOT GL4275 AT implementation DOT labri DOT fr>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

Samuel Thibault wrote:

> in man 5 terminfo, there is no init string indeed. There is is1, is2 and
> is3 however. See further in man page for details.

Yes, but "man tput" says that "tput init" should work:

       init   If the terminfo database is present and an entry  for  the
              user's  terminal exists (see -Ttype, above), the following
              will occur: (1) if present, the terminal's  initialization
              strings will be output (is1, is2, is3, if, iprog), (2) any
              delays (e.g., newline) specified in the entry will be  set
              in the tty driver, (3) tabs expansion will be turned on or
              off according to the specification in the entry,  and  (4)
              if tabs are not expanded, standard tabs will be set (every
              8 spaces).  If an entry does not contain  the  information
              needed for any of the four above activities, that activity
              will silently be skipped.

I'm not sure why it's trying to treat "init" as a capname and failing.  It would
seem the documentation is out of sync with the code, or there is a bug
somewhere.

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/

- Raw text -


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