From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <13426df10906280104w3a6644d7v9e7291df5dac9350@mail.gmail.com> <13426df10906291253t1d46e779k6321f8b43f8eca3@mail.gmail.com> Date: Tue, 14 Jul 2009 13:28:32 -0700 Message-ID: Subject: Fwd: [9fans] p9p acme: incredibly slow typing in tag line for file. From: Russ Cox To: plan9port-dev@googlegroups.com Cc: Ron Minnich , micah Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: 20933d4a-ead5-11e9-9d60-3106f5b1d025 moving to plan9port-dev. http://bitbucket.org/rsc/plan9port/issue/5/acme-typing-at-1-char-sec-on-ubu= ntu-904 Subject: [9fans] p9p acme: incredibly slow typing in tag line for file. ------------------------ From: ron minnich Date: Sun, Jun 28, 2009 at 1:04 AM To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> I am unable to type at more than about one char per second (I am not making this up) in p9p acme in the tag line for a file. Only for file tag lines, not other tag lines, and it's all fine in the actual file window. This is ubuntu 9.04. Any hints welcome. thanks ron ---------- From: Jason Catena Date: Sun, Jun 28, 2009 at 10:35 PM To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> I just pulled down the latest versions with hg, compiled, and don't see this problem on my Ubuntu 9.04 box. =C2=A0No appreciable difference in typing rate for tags for files, directories, or shell-output windows, or their bodies. I have seen this kind of response time, but for the whole interface, because I exported an X-display through VPN from Red Hat to Windows XP with Cygwin/X. Does the same delay occur if you write into the tag file under /mnt/acme? =C2=A0I don't actually know the source code base that well, but it seems like it would help narrow things down if writes to the tag file showed up faster than input from the display. Jason Catena ---------- From: Russ Cox Date: Mon, Jun 29, 2009 at 8:46 AM To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> The file tags tend to get redrawn in full after every change rather than incrementally like the body does. It has to do with the tag resize calculations, which I haven't gotten quite right. That said, you should be able to redraw the tag more than once per second. =C2=A0Is this with a remote X or some other high latency connection to the underlying graphics? Russ ---------- From: ron minnich Date: Mon, Jun 29, 2009 at 12:53 PM To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Right on my laptop. But ubuntu 9.04 is known to have "X issues" and I did not know if this was another one. ron ---------- From: Micah Stetson Date: Tue, Jul 14, 2009 at 12:46 PM To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Has anybody figured this one out? =C2=A0I just updated to Ubuntu 9.04 and I'm seeing exactly the behavior Ron describes. =C2=A0Typing in a file tag (not a column tag) takes a noticeable amount of time per character -- varying between maybe 200ms and 1000ms by my guess. =C2=A0Sometimes I get the same delay in win and directory window tags, sometimes not. =C2=A0In any case, typing in the window body is fast. =C2=A0Also, resizing the acme window takes far too long -- maybe a couple of seconds. =C2=A0I think the time is linear in the number of files I have open in acme. =C2=A0Somebody asked whether writing to acme/n/tag was slow as well -- it doesn't look like it. =C2=A0Acme's still usable, since most of my text entry is in window bodies, but it sure is a pain. Thanks for any help anybody has to offer, Micah