#: 9060 S3/Languages
08-Jan-91 05:36:01
Sb: #9057-#'C' help
Fm: James Jones 76257,562
To: Jim Peasley 72726,1153 (X)
No, I can't think of any reason for redirection would do that. I lack
experience with doing window-related stuff, so about all I can say is that
folks have had trouble, or said they've had trouble, with situations in which
they have emitted escape sequences containing CR because for some reason (if
they use C standard I/O, it will happen for SCF devices) I$Writeln is used to
write the data instead of I$Write, because in that case they got an extra LF.
If that is what is happening to you, then the only solution I know of is to set
the _RBF bit in the _flags field in the FILE structure that you're using before
you do any output, since that will force it to use I$Write. This,
unfortunately, also means that you'll have to explicitly emit LFs after CRs
that you want to have LFs following, since SCF doesn't distinguish between CR
as part of an escape sequence and other CRs (which is kind of a shame).
There is 1 Reply.
|