> Okay, now I'm curious. What are the
differences?
[among the various VTxxx's flavours of wrap]
> My mental model of VT100-family autowrap is [...]
That's correct, but the funny part is what
unrelated stuff causes the
"wrap" flag to get cleared.
Ooh, right.
I'm particularly curious because I have a terminal emulator which,
among other things, can be told to emulate something moderately close
to a VT100. I'd like to get its wrapping behaviour right; this
complicates the question because now I have to decide what I think
"right" is. :-)
Seems like no big deal, but the VTTEST package (at
least the version
I've tried) expects VT102/VT220 behavior and pronounces the actual
DEC VT100 (and anything that emulates its wrap behavior) as unworthy,
which takes a certain amount of chutzpah.
Indeed!
A quick look at my code indicates that I don't quite do any of those.
The only thing I see explicitly clearing the "wrap now" flag is tab,
and, more importantly, if I'm reading the code right then the flag
takes effect even when the character being written isn't going into the
rightmost column.
I should have a closer look. Thanks for explaining!
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B