Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Charles Forsyth
>i don't believe these two cases can be distinguished. you're right, and indeed don't believe it either.

Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Charles Forsyth
>you're right, and indeed don't believe it either. i meant: and indeed I don't believe it either.

Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Lyndon Nerenberg (VE6BBM/VE7TFX)
Russ says: > i don't believe these two cases can be distinguished. > in particular i think you'd only see the Tflush if the first > Twrite was still in flight when you typed DEL. assuming > the first write had completed before DEL, the two scenarios > are indistinguishable other than the different

Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Russ Cox
On Fri, Jan 15, 2010 at 2:45 PM, Charles Forsyth wrote: > in the first case, you'll see the last Twrite and then a Tclunk. > in the second, you'll see the first Twrite and then a Tflush (followed by > a Tclunk when cat exits). i don't believe these two cases can be distinguished. in particular i

Re: [9fans] Detecting EOF vs. Interrupt across 9P

2010-01-15 Thread Charles Forsyth
in the first case, you'll see the last Twrite and then a Tclunk. in the second, you'll see the first Twrite and then a Tflush (followed by a Tclunk when cat exits).