open in text mode (O_TEXT) (Developers)
Oh - I forgot to mention.
I previously mentioned that I created what I
consider to be a "port of MSDOS to the mainframe".
You can see that - zpg.zip at pdos.org
Well, it is working, but when I use the mfemul.exe
mainframe emulator, I would like to be able to go:
type temp.txt
(to access the EBCDIC FAT32 disk)
and:
type :temp.txt
(to access temp.txt on the host system, which will
be in ASCII)
So the program (pcomm/command.exe/com) that converts
the "type" command into an fopen with "r" (not "rb"),
needs to have that "r" (text mode) status carried
all the way through so that mfemul knows that it needs
to do an ASCII to EBCDIC translation in the process.
It's not just about CRLF vs LF as in Cygwin. It's now
about ASCII to EBCDIC conversion *as well*.
BFN. Paul.
Complete thread:
- open in text mode (O_TEXT) - kerravon, 24.02.2025, 04:19 (Developers)
- open in text mode (O_TEXT) - kerravon, 24.02.2025, 04:24
- open in text mode (O_TEXT) - tkchia, 26.02.2025, 16:30
- open in text mode (O_TEXT) - Rugxulo, 27.02.2025, 00:29
- open in text mode (O_TEXT) - kerravon, 02.03.2025, 01:30
- open in text mode (O_TEXT) - kerravon, 02.03.2025, 01:33
- open in text mode (O_TEXT) - tkchia, 03.03.2025, 15:09
- open in text mode (O_TEXT) - kerravon, 02.03.2025, 01:35
- open in text mode (O_TEXT) - tkchia, 26.02.2025, 16:30
- open in text mode (O_TEXT) - kerravon, 24.02.2025, 04:24