Warning - This section is still not bug proof.
SIMPLE
SIMPLE is the SIMPLE minded Tcl/Tk script that allows the user to copy any files onto CDROM at Narrabri.SIMPLE is not simple to use.
SIMPLE takes the contents of the destination listbox, assembles it into the format required by the CDROM writer, then calls archiver to create the CDROM
The script is activated from the Launcher menu on VLADIMR (the SPARC
station next to the CDROM writer). This will give you a display simular
to this:
Overview of Procedure
- Allocate a disk partition, on which to assemple the data you want to copy.
- Assemble the files in the destination listbox of SIMPLE.
- Create the Name Table - essentially an index file, that maps between the files and their names.
- Make the CD.
- Make the label.
- Deallocate Root.
- Exit Program.
Allocate a Disk Partition
The Allocate/Deallocate button in the Allocated Partition section of the window causes a partition on Vladimir's disk to be allocated for your task.The button label is a description of what can be done, i.e. when no disk partitions have been allocated, it will say "allocate", and if there is a partition of disk allocated, it will say "deallocate".
You will not be able to manipulate the destination listbox, from within SIMPLE, until you have allocated a partition.
When the disk partition has been allocated, the UNIX directory name is written next to the button.
Assemble files in the destination listbox of SIMPLE
SIMPLE does not clean up when you exit from the program, so it is quite likely that there will still be files in the partition from the previous user. If necessary, old files can deleted by clicking on the offending file(s) with the right mouse button, and choosing delete. A pop-up box will check what is really required. IMPORTANT Do not try to fit more than 600 Mb onto
your CDROM.
Though you may be able to fit a few more Mb onto your disk, if you use
more space than is available there will be no error messages, but your
disk will be unreadable.
Assembling files in the destination listbox can be done in a number of ways, by where your source files are. If your files are:
- On ATRIA
- In the source listbox, double click on
vms/
(be prepared to ignore errors whinging that some disks no longer exist - that's true, just continue at this point.) - Double-click on
atria/
- On
data/
- Select with the right mouse button the files that you wish to copy and transfer them to the destination listbox. A status box will show the status of the operation.
- In the source listbox, double click on
- On KAPUTAR
- Either:
- In another window, use FTP to transfer the files to destination area.
- In the source listbox, use the left mouse button to double click on /DATA,
- On KAPUTAR_1 (or KAPUTAR_2)
- Continue until you get to the appropiate directory
- Transfer the data to the destination list box, by clicking with the right mouse button on the file that you want to archive, and then select transfer.
- Either:
- On a CDROM
- Load CDROM into the CD drive (located on the right-hand side of VLADIMIR)
- In another window, mount it using the command:
% cdswap
This will actually eject your disk (the command is both for mounting and dismounting CDROMs), push the tray back in and wait until status light has stopped flashing, then send a < CR >. - Either:
- In the source listbox, double-click on
/cdrom
to view the contents of the CD. - Transfer the data to the destination list box, by clicking with the right mouse button on the file that you want to archive, and then select transfer.
- Use UNIX to transfer data to the destination directory,
e.g.
% cp /cdrom/DATA/filename(s) /data/cdrom0/DATA
- In the source listbox, double-click on
- On an Exabyte
- Load exabyte into the VLADIMIR exabyte drive - wait for the load to finish, and status light to stop flashing.
- Either:
- Choose the exabyte button (just beneath the allocate/deallocate button) on SIMPLE. Be prepared to wait while SIMPLE checks all the headers on the exabyte.
- Choose explicitly the files that you want. This is a painful process, as it takes a minute or so to find the next file header, and considerably longer to actually transfer a file to the destination listbox.
- Use UNIX to transfer data to the destination directory,
(indicated next to the 'ALLOCATE' button)
e.g.
% cd /data/cdrom0/DATA
% ansitape xv mt=/dev/rst0 '*'.c123
copies all the .c123 files to the partition used by SIMPLE#1
(Black magic incantations to try if you have problems with this include:
% setenv TAPE /dev/rst0
)
% mt rewind
As is probably fairly obvious, using SIMPLE for this is fairly painful!
Generate Label Information and Create the Name Table
- Label Information
Click in the Class box of the Output
Volume Information section of simple
with the right mouse button.
If your data is RPFITS data files, choose exports . This mode assumes that the data will be in the /DATA directory of your allocated root:
/DATA/RPFITSFILE1 RPFITSFILE2 RPFITSFILE3 ... /NAMETAB.DAT
If your CD is not RPFITS data files, choose other
Fill in the rest of the fields in the Output Volume Information section (the operator field doesn't perform any particular operation).
SIMPLE will suggest a volume label for you if you click with the right mouse button in the volume label field.
You can force line feeds in the comments field with a
/n
(simple will automatically wrap long lines) - Name Tables
Essentially, the name table allows you to read the filenames on either a DOS machine or a UNIX one. This is a good thing, but may not be necessary for your purposes.If you are going to be reading your data only on an UNIX machine, choose the rockridge extensions option.
If you are likely to be reading your data on a PC choose the ISO9660 option (This assumes that all filenames are 8.3 filenames, use alpha-numberic characters only, and have no extension on directory names)
You will only be able to create a name table if your format is as described for the exports option in the class field. (see above)
Make the CD
Click on the GO button at the bottom of the simple window. If you havn't got a current nametab.dat, you will be asked if you want to create one, (see pervious section for information on what to do with thisMake the label
When the CD has been made, it will be left on the output spindle of the juke box. There is a unique serial number (and bar code) around the central hole. Collect your CD and place it on a jewel box insert.A pop-up window will ask if you want to make a label (in general you will). If you so choose, a mudmap of the CD label page will pop up, and you must choose a pair of label sections to be printed.
Find a label sheet, and orient it so that the DW logo and writing is right way up (the picture is non-ambiguous, the top left section is curved.)
Choose an appropiate pair with the mouse, and press the print button which will submit the print job
Take your sheet to the colour printer, wait for the manual feed light to come on, then insert it into the sheet into manual feed hopper (at the back of the top of the printer), so that the red orientation writing is at the top.
Peel off the sticky labels and apply to your CD - make sure that the writing on the CD not mirrored (ie that you are sticking the labels on the back of the CD). Use the guiliteen to chop the front and back covers to size to fit in the jewel case.
Deallocate Root
Leave the disk partition available for the next person (or archive) by clicking on the Deallocate Root Button.Exit Program
Use the EXIT button. The program will check with you that you really want to exit, if you still have a root allocated.Original: Unknown (2-FEB-1995)
Modified: Robin Wark (4-MAR-1997)