On Fri, Sep 24, 2004 at 04:00:38PM +0200, Andrew Moise wrote:
> Package: xterm
> Version: 4.3.0.dfsg.1-7
> Severity: normal
> 
>   If I type 'seq -w 0 999' in one xterm, and cut-and-paste the output into
> another xterm which is running 'cat > /dev/null', I see only the numbers 0
> through 818.  Cut-and-pasting 500 lines of 7 characters each, or 250 lines of
> 15 characters each, gives me similar results.  Oddly enough, 1000 lines of 7
> characters each seem to cut-and-paste properly.

that's odd.  My first inclination regarding a limit on cut/paste is the
(system-dependent) caveat at the end of the xterm manpage:

        BUGS
             Large pastes do not work on some systems.  This is not a bug
             in xterm; it is a bug in the pseudo terminal driver of those
             systems.  xterm feeds large pastes to the pty only  as  fast
             as  the  pty  will  accept data, but some pty drivers do not
             return enough information to know  if  the  write  has  suc-
             ceeded.

But what "large" is depends on the system.  Perhaps the limit is only 4kb
and someone's made fixes to the pty support to splice together 4kb chunks.
If the splicing isn't working properly, there could be some loss near the
multiples of 4kb.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Attachment: pgpFBtBBOCFbg.pgp
Description: PGP signature

Reply via email to