Baruch Even wrote:
> On Wed, 2004-09-08 at 16:28, P at draigBrady.com wrote:
>>>To reproduce do the following:
>>>>for i in `seq 500`; do echo "echo $i"; done > paste.txt
>>Select all (ggVG)
>>Now middle click to paste the commands into a terminal.
>>>>For me only the first 4096 bytes are pasted.
>>I'm guessing it's something to do with tty modes,
>>or the switching of modes as vim running on the
>>terminal can accept all the pasted info fine.
>>> X protocol needs extended protocol to transfer larger chunks of data
> (above 4k), one of the participating programs is not doing its part in
> the transfer and doesn't continue as it should.
>> Since gvim is one side I'd suspect your terminal program is misbehaving.
>> You could try to use the xclip program to do the receive side, it's a
> clipboard manipulation program which I maintain in Debian and had the
> need to hack it a bit, I've tested large transfers and they are known to
> work with it.
>> FWIW, your test case works for me with multi-gnome-terminal as the
I'm not sure it's to do with the X program (terminal)
as I'm using gnome terminal and the same thing happens in xterm.
Also vim within either terminal will get all input,
but bash/tcsh within either terminal will loose input.
Note for me sometimes input is lost in the middle
of the echos and not just the end, so changing
the above from 500 -> 5000 should help trigger.
Pádraig Brady - http://www.pixelbeat.org
--- Following generated by rotagator ---
New Linux networking commands
ifconfig, route, mii-tool etc. are out of date
The new kids on the block are ip and ethtool.
ip link show #list interfaces
ethtool interface #list interface status
ip link set dev eth0 name home #rename eth0 to home
ip addr add 126.96.36.199/24 brd + dev eth0 #add ip and mask(255.255.255.0)
ip link set dev interface up #bring interface up (or down)
ip route add default via 188.8.131.52 #set default route to 184.108.40.206
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!