delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/22/18:00:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <002e01c0fb65$1e86e700$0100000a@tinypcbighd>
From: "Max Bowsher" <cygwin AT bowshernet DOT freeserve DOT co DOT uk>
To: "Cygwin General MailList" <cygwin AT cygwin DOT com>
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20010620123032 DOT 022e1ec0 AT mail>
Subject: Re: RXVT: Launching the root window/login shell
Date: Fri, 22 Jun 2001 22:45:32 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200

My solution:
Create a new windows shortcut (.lnk NOT .pif) pointing to:
C:\cygwin\bin\rxvt.exe -tn xterm -e /bin/login username

This will still cause a standard console window to appear briefly.
To avoid this, is is necessary to recompile rxvt, passing the -mwindows option to gcc during the link step
When configuring rxvt, I used the following command:
./configure --x-includes='$(basedir)/W11' --x-libraries='$(basedir)/W11/lib' --enable-mousewheel
The X stuff seems to be necessary, although it is a bit silly that it is needed.
I them added -mwindows to LDFLAGS in src/Makefile

Max.




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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