From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27864 invoked from network); 2 Oct 2008 06:55:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 Oct 2008 06:55:56 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 3218 invoked from network); 2 Oct 2008 06:55:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 Oct 2008 06:55:51 -0000 Received: (qmail 6096 invoked by alias); 2 Oct 2008 06:55:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25798 Received: (qmail 6073 invoked from network); 2 Oct 2008 06:55:35 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 2 Oct 2008 06:55:35 -0000 Received: from prunille.vinc17.org (vinc17.pck.nerim.net [213.41.242.187]) by bifrost.dotsrc.org (Postfix) with ESMTP id 9DBC58030847 for ; Thu, 2 Oct 2008 08:55:27 +0200 (CEST) Received: by prunille.vinc17.org (Postfix, from userid 501) id 246312A6EDEF; Thu, 2 Oct 2008 08:55:25 +0200 (CEST) Date: Thu, 2 Oct 2008 08:55:25 +0200 From: Vincent Lefevre To: zsh-workers@sunsite.dk Subject: Pasting of long lines to ZLE is buggy under Mac OS X Message-ID: <20081002065525.GR24822@prunille.vinc17.org> Mail-Followup-To: zsh-workers@sunsite.dk MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.18-vl-r23999 (2008-09-26) X-Virus-Scanned: ClamAV 0.92.1/8370/Thu Oct 2 05:51:47 2008 on bifrost X-Virus-Status: Clean It seems that zsh 4.3.6 suffers from a buffering problem when pasting long lines under Mac OS X (at least 10.4.11). Other software, such as bash and emacs (running in a terminal), does not seem to have such a problem. For instance, when I paste /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=3D\"/opt/local/s= hare/locale\" -DGNOME_DESKTOP_SYSCONFDIR=3D\"/opt/local/etc\" -DGNOME_DESKT= OP_PIXMAPDIR=3D\"/opt/local/share/pixmaps\" -DGNOME_DESKTOP_ICONDIR=3D\"/op= t/local/share/icons\" -DGNOME_CORE_INTERNAL -DDATADIR=3D\"/opt/local/share/= gnome-desktop\" -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith= -Wno-sign-compare -I/usr/X11R6/include -DXTHREADS -DORBIT2=3D1 -D_REENTRAN= T -I/opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/in= clude/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/op= t/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/inclu= de/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/pixman-1 -I/op= t/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/includ= e -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/op= t/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/i= nclude/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/inclu= de/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/g= nome-vfs-2.0/include -I/opt/local/include/orbit-2.0 -I/opt/local/include/db= us-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/libbonobo-2.0= -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/gail-1.0 -= I/opt/local/include/startup-notification-1.0 -I/opt/local/include -O2 -MT g= nome-rr.lo -MD -MP -MF .deps/gnome-rr.Tpo -c gnome-rr.c -fno-common -DPIC = -o .libs/gnome-rr.o (1507 characters) to iTerm running zsh, I get: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=3D\"/opt/local/s= hare/locale\" -DGNOME_DESKTOP_SYSCONFDIR=3D\"/opt/local/etc\" -DGNOME_DESKT= OP_PIXMAPDIR=3D\"/opt/local/share/pixmaps\" -DGNOME_DESKTOP_ICONDIR=3D\"/op= t/local/share/icons\" -DGNOME_CORE_INTERNAL -DDATADIR=3D\"/opt/local/share/= gnome-desktop\" -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith= -Wno-sign-compare -I/usr/X11R6/include -DXTHREADS -DORBIT2=3D1 -D_REENTRAN= T -I/opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/in= clude/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/op= t/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/inclu= de/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/pixman-1 -I/op= t/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/includ= e -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/op= t/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/i= nclude/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/o which corresponds to the first 1024 characters. If I paste to xterm (also running zsh), I get something like: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=3D\"/opt/local/s= hare/locale\" -DGNOME_DESKTOP_SYSCONFDIR=3D\"/opt/local/etc\" -DGNOME_DESKT= OP_PIXMAPDIR=3D\"/opt/local/share/pixmaps\" -DGNOME_DESKTOP_ICONDIR=3D\"/op= t/local/share/icons\" -DGNOME_CORE_INTERNAL -DDATADIR=3D\"/opt/local/share/= gnome-desktop\" -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith= -Wno-sign-compare -I/usr/X11R6/include -DXTHREADS -DORBIT2=3D1 -D_REENTRAN= T -I/opt/local/include/libxml2 -I/opt/local/include/gtk-2.0 -I/opt/local/in= clude/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/op= t/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/inclu= de/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/pixman-1 -I/op= t/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/includ= e -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/op= t/local/include/gconf/2 -I/opt/local/include/gnome-keyring-1 -I/opt/local/i= nclude/libgnome-2.0 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/inclu= de/libgnomecanvas-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/g= nome-vfsde/olu-MT (here 1130 characters, but this varies). I don't know if this is related, but I've just discovered that "cooked mode" (e.g. after typing "cat") is limited to 1024 characters (including the final newline) under Mac OS X! --=20 Vincent Lef=E8vre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)