tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pty(4) 1024 bytes buffer limit

On Fri, Sep 09, 2011 at 08:38:59AM +0200, Rhialto wrote:
 > > There's also a possible issue with direct selection data transfer
 > > versus INCR data transfer, but in xterm's case that is unlikely to be
 > > what's behind your problem.  It's hard to be sure; you outline
 > > conditions under which you see misbehaviour but you don't say what the
 > > misbehaviour actually is.
 > Sorry. What I'm seeing is that I have selected more than 1024 characters
 > in one xterm, and when I paste it in another, I only get the first 1024
 > of those.
 > The way I checked the number was to type in one shell the "wc" command,
 > then paste into that xterm. The output from wc (if needed, forced to end
 > with one or two ^Ds) tells me its input is only 1024 bytes.

That's a known xterm bug. Christos fixed it in -current quite some
time ago; I'm not sure offhand if the fixes made it into -5, but they
ought to if they haven't.

David A. Holland

Home | Main Index | Thread Index | Old Index