delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/23/19:23:37

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 23 Apr 2003 19:23:28 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: CVS head bash problem
In-Reply-To: <b874q1$eqp$1@main.gmane.org>
Message-ID: <Pine.GSO.4.44.0304231918090.10996-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Wed, 23 Apr 2003, Rolf Campbell wrote:

> [snip]
> I was able to reproduce one of the problems in gdb.  This happens when I
> paste a *large* (> 44k) amount of text into an RXVT window.  I pasted
> 4900 lines of text into rxvt, all of them "cat hhhh".  Seems to only
> happen sporatically.  I tried it with cygwin1-20030421.dll.bz2, and I
> was able to cause the problem there too...
> [snip]

Rolf,

This is a known problem -- both rxvt and xterm will hang (crash?) if a
large text buffer is pasted in.  IIRC, the maximum paste size was around
64k, but there may be some character translation going on, so the
effective paste size may be smaller.

There used to be a patch for this, but I think it's way out of date at
this point.  The author of the patch (Steve Osbourn, who, incidentally,
is also the rxvt maintainer) has started to provide the functionality
incrementally in small patches, but, AFAIK, this process was never
completed.

For now, the rule of thumb is: don't paste more than 64k into rxvt or
xterm (the console bash *can* handle large pastes, but has other
problems, e.g., pasted international characters get lost).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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