[comp.sys.next] ViewGif

smithw@hamblin.math.byu.edu (Dr. William V. Smith) (05/30/91)

Does anyone have ViewGif running on 2.1 '040 machines??
Please tell my how you did it!
-Bill
--
EMail:  smithw@hamblin.math.byu.edu  or  uunet!hamblin.math.byu.edu!smithw
SMail:          Math Dept. -- 314 TMCB; BYU; Provo, UT 84602 (USA)
NeXTmail:                   bill@mathnx.math.byu.edu
Phone:            +1 801 378 2061         FAX:  +1 801 378 2800

jim@ljkiraly.lerc.nasa.gov (L J "Jim" Kiraly) (05/31/91)

In article <SMITHW.91May30082818@hamblin.hamblin.math.byu.edu> smithw@hamblin.math.byu.edu (Dr. William V. Smith) writes:
->Does anyone have ViewGif running on 2.1 '040 machines??
->Please tell my how you did it!
->-Bill
->--
->EMail:  smithw@hamblin.math.byu.edu  or  uunet!hamblin.math.byu.edu!smithw
->SMail:          Math Dept. -- 314 TMCB; BYU; Provo, UT 84602 (USA)
->NeXTmail:                   bill@mathnx.math.byu.edu
->Phone:            +1 801 378 2061         FAX:  +1 801 378 2800


I can't remember all that I did for sure.  The key things were to delete 
all of the source code lines which refer to [NXWait push|pop] in DecodeGIF.m
and replace the method in Animator which refers to the no longer used
_cvtToSel.

From:
===========================
- setAction:(SEL) aSelector
{
    action = 
    aSelector && !ISSELECTOR(aSelector) ? (*_cvtToSel) (aSelector) : aSelector;
    return self;
}

To:
===========================
- setAction:(SEL)aSelector
{
    action = aSelector;
    return self;
}

I think that was all.  I am not certain what was lost in changing the method
to the simpler form (which is also used in NextDeveloper/Examples/Toolinspector)
but it seems to work OK.  I have had no dumps, console messages etc.

--
___________________________________________________________________________
  Jim Kiraly  - jim@ljkiraly.lerc.nasa.gov  -  NASA Lewis Research Center
---------------------------------------------------------------------------