[comp.sys.3b1] CPIO problem on 7300

zaft@.nswses.navy.mil (Gordon C Zaft) (03/01/91)

	Hi!  I just got my very own 7300 Unix PC (TM) up and running and
I'm having a great time snarfing software for it, etc.  HOWEVER--

	I ftp-ed a couple of software packages from osu-cis; specificlly,
mtools and compress; compress comes as a CPIO package but when I try to
un-cpio it by the command

	cpio -itv <compress.cpio  (just trying to see what's there)
I get an error message "Out of phase--get help".

	So, HELP!  Sorry if this is an obvious question.

Thanks.
--
+  Gordon Zaft                        |  zaft@suned1.nswses.navy.mil         +
+  NSWSES, Code 4Y33                  |  suned1!zaft@elroy.jpl.nasa.gov      +
+  Port Hueneme, CA 93043-5007        |  Phone: (805) 982-0684 FAX: 982-8768 +
** Ray Kaplan is a God! *** "Quoth the raven: Eat My Shorts!" -- B. Simpson **

jetfuel@babbage.csus.edu (Dave Jenks) (03/02/91)

In article <8178@suned1.Nswses.Navy.MIL> zaft@.nswses.navy.mil (Gordon C Zaft) writes:
>	Hi!  I just got my very own 7300 Unix PC (TM) up and running and
>I'm having a great time snarfing software for it, etc.  HOWEVER--
>
>	I ftp-ed a couple of software packages from osu-cis; specificlly,
>mtools and compress; compress comes as a CPIO package but when I try to
>un-cpio it by the command
>
>	cpio -itv <compress.cpio  (just trying to see what's there)
>I get an error message "Out of phase--get help".

Do this:

    $ file compress.cpio

If it comes back with ASCII cpio archive, you must specify the 'c'
option to cpio:

    $ cpio -ictv < compress.cpio
	     ^

If this didn't help, perhaps it was not ftp-ed correctly.  Did you
set binary transfer mode in ftp?  As I understand it never hurts to
do this, and is virtually the only way to get non-text data using
ftp (unless it's uuencoded).

When in ftp, do this:

    ftp> binary

ftp will make some comment to the effect that you are now in binary
transfer mode.  Re-snarf.

--Dave
--
=======================================================================
	    "Pro is to con, as progress is to Congress..."
>>-@@-> Dave Jenks              {uunet | ucbvax!ucdavis}!csusac!jetfuel
=======================================================================

zaft@spc1ed6.nswses.navy.mil (Gordon C Zaft) (03/03/91)

In article <1991Mar2.083703.27179@csusac.csus.edu> jetfuel@babbage.csus.edu (Dave Jenks) writes:
>In article <8178@suned1.Nswses.Navy.MIL> zaft@.nswses.navy.mil (Gordon C Zaft) writes:
>
>Do this:
>
>    $ file compress.cpio
>
>If it comes back with ASCII cpio archive, you must specify the 'c'
>option to cpio:
>
>    $ cpio -ictv < compress.cpio
>	     ^
>

	The -c option is exactly what was needed!  Problem solved!

	Thanks to Dave and also the several people who responded by e-mail.

	Now, I still need a Development Set, if anyone has one they want to
sell.....

	This is one nify machine.... I'm really very pleased so far.  Now if
I just had a 9600 baud modem....:-)
--
+  Gordon Zaft                        |  zaft@suned1.nswses.navy.mil         +
+  NSWSES, Code 4Y33                  |  suned1!zaft@elroy.jpl.nasa.gov      +
+  Port Hueneme, CA 93043-5007        |  Phone: (805) 982-0684 FAX: 982-8768 +
** Ray Kaplan is a God! *** "Quoth the raven: Eat My Shorts!" -- B. Simpson **