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