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


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/


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