QNX 3.21 How to move a txt file to dos

My day start with someone asking for help with QNX and I was glad to be volunter

Then he ask me if was a QNX expert
:wink: I flexed my muscle with a big smile

When we got to the lab we log on the system and the greeting was
Welcome to QNX 3.21

Holy shi…

I hear about 4.22 4.23 4.24 4.25 6.0 …but 3.21 was in 1989 or so

Ok so the goal is to copy a few text file to a dos floppy.

I saw dosfsys and say to myself ‘this is it baby’ then I realized the directory dev don’t exist. :open_mouth: you have to use the command mount to see the device

1:/ floppy
2:/ hd

Confuse I decided to copy the file to QNX format and then use QNX 4.25
with (/dev/a)

fdformat 1.4megs
dinit 1:/
cp *.txt 1:/

Now guess what
QNX 4.25 can’t read QNX 3.21
and
QNX 3.21 can’t read QNX 4.25
:open_mouth:

:unamused: Tic tac tic tac

After a lot of struggle I found a command dfs

dfs start a=1
then I typed mount to see the device and a new one was created
a:/
1:/
ls a:/ (You must have a dos formated disk)
and then :laughing: i was able to flexed my other muscle.

I believe QNX become POSIX in 1994.

:slight_smile: indeed a heroic tale…someday a childerens book will be based on it and it will end happily ever after :smiley:

You can also use the command xlat to put the file into DOS format by changing the CR on the end of each line. Let me know if you want more details?

When we got to the lab we log on the system and the greeting was
Welcome to QNX 3.21

QNX 3.21 is QNX 2.21 running in protected mode. That’s right,
the original QNX ran in unprotected, real mode, which was all there was on a 8088 chip. One often overlooked impressive feat of QNX 1 and QNX 2 was that most executables could be run using the same executable in either mode. Drivers sometimes needed little fixit code that usually looked like, If version > 2 do something protected.

Now guess what
QNX 4.25 can’t read QNX 3.21

Well there is a driver to allow this. I think it was called Qnx2fsys

I believe QNX become POSIX in 1994.
[/quote]

QNX 4, and completely rewritten OS was POSIX. I forget the date.
QNX 2 stayed the way it always was.