On Wed 15 Feb 2006 10:08, Derek Peschel <firstname.lastname@example.org> writes:
> On Wed, Feb 15, 2006 at 09:52:02AM +0100, Eric Knauel wrote:
>> Ah, I just realized that I didn't mention the third patch in Commander
>> S's README that is needed to fix an off-the-shelf scsh 0.6.6. Here it
> And at that spot I see an empty attachment. Please send the patch
RCS file: /cvsroot/scsh/scsh/scsh/scsh-interfaces.scm,v
retrieving revision 22.214.171.124
retrieving revision 126.96.36.199
diff -u -r188.8.131.52 -r184.108.40.206
--- scsh/scsh-interfaces.scm 30 May 2005 12:59:05 -0000 220.127.116.11
+++ scsh/scsh-interfaces.scm 13 Sep 2005 13:14:16 -0000 18.104.22.168
@@ -437,9 +437,9 @@
- ;; JMG: this syscalls doesn't cooperate with the thread-system
+ ;; JMG: this syscall doesn't cooperate with the thread-system
- itimer ;; now defined in low-interrupt as a artificial interrupt
+ itimer ;; now defined in low-interrupt as an artificial interrupt
@@ -1061,6 +1061,9 @@
;; reexported from low-interrupt
>> Looks good. Installing Commander S will be easier once scsh 0.6.7 is
> By the way, do you know how to increase the default heap size in Scheme48?
> I tried something like "./configure CFLAGS=-DDEFAULT_HEAP_SIZE=6250000"
> (the exact line isn't in my bash history, it seems) and then "make" and
> "sudo make install" in the root of the scsh distribution.
Unfortunately, it's not that simple. Actually, the file "bin/scsh" is
a sh-script that runs the scsh virtual machine with a certain heap
image. To make the vm allocate more heap add the command line
argument "-h num" where num is the heap size in number of words to
that line. For 32 MB heap, the Makefile line looks like this:
echo 'exec $$lib/$(VM) -h 8388608 -i $$lib/$(IMAGE) "$$@"' \
However, if you want to run Commander S with more heap, you have to
modify its install.scm. The variable IMAGE-HEADER contains the exec
call for the scshvm, just add "-h num" there:
(format #f "#!~a/scsh/scshvm -h 8388608\\\n-o ~a/scsh/scshvm -i\n"
I think adding a command line option to the commander-s binary to
specify the heap size is a good idea. I'll try to do that.
> Then I reinstalled Commander-S. The warning from Commander-S still
> appeared. I do need to make sure old copies of things aren't
> hanging around (as I said, I'm still learning about the package
> system, and my previous builds may have left files in places I
> haven't cleaned out).
Which warning? The warning about undefined variables or the warning
concerning the heap size?
"Excuse me --- Di Du Du Duuuuh Di Dii --- Huh Weeeheeee" (Albert King)