[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::amiga_v1

Title:AMIGA NOTES
Notice:Join us in the *NEW* conference - HYDRA::AMIGA_V2
Moderator:HYDRA::MOORE
Created:Sat Apr 26 1986
Last Modified:Wed Feb 05 1992
Last Successful Update:Fri Jun 06 1997
Number of topics:5378
Total number of notes:38326

1293.0. "arc or cvtarc help needed" by SMURF::HART () Mon Apr 04 1988 03:50

    I have just recently gotten an amiga 2000. I am now (unsuccessfully,
    so far) trying to copy interesting things I've found advertises
    in this notes file.  I am not familiar with VMS (or AmigaDOS yet)
    so please allow me a few questions that are due to my naivete.
    
    I copied the file juggler.arc to my directory and found that it
    was ok, using "arc t".  Because I have only been able to make
    kermit work so far, I converted juggler.arc with cvtarc and tried
    to copy to my amiga.  The file I received was no good.  I'm not
    sure what the problem was. I know that at least one of the 3 files
    in the archive was bad.  In any case, my disk got trashed and I had to
    ostart over again.  The trahed disk was my 40M hard disk, so now,
    a few days later, I am trying again - a bit more carefully.  
    
   My first guess was that maybe the large size of juggler.arc (~300K)
    was causing problems for OnLine!, kermit, or arc.  Two of the files
    transfered seemed to be ok, so I tried to dearc juggler.arc and
    sent the remaining file by itself.  This method did not work at
    all - nothing was ever sent.  I then thought that maybe I needed
    to archive the file to allow it to be sent.  I tried this with the
    following command:
    $ arc a jug.arc movie.data
    The response from this command was the following message:
    		ARC: File packed with -1 bits, I can only handle 12
    A file was created, however, but "arc t" didn't like it.
    
    Anyone know what this means?
    
    My next guess was that maybe line noise, or some other transient
    problem occured during my initial transfer.  I tried the initial
    transfer again from scratch.  (All 2 hoours of it) The results were
    similar on the amiga, but I copied to a floppy instead of my hard
    disk this time!  I then did "cvtarc v juggler.arc jug.far" and I
    tested the result with "arc t jug.far", but got the following message:
    		Warning file move.data fails CRC check
    
    Does this mean that cvtarc caused the problem by generating an
    invalid file on the VMS side?  
                      
    Finally, does anyone have versions of arc and cvtarc that will
    run on Ultrix systems?
    
    Rich Hart.
    
T.RTitleUserPersonal
Name
DateLines
1293.1Maybe Kermit ...CESARE::TAVERAMon Apr 04 1988 08:548
    Which program did you use for kermit transfer on the AMIGA
    side ?
    If it is Smokey, check if the transfer mode is IMAGE because I had
    a problem like that before and it was because the mode was settled
    wrong.
    
    Pier
    
1293.2set file type binaryMVCAD3::BAEDERD. Scott DTN 237-2961 SHR1-3/E19Mon Apr 04 1988 09:445
    also remember to tell kermit that the file type (on the vax side)
    		KERMIT> set file type binary
    
    could also be the "chopping" being done by the terminal prog...disable
    (if possible) for arc files.
1293.3Disk Really Corrupt?TLE::RMEYERSRandy MeyersMon Apr 04 1988 19:3336
Re: .0

>    to copy to my amiga.  The file I received was no good.  I'm not
>    sure what the problem was. I know that at least one of the 3 files
>    in the archive was bad.  In any case, my disk got trashed and I had to
>    ostart over again.  The trahed disk was my 40M hard disk, so now,
>    a few days later, I am trying again - a bit more carefully.  

I haven't seen ARC corrupt a disk before, but I have seen it crash the
machine if the .arc file was badly mangled.

If what happened was:

	You run ARC while connected to your hard disk
	It seems to process awhile
	Your system crashes
	When you reboot, your hard disk seems to hang when first accessed

Then you didn't really loose your disk.  When you first access any disk
volume, AmigaDOS does a quick check to make sure that the disk appears
to be in a reasonable, consistent state.  If the disk fails this quick
test, AmigaDOS will attempt to rebuild the allocated block bitmap for
the disk.

The above process is called disk validation.  The disk validator can
fix a floppy up in just a few seconds.  However, fixing a hard disk
can take several minutes (maybe as much as a half hour!).  (By the way,
the 1.3 fast file system validates a hard disk about 20 times faster
than the 1.2 slow file system.)

One way to cause the disk validator to have to repair the disk is to
crash the machine while it is in the process of writing to the disk.

So, if your disk corruption problem followed the scenario that I
described, the disk would have been repaired automatically if you
waited long enough.
1293.4BOMBE::MOOREclose B clothes mode on Deputy DanMon Apr 04 1988 20:574
    re: .2
    SET FILE TYPE BINARY should only be necessary when uploading files
    to the VAX.  The sender knows how to handle the file, it's only the
    receiver that needs to be told...
1293.5this works for me all the timeGLDOA::APPLEMANWed Apr 06 1988 18:3767
    HERE IS THE PROCEDURE THAT WORKS FOR ME, IT HAS BEEN USED MANY,
    MANY TIMES.
    
    1.  First, if you are connecting to the VAX via a terminal server,
    when you first connect and get the "Local>" prompt, type:
        Local> Set Port Local Switch ^A (^A means control-A)
    
    This will let you get back into the server after logging into the
    system.
    
    2.  Log into your account on the system.  If you are on a server,
    type "^A".  This will bring you back into the Local> prompt.  Type:
         Local> Set Session Passall
         Local> Resume Session
    
    This allows all characters to be passed through the server.  If
    you do not do this, some control characters may not be passed through
    and any binary file transfer will fail.
    
    3.  After resuming your session, type the following commands:
         $ Set Terminal/eightbit/nobroadcast
    
    This sets your terminal port to 8 bits (not really necessary for
    Kermit but it is for Xmodem) and prevents the system from sending
    any messages to your terminal during the download which would hose
    it.
    
    4.  On your Amiga Online! program, set protocol to Kermit, File
    Type to Binary and Auto-chop off.  (Auto-chop actually is not used
    on Kermit in Online, but set it off anyway).
    
    5.  On the file you wish to download, convert it to variable, 510
    bytes by the command.
         $ CVTARC V filename.arc
    
    Do this on all your files you download.  If you use Xmodem, use
    CVTARC U filename.  I run VMS ARC first to make sure that the ARChived
    file is good.  There are a lot of bad files out there on the system
    and there is no point in downloading them if they won't work.  If
    you do de-ARC them under VMS, you must convert them to Stream_lf
    using the CVTARC U filename command.  Don't forget to change it
    back to Kermit format when done.
    
    6.  You are now ready for the download.  Run kermit and type the
    following commands:
    
         Kermit>Set Delay 20 (sets the delay for download to 20 seconds)
         Kermit>Set File Type Binary (I always do this, needed or not)
         Kermit> Send filename.ARC
    
    7.  Select RECEIVE from the ONLINE! protocal menu.  Type in the
    destination drive and subdirectory in the requestor window.  You
    do not need to type in the filename as this is transmitted via Kermit.
    
    8.  The file should now download and de-arc without further problem.
     If you have a noisy phone line, you may get a bad download as I
    have read that Kermit error-checking is not all-inclusive.  Also
    note that not all downloaded files work.  There are some that don't
    but Juggler does.
    
    9.  When I de-ARC, I use ARC X filename.ARC.  This has always worked
    for me.
    
    Good luck.  I now use XMODEM as it is a bit faster.  If you want
    info on that, send me a VAXMAIL at USFSHL::APPLEMAN and I will send
    the procedures to you.
    
1293.6Trouble getting CVTARC to runPUGH::MCDONALDASat Oct 15 1988 13:304
    I'm having trouble getting CVTARC to run on this side of the pond.
    COPYing to my area from either TAPE or LEDS3 gives me access violation
    as soon as I try to run. Any ideas please ?
    
1293.7CVTARC WJG::GUINEAULost in the B-ZoneMon Oct 17 1988 10:3120
Don't RUN it. CVTARC needs to be executed as a "foriegn command".

First do this (in login.com if you don't want to do it every time):

	$ CVTARC  :== $device:[directory]CVTARC

	(ex.  $ CVTARC :== $user1:[guineau.amiga]CVTARC)
			   ^
			   |

			   Don't forget the "$"!!!

now you have a new command called, what else, CVTARC

now type:
	 $ CVTARC -u filename.arc or
	 $ CVTARC -v filename.arc

John
1293.8In need of a retread!PUGH::MCDONALDAMon Oct 17 1988 12:472
    Thanks. Trouble is I get all this Amy help and forget how good ole
    VMS does it!