delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/16/11:19:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Mailer: 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2) (via feedmail 8 I)
To: "Keith Starsmeare" <kxs AT bigfoot DOT com>
Cc: "cygwin" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Resizeable xterms/rxvts
References: <20000316102001 DOT 45030 DOT qmail AT hotmail DOT com>
From: "Dr. Volker Zell" <vzell AT de DOT oracle DOT com>
Date: 16 Mar 2000 16:56:58 +0100
In-Reply-To: "Keith Starsmeare"'s message of "Thu, 16 Mar 2000 10:21:09 -0000"
Message-ID: <kvn1nyvrg5.fsf@vzell.de.oracle.com>
Lines: 29
User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (20 Minutes to Nikko)
MIME-Version: 1.0

>>>>> "Keith" == Keith Starsmeare <kxs AT bigfoot DOT com> writes:

    Keith> Has anyone managed to build an xterm or rxvt which resizes properly? The
    Keith> only xterms I've tried are hopeless; they're fixed to 80x25. The rxvts I've
    Keith> tried are a little better; they can be resized, but often things like vim
    Keith> don't get the size right until the window size is changed for some reason
    Keith> and if I rlogin from an rxvt then remote vim's rarely get the size right
    Keith> (although on some, but not most, unix systems using resize after I resize
    Keith> does correct the problem).

diff -upr /rxvt-2.6.PRE2/src/main.c rxvt-2.6.PRE2/src/main.c
--- /rxvt-2.6.PRE2/src/main.c	Thu Jan 28 08:24:39 1999
+++ rxvt-2.6.PRE2/src/main.c	Sun Feb 14 15:43:45 1999
@@ -1367,6 +1367,11 @@ main(int argc, const char * const *argv)
     init_env();
     init_command(cmd_argv);
 
+#ifdef __CYGWIN__
+    /* Make sure the terminal subsystem knows about the initial size. */
+    tt_resize();
+#endif
+
     main_loop();		/* main processing loop */
     return EXIT_SUCCESS;
 }


Ciao
  Volker


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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