Nicolas Neuss writes:
> Raymond Wiker <Raymond.Wiker@...> writes:
>
> > I'm using Emacs (GNU Emacs 21.3.50) on my 1st-generation 12"
> > PowerBook G4, with SLIME and SBCL. Works great.
> >
> > I'm generally happier with XEmacs, but I like the fact that GNU
> > Emacs does not require X11 to run.
>
> What does this mean? Can Emacs use the native window system and XEmacs
> cannot? Or are you using it from a terminal (which XEmacs should be able
> to do as well)?
Yes, Emacs uses the native Mac Window system, which XEmacs is
unable to do.
> > The main difficulty for me was that I had to compile Emacs
> > from source, which means that it was not difficult at all :-)
> >
> > Note that SBCL has some issues with run-program (or child
> > processes, in general), probably related to the handling of SIGCHILD
> > (or U*ix signals in general).
>
> What are these issues? (I would need run-program soon.)
Up until a couple of weeks back, SBCL under MacOSX would
occasionally lose SIGCHLD signals. I found two workarounds for this:
1) Place a call to "sleep" at the end of run-program
(actually, I think this had the effect of waiting for the program to
finish; I would have discovered this if I head tested with something
that actually took longer than 0.5 seconds to run.
2) Add a call to get-processes-status-changes inside the loop
in process-wait (both are in src/code/run-program.lisp).
Lennart Staflin discovered that there was a mismatch in the
naming of a primitive function, which caused infinite recursion.
Fixing this meant that SIGCHLD signals would be delivered reliably;
unfortunately, it also meant that SBCL would break into the debugger
on delivery of a deferred SIGCHLD (I think). Christophe Rhodes thinks
this is due to a bug in the (low-level) code that handles defereed
signals.
The real solution would be to fix this, but in the meantime I
think it would be possible to simply ignore SIGCHLD, and call
get-processes-status-changes "manually" (or from process-wait, as in
(2), above).
More details in the sbcl-devel archives.
--
Raymond Wiker Mail: Raymond.Wiker@...
Senior Software Engineer Web: http://www.fast.no/
Fast Search & Transfer ASA Phone: +47 23 01 11 60
P.O. Box 1677 Vika Fax: +47 35 54 87 99
NO-0120 Oslo, NORWAY Mob: +47 48 01 11 60
Try FAST Search: http://alltheweb.com/
|