delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/02/17/03:52:37

Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Rick Rankin" <rrankin AT primenet DOT com>
To: "Cygwin" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Updated rxvt patch
Date: Tue, 16 Feb 1999 20:52:29 -0700
Message-ID: <NCBBLBLBNJPLCPKCBIIIEELGCBAA.rrankin@primenet.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2212 (4.71.2419.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800

------=_NextPart_000_0000_01BE59EE.44C37020
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I've updated the patch for rxvt to work with rxvt-2.6.PRE2. This patch is
much smaller because I didn't modify the makefiles at all. Instead, I used
Pierre Humblet's install-cygwin-b20-sh install script to handle installing
.exe files. Also, if you want to link rxvt as a windows app, you can set the
LDFLAGS env. variable before calling configure. For example, the complete
configure line I used was

INSTALL=/usr/local/bin/install-cygwin-b20-sh LDFLAGS=-Wl,-subsystem,windows
\


  configure --x-includes=/usr/X11R6.4/include --x-libraries=/usr/X11R6.4/lib

If you want Pierre's install script, you can get it from

ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Humblet_Pie
rre_A/install-cygwin-b20-sh

Enjoy,

Rick
--
Rick Rankin
rrankin AT primenet DOT com

------=_NextPart_000_0000_01BE59EE.44C37020
Content-Type: application/octet-stream;
	name="rxvt-2.6.PRE2.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="rxvt-2.6.PRE2.patch"

#=0A=
# Patch against rxvt-2.6.PRE2 to eliminate the need to resize the initial=0A=
# window to get rxvt to recognize an initial size other than 25 lines.=0A=
#=0A=
# To use, run "patch -p1 <this_file" from the top directory of =
rxvt-2.6.PRE2=0A=
#=0A=
# To build as a "windows" app (i.e., doesn't create an extra console =
window),=0A=
# run configure as "LDFLAGS=3D-Wl,-subsystem,windows configure ...". =
Also, I used=0A=
# Pierre Humblet's install-cygwin-b20-sh install script to avoid having =
to =0A=
# modify the makefiles to recognize the .exe extension on executables. =
My entire=0A=
# configure line was=0A=
#=0A=
# INSTALL=3D/usr/local/bin/install-cygwin-b20-sh =
LDFLAGS=3D-Wl,-subsystem,windows \=0A=
#    configure --x-includes=3D/usr/X11R6.4/include =
--x-libraries=3D/usr/X11R6.4/lib=0A=
#=0A=
diff -aur rxvt-2.6.PRE2/src/main.c rxvt-2.6.PRE2.working/src/main.c=0A=
--- rxvt-2.6.PRE2/src/main.c	Thu Jan 28 01:24:39 1999=0A=
+++ rxvt-2.6.PRE2.working/src/main.c	Tue Feb 16 11:40:02 1999=0A=
@@ -1367,6 +1367,9 @@=0A=
     init_env();=0A=
     init_command(cmd_argv);=0A=
 =0A=
+    /* Make sure the terminal subsystem knows about the initial size. */=0A=
+    tt_resize();=0A=
+=0A=
     main_loop();		/* main processing loop */=0A=
     return EXIT_SUCCESS;=0A=
 }=0A=


------=_NextPart_000_0000_01BE59EE.44C37020
Content-Type: text/plain; charset=

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------=_NextPart_000_0000_01BE59EE.44C37020--


- Raw text -


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