This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "tput init" fails - TERMINFO


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]