From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 9 Oct 1995 13:29:32 -0400 From: beto@plan9.cs.su.oz.au beto@plan9.cs.su.oz.au Subject: reading selected text in acme Topicbox-Message-UUID: 2c3996e2-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951009172932.ie0oyLQA8X2lB-ZHwNY2gWEktQSMA6mYsuhWTeM_y7c@z> Hi, I've tried to read the selected text in an acme window (from an alef program), but it reads from the start of the selection while there is space in the read buffer. I checked the acme manual, and it says that's the `right behaivor'. So I'm wondering how do we check the end of the selection. To read the selected text I did: write(ctl,"addr=dot",strlen("addr=dot")); n=read(data,buf,sizeof(buf)); I could use the chorus mecanism, but it only works with less than 256 bytes, eventhough the manual says that it should give me the addr to read the runes directly form the file if the argument is too long. Acme says "`argument string too long". thanks