next up previous
Next: Administration Up: APS105F Home Previous: APS105F Home

For People with Floppy Disks

The Sun workstations in SF1106 have floppy drives. You can access the disk by using the Mtools utilities. To get more info, type the command
 
man mtools
 
to the unix prompt to get a list of all the commands. For example, the command
 
mcopy a:FOO.TXT unixfoo.txt
 
will copy a file from the disk called FOO.TXT to a unix file called unixfoo.txt.

DOS text files end a line with two characters <carriage return> and then a <newline>. The <carriage return> causes the cursor to move to the beginning of the line and the <newline> tells it to go to the next line. In unix systems, only the <newline> is needed to do both functions, so the <carriage return> character is not needed. To get rid of the <carriage returns>, you can run
 
dos2unix unixfoo.txt > fixedfoo.txt

It may not be necessary to do this for your Turing programs. If someone figures this out, please let me know. Thanks.



Paul Chow
Sun Dec 1 12:08:39 EST 1996