From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Tue, 2 Oct 2012 16:45:00 -0600 Message-ID: From: andrey mirtchovski To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, plan9port-dev@googlegroups.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [9fans] acme Edit bug Topicbox-Message-UUID: bc52afe8-ead7-11e9-9d60-3106f5b1d025 Edit (or something in its chain) appears to be broken on buffer boundary in p9p and in plan9. To test: $ perl -e '{print "A"x1023;}' > t.txt # for plan9 acme replace 1023 with 81= 91 $ echo [any multibyte utf rune, for example =D0=A9] >> t.txt $ acme t.txt [ in acme, middle-swipe "Edit , |cat" without the quotes ] this happens with any binary on the other side of the pipe (originally discovered with gofmt). it happens on multiples of that size too, 1024, 2048, etc for p9p. it does not occur if just the pipe is used, only when going through Edit.