Re: [9fans] Bread + note -> loss

2014-05-16 Thread erik quanstrom
On Fri May 16 15:26:28 EDT 2014, cinap_len...@felloff.net wrote: > btw, whats the program that gets hit by alarm notes but wants to > continue with Bread()? there's one you wrote, but more on that offline. - erik

Re: [9fans] Bread + note -> loss

2014-05-16 Thread cinap_lenrek
btw, whats the program that gets hit by alarm notes but wants to continue with Bread()? -- cinap

Re: [9fans] Bread + note -> loss

2014-05-14 Thread erik quanstrom
On Mon May 12 12:42:21 EDT 2014, cinap_len...@felloff.net wrote: > why? if the program doesnt handle the note, then it shouldnt matter if it > clunks the biobuf or not as it will be exited by the default handler. you're right. - erik

Re: [9fans] Bread + note -> loss

2014-05-12 Thread cinap_lenrek
why? if the program doesnt handle the note, then it shouldnt matter if it clunks the biobuf or not as it will be exited by the default handler. -- cinap

Re: [9fans] Bread + note -> loss

2014-05-12 Thread erik quanstrom
i should elaborate. the case were any error or interrupt looks like Beof seems like the right thing for any program that looks like a filter. this is the majority of programs. and this is the current behavior. i wouldn't want to make the simple case tricky. but the hard case should also not be

Re: [9fans] Bread + note -> loss

2014-05-12 Thread erik quanstrom
On Mon May 12 12:19:47 EDT 2014, cinap_len...@felloff.net wrote: > why not check the error string in Bread() and see if its "interrupted" > and in that case, dont inactivate the stream? or are i'm missing > something? that's an excellent suggestion. i thought about it before posting, but sort of

Re: [9fans] Bread + note -> loss

2014-05-12 Thread cinap_lenrek
why not check the error string in Bread() and see if its "interrupted" and in that case, dont inactivate the stream? or are i'm missing something? -- cinap

[9fans] Bread + note -> loss

2014-05-12 Thread erik quanstrom
in looking at a particular situation with Bread, i noticed that it Bgetc, and Bgetrune differ from Brdstr in what it does with read returns a count <= 0. Brdstr just returns nil. Bread sets Binactive. this wouldn't matter if there were not two fundamentally different types of notes: alarms and ev