Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: <3B36564E.9020907@ece.gatech.edu> Date: Sun, 24 Jun 2001 17:06:22 -0400 From: "Charles S. Wilson" User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.1) Gecko/20010607 Netscape6/6.1b1 X-Accept-Language: en-us MIME-Version: 1.0 To: "David A. Cobb" CC: Max Bowsher , Cygwin General MailList Subject: Re: RXVT: Launching the root window/login shell References: <5.1.0.14.0.20010620123032.022e1ec0@mail> <5.1.0.14.0.20010622215511.04905b60@mail> <5.1.0.14.0.20010624163421.06520a40@mail> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ummm...guys. Did anybody bother to read /usr/doc/Cygwin/rxvt-*.README ? Or search the recent archives concerning rxvt? Steve O. originally ported rxvt to native windows. Also, there was an existing port of libXpm (which rxvt optionally uses) to Windows. This Xpm port used a "fake" X11 library that (a) worked with the native Windows windowing environment (no Xserver required), and (b) provided --just enough-- of the Xlib calls to satisfy libXpm. Steve's initial port of rxvt did NOT use libXpm at all (he eliminated all dependency on X). Okay, so then Steve got clever. He used the Windows libXpm port's fake "X" lib, rewrote parts of it as a wrapper, built his own libXpm that used his new "W" lib, and then built a new rxvt that used his new libXpm and "W" libs. When he put all this together, he got an rxvt that (a) could run on Native Windows without needing an Xserver (b) could also run in "X" mode with an Xserver if desired This magic was performed by the "W" lib (remember, "W" is Steve's modified version of the fake Xlib that came with libXpm). Depending on the value of the DISPLAY variable, "W" uses the fake Xlib calls (and thus runs in "native" mode, or "W" uses *real* Xlib calls (and thus runs in "X" mode and requires an Xserver. I probably got a few details wrong, but that's the basic idea. For more infom: use the source, luke. --Chuck -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple