Hi, all

I have problems with direct ports, insert and copy/part.

>> write f "123456789"
>> close p
>> write f "123456789"
>> p: open/direct f
>> insert p "a"
>> insert p "b"
>> read f
== "ab3456789"
>> copy/part p 1
== "3"

What i understand:
In a direct port insert is like change.
Read index is equal to the write index.
Read-Write index is incremented after a write or a read.

But now:

>> insert p "c"
>> read f
== "ab3456789c"

A write after a copy/part, writes at the end of buffer. This is the bug.
Am i wrong?

BTW, Read index now is different from the write index.

>> copy/part p 1
== "4"

---
Ciao
Romano

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to