home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp48 / 6914 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cj531
  2. From: cj531@cleveland.Freenet.Edu (Ali Momeni)
  3. Newsgroups: comp.sys.hp48
  4. Subject: Re: INIT for HP48?
  5. Date: 12 Jan 1993 04:09:53 GMT
  6. Organization: Case Western Reserve University, Cleveland, Ohio (USA)
  7. Lines: 21
  8. Message-ID: <1itgahINNejt@usenet.INS.CWRU.Edu>
  9. NNTP-Posting-Host: hela.ins.cwru.edu
  10.  
  11.  
  12. One REALLY easy way to do it, which may actually be done with user RPL is
  13. to have a program named, say, ->OFF, which look something like this:
  14. << ...                    
  15.    OFF                #turn the hp off
  16.    HOME init            #goes home, and runs the program 'init'
  17. ...>>
  18. If you asigin this too blue-ON for the USER mode keys, everytime you turn off,
  19. the hp would "wait" 'till it's on agian and then run the rest of the program.
  20. I've tried this and it works.  I'm sure there is a better way to do this
  21. with Sys. RPL or ML (like the Gateway library), but this is pretty simple.
  22. Now, while we are at it, MY problem is:
  23.     I want the hp to run a program every time a system halt occurs.  I
  24.     tried making a library with the $CONFIG file being more program, or
  25.     some other program that runs my file, but STRANGE things happen.  
  26.     For instance, I couldn't get it to go to USER mode by saying
  27.     '-62 SF'.  Furthure more, sometimes, the how $CONFIG was ignored!
  28.  
  29. Well, I tried.  Any suggestions?
  30.  
  31. ali.   momeni@vu-vlsi.ee.vill.edu
  32.