| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.5 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4BE81F27.6090102@gmail.com> |
| Date: | Mon, 10 May 2010 15:58:47 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: ProcPS tools (top) and cygwin env |
| References: | <782608601 DOT 20100509195221 AT yandex DOT ru> <hs6rgp$qre$1 AT dough DOT gmane DOT org> |
| In-Reply-To: | <hs6rgp$qre$1@dough.gmane.org> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
On 09/05/2010 18:31, René Berber wrote:
> Digika wrote:
>
>> Can someone explain me why "top" from ProcPs package ... do not want to
>> work? I gave him all depends (cygncurses-8.dll and cygwin1.dll) but
>> everything I'm getting from it is an error:
>>
>> C:\Programs\gnutools\procps\usr\bin>top
>> 'cygwin': unknown terminal type.
>
> Do you have terminfo installed?
>
> Ncurses has terminfo as dependency, indirect through libncurses10.
> Perhaps your installation is incomplete.
It looks like Digika is trying to make top run standalone by unpacking the
archive manually and adding a copy of the cygwin1 and cygncurses-8 DLLs. It's
unsurprising that it won't work without the other required parts of the cygwin
installation around it. A simple "strings /usr/bin/cygncurses-8.dll | grep
terminfo" shows that it expects to be able to locate the /usr/share/terminfo
subdirectory.
> Check the program itself: 'cygcheck `which top`'.
That doesn't actually show this kind of dependency; it shows the DLLs that
the executable requires, but it can't know anything about file paths it might
want to open at runtime.
>> Why is that so? is there any way to make standalone version of "top"
>> which is independent from cygwin terminal? I want to use it via telnet
>> on a remote win32 machine.
>
> There are easier ways, depending on the terminal you are using you could
> just define TERM, i.e. export TERM=rxvt or vt100 or something else.
Don't see how that would work either. Maybe setting TERM to nothing at all
would work. Otherwise, you could try copying /usr/share/terminfo/c/cygwin
into C:\Programs\gnutools\procps\usr\share\terminfo\c\ and it might work, but
I don't know if other dependencies might crop up.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |