A couple of hours after I sent this patch in, a tornado touched down
about 1 block from my house. My place is fine; there isn't so much as a
roof tile missing. A block away, an apartment complex was more or less
destroyed. The roofs are heavily damaged or missing, and the entire
second floor of one building is just gone. There were no deaths or
serious injuries, thanks to the excellent advance warnings we received.
Even so, does anybody have a job opening in California? I grew up with
earthquakes; I can handle them a lot better. :-)
"Stephen J. Turnbull" <stephen(a)xemacs.org> wrote:
OK. I don't really understand the new detectors, but I suspect
this
is a bug in them. There are dire warnings about attempting to detect
on non-seekable streams. Since when are TTYs seekable?
Yes, I saw those warnings. But then the 'keyboard streams are
explicitly mentioned all over the place, too. It's confusing.
I dunno. Do you know for a fact that there are no TTYs out there
that
send CRLF?
Nope. I have no idea. But even if there are, how are you going to
figure it out?
I think that the right thing to do is to fix the detectors, but this
is not terribly harmful (the worst that could happen is
stair-stepping, I suspect).
I don't know that the detectors need fixing. We just shouldn't be using
them to detect the EOL type on a keyboard stream unless the user asks us
to do so.
However, all appearances to the contrary, "raw-text" does
not mean
"binary", it means "autodetect EOL." So if setting the EOL to -unix
makes sense, both of those should be "binary". (I would actually go so
far as to put all of the keyboard "binary". I'm pretty sure
autodetection fails in a uxterm.)
Hmmmm... the second column is Unix+EOL, which arguably should not be
used for keyboards at all. Even so, I'd feel better leaving it
"raw-text". I think you are right about the MSW column, though. That
should be "binary". But isn't "undecided-unix" right for the
MULE
variants, or do coding systems have nothing to do with input methods?
(Hopefully that question doesn't betray hopeless ignorance on my part!)
Bottom line, I'd like to hear from Ben, but if Steve Y makes an
executive decision to put this in it's OK by me.
I'd like to hear from Ben myself.
--
Jerry "Get me out of Kansas!" James
http://www.ittc.ku.edu/~james/