delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/18/15:04:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C487ED2.6060006@ece.gatech.edu>
Date: Fri, 18 Jan 2002 15:00:18 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Don Sharp <dwsharp AT iee DOT org>
CC: gnuwin32 <cygwin AT cygwin DOT com>
Subject: Re: named colour list
References: <C2D7D58DBFE9D111B0480060086E96350689B9C0 AT mail_server DOT gft DOT com> <3C48295B DOT 2070201 AT ece DOT gatech DOT edu> <3C48304B DOT BF0DAB64 AT iee DOT org>

I believe rxvt dynamically loads either libWll.dll or libX11.dll (using 
dlopen()).  It does this depending on the setting of the environment 
variable DISPLAY.

This was done so that the same executable works:
   1) in native windows mode on systems without X11 installed
   2) in X11 or native windows mode on systems WITH X11 installed, 
depending on DISPLAY setting.

If rxvt were actually LINKED to libX11.dll then it couldn't work with 
W11, and vice versa.

--Chuck


Don Sharp wrote:

> 
> Charles Wilson wrote:
> 
>>Schaible, Jörg wrote:
>>
>>
>>>So I can use the named colors, "lighsalmon" works fine on my box. OTOH I am
>>>not really sure *why* it works, since the only rbx.txt I've found was in the
>>>vim package. I've detected that the DLLs cygtk80.dll and libW11.dll seem to
>>>have included this symbolic names, but neither is used for rxvt ...
>>>
>>rxvt DOES use libW11.dll.
>>
>>--Chuck
>>
> 
> Where? According to cygcheck it doesn't.
> 
> $ cygcheck g:\\bin\\rxvt.exe
> g:\bin\rxvt.exe
>   g:\bin\cygwin1.dll
>     C:\WINNT\System32\KERNEL32.dll
>       C:\WINNT\System32\ntdll.dll
>   C:\WINNT\System32\USER32.dll
>     C:\WINNT\System32\GDI32.dll
>       C:\WINNT\System32\ADVAPI32.dll
>         C:\WINNT\System32\RPCRT4.dll
> 
> Cheers
> 
> Don Sharp
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019