#Text File Problem
7 messages in this thread
I'm having some difficulty uploading a text file to another forum. I'm
trying to send a file to the rpgames forum and the sysop cannot mere the
file because it is not showing up with carriage returns. I assume that
this is because her computer is not registering the return code that the
Amiga uses.. Has anyone else ever had this problem?? If so, how could I go
about fixing the problem?? Any help would be appreciated..
Thanks..
Eric Hetzel.
– via Whap!
Eric,
MSDOS computers expect a carriage return-line feed combination at the
end of each line. Amiga uses only one of them (linefeed, I believe.)
Most Amiga wordprocessors supply the missing character when you select the
save text, or text only, options. If you tell us how you are preparing
the file (what wordprocessor, etc.), maybe we can help point you in the
right direction.
Bill, K3OZM
On AutoPilot
Bill,
That is exactly what is happening. I was told that the file contained
linefeeds only and no carriage returns. I used the Appetizer word
processor.. (You know, the one that comes with the computer.) I have Word
Perfect that I could use if you think it'll help. What do you think?
Thanks.. Eric.
– via Whap!
Eric,
I am not familiar with Appetizer. Never heard of it. 🙂
From WordPerfect, you need to do a little setup. First select 'DOS
TEXT PRINTER' as one of your printer selections. Set it up to print out
to a file. Then, you print your files out using that printer. The result
will be a file with the proper cr/lf pair for uploading. You will have to
rename the default filename to whatever you want to upload, but it is a
small sacrifice to make so people don't holler at you. 🙂
Bill, K3OZM
On AutoPilot
Eric,
Tell the sysop to simply bring the file into the CIS editor and
then save it via the MOD command available to sysops. No changes have to
be made to the file itself, simply bringing it into and then saving it out
will add the carriage returns.
Don
Eric,
If you'd like to add the carriage returns yourself, you'll find a
simple CLI program in the LIBS called Strip. It is very useful in that it
works both ways. It will ADD or STRIP, though its name kinda implies a
singular purpose. Here's its CLI template.
Usage is as follows:
STRIP <input file> <output file> <R or A or S>
where 'r' is remove C/Rs (AMIGA format)
'a' is to add C/Rs (IBM format)
's' is to strip leading spaces
STRIP.ZOO By: Brett Lathrope can be found in LIB 7 of AmigaUser.
A couple tips on its use. The ouput file name is a bit sensitive and I've
found it best to use a completely different name, rather than just adding
a number or a couple extra characters. Copy the file to be 'stripped'
first to the ram disk and CD to ram before you begin.
Hope this helps,
Chris