Overview
| Artifact ID: | 637dc0de240cac4fd9d813f9b983257d9ea1fb3d |
|---|---|
| Ticket: | 412504ffffffffffffffffffffffffffffffffff
fileevent readable translation mode auto |
| User & Date: | nobody on 2001-04-12 23:20:37 |
Changes
- icomment:
Logged In: NO Duh, I see it all now. So fileevent readable *does* know about CR-only lines after all. We've been tackling the wrong issue, and it's my fault. Sorry! I think I got us off track when I made the assumption that the application that I am working with appends \r to the lines in question. It actually prepends them. Then we got more off track when you said (in comp.lang.tcl): > No, it just doesn't know wether the CR is alone > or will be followed by a LF and so its waits for > the next character to arrive to decide wether the > line-ending was the CR it saw or is CRLF. I took issue with *that* (though I think we know now that that isn't actually the case) and it snowballed from there. By the time I noted that you have to prepend the \r to duplicate the problem, I was so deep into your assertion that fileevent (in auto mode) *has* to see an LF after CR before proclaiming EOL that I didn't realize that by prepending \r gets would be what is blocking! Argh! Sorry! Let's just forget the whole thing.
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"