Re: GCIC Fullscreen applications - Update

"Rocky" <[email protected]>
Newsgroups gmane.comp.emulators.hercules390.vm
Message-ID <[email protected]>
IND$FILE question!
 
The upload function is working fine  on VM/370.
 
I have been rather busy the last week and I did not have much time finish it
properly and put it on the server ..
 
But I ran some tests this evening  and found an issue that I'd like some
input on from the Ccommunity.
 
 
CR LF
 
The real IND$FILE recieves  a parameter CRLF which means that when you hit
the CRLF combination before the LRECL has been reached -  end the record,
Variable is stopped at that size fixed is padded with blanks to LRECL
 
Very useful feature for ASCII text files and variable length files. 
 
However the real program only recognizes the exact combnation as an end of
record.
 
I was uploading some "C" code that I downloaded from a non-windows paltfrom
and that code only has
the LF x'0a'.
 
The real IND$FILE does not see that as an end of record character and
strings the records together.
My emulation does the same currently.
 
Usually when that happened to me, I open the file in in some editor that has
a convert facility and after saving it has the CRLF
 
Question is:
 
Should I use the IBM logic or can I enhnace it by recognizing an LF or CR as
an end of line as well.
Not sure what all implications are for data from various platforms.
 
take into account that the parameters are usually built in in the emeulator
- some have a facility for additinal parameteres  some dont.
And we can;t reall change the emulator side - So we are stuck with the CRLF,
stirn as the parameter
Would be nice if we could use CR, LF or CRLF but we can't change all the
emulators - only the host behaviour
 
 
Roc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.