[comp.lang.scheme.c] scheme_suspend

pk@tut.fi (Kellom{ki Pertti) (03/20/89)

What is this 1meg thing that cscheme writes in my directory? Can I use
it for something (like make it come back live again) ? I'm using
cscheme under emacs on a sun.

Just curious.
--
Pertti Kellom\"aki (TeX format)                  Tampere Univ. of Technology
+358 31 228 197    home                              Software Systems Lab
+358 31 162 934    work (room L406)                        pk@tut.fi

jinx@CHAMARTIN.AI.MIT.EDU (Guillermo J. Rozas) (03/21/89)

Under what circumstances does it write it?
If it's an image dump, you should be able to specify it after the
-band option when starting scheme.

pk@tut.fi (Kellom{ki Pertti) (03/23/89)

In article <8903210342.AA08227@chamartin.AI.MIT.EDU> jinx@CHAMARTIN.AI.MIT.EDU (Guillermo J. Rozas) writes:
   Under what circumstances does it write it?
   If it's an image dump, you should be able to specify it after the
   -band option when starting scheme.

I get it once in a while, but I haven't been able to pinpoint the cause.
It seems that it has something to do with GNU Emacs killing the scheme process.
I tried to say 
                  % scheme -band scheme_suspend
but didn't get much out of it. Scheme was just silent for a while, and when I
finally got a prompt from it, it didn't know about any of the functions I had defined.
--
Pertti Kellom\"aki (TeX format)                  Tampere Univ. of Technology
+358 31 228 197    home                              Software Systems Lab
+358 31 162 934    work (room L406)                        pk@tut.fi

jinx@CHAMARTIN.AI.MIT.EDU (Guillermo J. Rozas) (03/23/89)

       Under what circumstances does it write it?
       If it's an image dump, you should be able to specify it after the
       -band option when starting scheme.

    I get it once in a while, but I haven't been able to pinpoint the cause.
    It seems that it has something to do with GNU Emacs killing the scheme process.

Scheme dumps a scheme_suspend band when it receives the Unix SIGHUP signal.
This is done so that when a connection is dropped, any work done in
the Scheme environment is not lost.

    I tried to say 
		      % scheme -band scheme_suspend
    but didn't get much out of it. Scheme was just silent for a while, and when I
    finally got a prompt from it, it didn't know about any of the functions I had defined.

As always, you can examine the environment by using the WHERE procedure.

(where)

enters the environment inspector.

pk@tut.fi (Kellom{ki Pertti) (03/31/89)

In article <8903222047.AA10533@chamartin.AI.MIT.EDU> jinx@CHAMARTIN.AI.MIT.EDU (Guillermo J. Rozas) writes:
   Scheme dumps a scheme_suspend band when it receives the Unix SIGHUP signal.
   This is done so that when a connection is dropped, any work done in
   the Scheme environment is not lost.

That sounds reasonable, thank you. I always suspected there's a
reason to everything.
--
Pertti Kellom\"aki (TeX format)                  Tampere Univ. of Technology
+358 31 228 197    home                              Software Systems Lab
+358 31 162 934    work (room L406)                        pk@tut.fi