[comp.sys.mac] colordesk

bh11+@andrew.cmu.edu (Braddock John Hathaway) (11/13/89)

Hi!

I've been using ColorDesk for a little while, and I have
a couple of questions:

1) Some of the pictures don't want to use the standard color
setup that the rest of the mac is happy with (they look a
little off kilter).  Is there any way to get the 256 colors
that the mac is accessing to be the colors that the pictures
would like to use?

2) I just tried to get some giles from sumex-aim.stanford.edu,
and colorpics-part1.hqx (as well as parts 2 and 3) do not un-
bin hex properly!  One gives out an end of file error, and the
other two give "end of checksum" errors (as well as showing
seemingly random file types as opposed to the SIT file type).

Any ideas on either of these?

Thanks,

Brad

nf0i+@andrew.cmu.edu (Norman William Franke, III) (11/13/89)

>2) I just tried to get some giles from sumex-aim.stanford.edu,
and colorpics-part1.hqx (as well as parts 2 and 3) do not un-
bin hex properly!  One gives out an end of file error, and the
other two give "end of checksum" errors (as well as showing
seemingly random file types as opposed to the SIT file type).

You have to concatenate the different parts into one file, so your
binhqx program can convert the file properly. You can do this with a
word processor, like MS Word, (just make sure you save it as a TEXT
file) or use a program. There are many programs to do this, Unity 3.1.1
does this, just to name one.  Another alternative is to do it on an
Andrew workstation using either bhcom or mcvert, however, using the Mac
is probably easier.

-Norman Franke

jason@ux1.cso.uiuc.edu (11/18/89)

When implementing a color desktop:

>Is there any way to get the 256 colors
>that the mac is accessing to be the colors that the pictures
>would like to use?

     There is an init package available from the info-mac/init/ subdirectory
at sumex-aim.stanford.edu called deskpict-package.hqx which includes DeskPICT,
an init which will use an image in startup screen format to make a desktop
background, and another init which will adjust the system colors to match
those used for the desktop image.


Downloading a segmented file:

>I just tried to get some [files] from sumex-aim.stanford.edu,
>and colorpics-part1.hqx (as well as parts 2 and 3) do not un-
>bin hex properly!  One gives out an end of file error, and the
>other two give "end of checksum" errors (as well as showing
>seemingly random file types as opposed to the SIT file type).

     BinHex needs all parts of the file to be put together before it can
successfully decode the file.  The separte parts can be strung together with
the cat command before downloading the file.  The syntax is:

              cat part1 part2 ... lastPart > [name of complete file]

The complete file can then be downloaded.  This method of concatenating files
before downloading saves the hassle of perfoming the same task manually with
a word processor, which will probably get bogged down when trying to manipulate
excessively large documents.

     To eliminate "random" file types, check the beginning of the file
(preferably before downloading) for informative header information like, "This
file must be decoded using BinHex 4.0."  A genuine BinHex'd file will begin
with a colon (:), so delete everything before the first line beginning with a
colon.  If the file was uploaded properly and subsequently downloaded properly,
it should then decode smoothly.



   |  |    |====================|
   |  |    | Jason Watts        |
 \ |\ |\ \ | (zaphod@uiuc.edu)  |
  \| \| \|\|====================|