X-Spam-Check-By: sourceware.org Message-ID: <43EC5C19.66BDC58@dessent.net> Date: Fri, 10 Feb 2006 01:25:45 -0800 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: "tput init" fails - TERMINFO References: <20060210090954 DOT GL4275 AT implementation DOT labri DOT fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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/