On Sat Oct  6 17:56:35 EDT 2012, [email protected] wrote:
> 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 8191
> $ echo [any multibyte utf rune, for example Щ] >> 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.

in case you don't read the p9p list, there's a pach for this.  the p9p
patch was applied; the plan 9 one has not yet been applied.

plan9   /n/sources/patch/acme-xfid
p9p     https://bitbucket.org/rsc/plan9port/changeset/27213bfba2ec/

- erik

Reply via email to