[ILUG] can only paste 4096 bytes to shell

Brian Foster blf at blf.utvinternet.co.uk
Thu Sep 9 06:58:38 IST 2004


  | From: Baruch Even <baruch at ev-en.org>
  | Date: Wed, 08 Sep 2004 19:46:01 +0100
  | 
  | On Wed, 2004-09-08 at 19:23, P at draigBrady.com wrote:
  | > 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.  [ ... ]
  | 
  | For me it works no matter the size, however when I use gnome-terminal
  | or xterm, it doesn't work.

 just a guess....
 canonical input buffer size?
 most shells nominally run in canonical mode,
 vim(1) nominally does not.
 you should be able to check (prove?) this theory by
 putting the terminal into a raw mode, running cat(1),
 pasteing, and seeing if anything is lost.  if stuff
 is lost, I am probably wrong; otherwise, the theory
 is worth considering (and it has nothing to do with
 with X11 at all).

cheers!
	-blf-
-- 
«How many surrealists does it take to    |  Brian Foster      Montpellier,
 change a lightbulb?  Three.  One calms  |  blf at utvinternet.ie      FRANCE
 the warthog, and two fill the bathtub   |    Stop E$$o (ExxonMobile)!
 with brightly-colored machine tools.»   |        http://www.stopesso.com



More information about the ILUG mailing list