| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <43EC6A19.67F32AA2@dessent.net> |
| Date: | Fri, 10 Feb 2006 02:25:29 -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> |
| 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 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k1AAPiG7002188 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |