This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: "tput init" fails - TERMINFO
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 10 Feb 2006 02:25:29 -0800
- Subject: Re: "tput init" fails - TERMINFO
- References: <BAY103-F70D600CC614EEDA9BC48F8A020@phx.gbl>
- Reply-to: cygwin at cygwin dot com
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/