9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acme Edit bug
@ 2012-10-02 22:45 andrey mirtchovski
  2012-10-02 23:52 ` Rob Pike
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: andrey mirtchovski @ 2012-10-02 22:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs, plan9port-dev

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.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-07 12:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-02 22:45 [9fans] acme Edit bug andrey mirtchovski
2012-10-02 23:52 ` Rob Pike
2012-10-03  1:45 ` erik quanstrom
2012-10-03  2:31   ` andrey mirtchovski
2012-10-07 12:08 ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).