[comp.lang.pascal] Transfer UCSD files to ascii

jbm@math.camelot.DUPONTEOP.COM (Julie B. McDonnell-Software Development) (02/14/91)

Does anyone know how I can transfer a UCSD pascal text file
to an ascii file?  I created the file using the Psystem at
NCSU.  When I look at the directory, all I get is a smiley
face and a 0.  

Someone suggested that I print the file out to a file from
within the Psystem -- does anyone know how to do that?

I'm stuck!

Please reply to jbm@mv.dupont.com

Thanks,

Julie

miller@cogsci.ucsd.EDU (Jeff Miller) (02/15/91)

Sorry for the posting -- email bounced.

Julie,

It has been a while since I used the p-system, but maybe I can help a little.

You don't say what machine you are running the p-system on, but I presume
it is an ibm-pc.  When I ran the p-system on the pc, there was a special
program inside the p-system that could be used to copy a file to the
dos file system so that it would look like a regular ascii file.
Maybe this program is what you want-- I can't remember the name, but
it should be in the documentation.

Here is another option that might work if you have two computers:
Hook them together over their serial ports, and run kermit in dos
on one.  Set the session log option on, and it will automatically
write out any characters it receives to a disk file.  Then, go
to the machine running the p-system, get in the filer, and transfer
the file you want to the device called remout: (that is the serial
port, if I remember the name correctly).  The other machine, running
kermit, will catch the characters and save them for you.

There will be a few garbage characters at the beginning of each line,
because of the p-system's peculiar format, but it's files are basically
ascii so you will get pretty much what you want.

Good luck.  Try me again if you need to.

Jeff Miller
jomiller@ucsd.edu