CompuServe Thread

#Msdos vs AmigaDos

6 messages in this thread
#31710From: Steve SetzerAug 13, 1991 4:35 PM
Could some one settle an argument we are having at our local users group…In text files Amiga vs MSDOS does the amiga provide linefeeds-carriage returns and MSDOS just carriage returns or vice versa? Just what is the scoop on text file conversions between amigados and msdos with linefeeds and carrige returns? Thanx in advance Steve Whap!ping from beautiful coastal South Carolina
#31721From: Harry CallesisAug 13, 1991 7:24 PM
Steve – MSDOS puts CR/LF in the file, AmigaDOS uses just LF. I (and probably every above-novice programmer here 8^) ) have a small program I wrote that goes into the file and strips out the CRs. Another neato thing I recently discovered is, if you have an MSDOS text file that's ZIPed, you can use UnZip (in the LIBs here, I think) with a -a option and it'll convert the files while it's unzipping. Simple, but very useful. Harry
#32068From: Tom WaznisAug 16, 1991 10:32 PM
Speaking of ms-dos…I have had two people ask me this week if there is an ms-dos program that would allow them to read Amiga 880k disks Come to think of it; as a sometimes msdos user, I could use one of these too. Have you ever heard of such a program? I would look in the ms-dos forums but haven't a clue where to start.
#32160From: Betty Clay/SYSOPAug 17, 1991 10:01 PM
Tom, the MS-DOS forums have a file finder, so you should be able to search over there with AMIGA as a keyword. Betty
#32500From: Tom WaznisAug 20, 1991 10:06 PM
Good idea! I'll try it.
#31767From: Mike ToddAug 14, 1991 3:26 AM
Steve The Amiga does it correctly according to the ASCII standard … it uses LF as the end-of-line. All files I've ever seen from a PC uses CR on its own, which is not ASCII standard. From an article by one of the ASCII "inventors": CR: moves active print position to the first position on the _same_ line. LF: moves active print position to the same position on the line below _OR_, if sender and receiver agree, this can be the first position on a new line in which case ASCII character LF is called NL. The best, I guess, would be CR/LF, then there is need for "agreement" between both ends since both codes have their original meaning. UNIX uses LF alone. As for converting, there are several conversion utilities around on Fish disks (and maybe even here in the Amiga libraries) … or you could write your own in C, Basic or whatever .. it isn't difficult. Mike (Whapping from the UK)