<<<<< LEFT_CLEAN SUBROUTINE >>>>>>>>>>>>>>>>>>>>>

LNEXT

                                      

ONELCLEAN

                                      

   <<<<< TERMINAL SCREEN DRAWING SUBROUTINE >>>>>>>>

UTERMINAL

                 TERMINAL               

NEXT

 $V1$
                                        
 <<<<<<< Standout Line Procedure >>>>>>>>>>

HILINE

                                                                               
     <<<<<< TIME POSE SUBROUTINE >>>>>>>>>

PAUSE

 q - to quit, <CR> - to continue

PAGETURNER

 q - to quit, <CR> - to continue 
If they want to quit, do so

CLRINFLOPPY

                  

INFLOPPY

              
             
    Input     
    Media     
              
              

COMPUTER

 the small computer
                            
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
                            
=======
media 
drive
Your
Computer

OUTFLOPPY

              
             
   Output     
    Media     
              
              

LIGHT_ONE

 =======
floppy
 drive

INTO_COMP

>
=
>
=
>
=
>
=
>

FROM_COMP

>
=
>
=
>
=ls -l *
>
=
>
=
>
=
>
=
>

READ_INPUT

                                 
                                 

ACCEPT1

 $PROMPT$
 C:#A=#A+1
 That is correct!
 You've got it on the 2nd try.
 Good, you understand the concept.
 Please type
       $COMMAND$ 
 Please type
       $COMMAND$ 
 You will be helped this time!
                             

FORGET1

$PROMPT$$COMMAND$ 
$PROMPT$                            
 Observe the result above.

BOX

                          COMMAND                       

    <<<<<< REVIEW CLEANING SUBROUTINE >>>>>>

ENCORE

    <<<<<< CLEAN THE INSIDE OF BOUNDED ARE ONLY >>>>>

ENCORE3

 -------- THE SCRIPT BEGINS HERE ------------------

GO

 In order to duplicate magnetic media on your UNIX system you need:
      the source media,
      the computer, and
      another media large enough to hold data read from the source media.  
 Destination disks or tapes, must already be formatted and your computer 
 must be able to read the disks, tapes, or data cartridges.
 Because the procedure for duplicating media is identical with disks,
 magnetic tapes, and tape cartridges, for simplicity we'll use floppy disks.
 There are basically two methods for duplicating the disks:
   1.  On a system with ONE floppy drive, you must first copy
       the source floppy onto the hard disk (perhaps into /usr/tmp)
       and then from the hard disk onto the destination floppy using
       the cpio utility.
       the tar utility.
 cpio
 SYNTAX
     cpio  -[io]  [pathname]
 FUNCTION
     cpio copies in and out of file archives.
 OPTIONS/FLAGS
     -i      copy in, extracts from standard input, which is
             assumed to be the results of a previous cpio.

     -o      copy out, reads standard input for filenames and
             copies to standard output.  It is presumed that
             standard output will be redirected to a floppy
             or tape.

     -d      directories are created as needed for output.
     -c      writes header information in ASCII character
             form for portability.
     -v      Causes a list of filenames to be printed.

             For the floppy drive

             /dev/rsave1

          The command to read the floppy 
                   onto the hard drive would be

          cpio  -icdv  <  /dev/rsave1

          and the command to copy from the hard
                   drive to the floppy would be

          ls  |  cpio  -ocv  >  /dev/rsave1
 Let us use the cpio command
 to copy from the floppy to the
 hard disk on your system.  So
 please type:
     cpio -icdv < /dev/rsave1

 Now put another floppy of
 identical density that has       
 already been formatted into      
 the drive.

                                       


 Let us use the cpio command to
 copy from hard disk to the       
 floppy disk on your system.  So     
 please type:                     
      ls | cpio -ocv > /dev/rsave1 


XENTAR

  tar
 SYNTAX
     tar  [key]  [name ... ]
 FUNCTION
     tar saves and restores multiple files from an
     archive medium, which is typically a storage
     device such as a floppy disk, tape, data cartridge,
     or a regular file.
 OPTIONS

     c   -   creates, a new archive.  Writing begins at the
             beginning of the archive.  The command implies
             a rewrite function.

     f   -   causes tar to use the next argument as the name
             of the archive, rather than the default archive
             specified in /etc/default/tar.

     x   -   the named files are extracted from the archive.

     v   -   verbose, causes tar to display the name of each
             file it treats.

     b   -   causes tar to use the next argument as the
             blocking factor instead of default.  The 
             default is 1; the maximum is 20.
        For the floppy drive /dev/rfd048ds9
        For the tape drive /dev/rmt0


      The command to write the media onto the hard drive would be:

               tar xf /dev/rfd048ds9
               tar xf /dev/rmt0

      and the command to copy from the hard drive to the media would be:

          tar cf /dev/rfd048ds9 . 
          tar cf /dev/rmt0  . 
 Let us use the tar command 
 to copy from your media to the
 hard disk on your system.  So
 please type:
          tar xf /dev/rfd048ds9
          tar xf /dev/rmt0
 Now put another floppy or tape 
 of identical density that has
 already been formatted into the
 drive.
                                        
                                       




 Let us use the tar command to
 copy from your hard disk to the
 media in the drive.  Please type:
  tar cf /dev/rfd048ds9 . 
  tar cf /dev/rmt0 .