[plt-scheme] Teach Yourself Scheme

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Jan 21 12:21:05 EST 2010

You can probably just say "while (1)" before the command, depending on
your shell.

Robby

On Thu, Jan 21, 2010 at 11:15 AM, John Clements
<clements at brinckerhoff.org> wrote:
>
> On Jan 21, 2010, at 9:01 AM, Eli Barzilay wrote:
>
>> On Jan 21, John Clements wrote:
>>> On Jan 21, 2010, at 5:13 AM, Eduardo Bellani wrote:
>>>
>>>>> http://li21-127.members.linode.com:8001/servlets/standalone.ss
>>>>
>>>> Looks down for me
>>>
>>> Grr. Up again.  Maybe this would be a nice time for someone to tell me how to start a server.
>>>
>>> /home/clements/full-4.2.4.1/bin/mred -uq ./first-applet.ss < /dev/null > /tmp/extra-log 2>&1
>>
>> Using mred is probably not a good idea -- unless you're using
>> something like VNC, then my guess is that it connected to your ssh's
>> forwarded DISPLAY, which disappears when you log out.
>
> I figured I needed mred for scheme/sandbox stuff, but I just tried it with mzscheme, and it works fine. Thanks!
>
> (FWIW, I did have a persistent vnc server process, and the servlet survived my logout, so that wasn't the problem.)
>
>> (And BTW, all those disown/nohup/etc things shouldn't be needed these
>> days.  But it is a good idea to have a loop that will start it if/when
>> it dies.)
>
> Simplest way to write that would be... another scheme process that starts the web server (using "system") synchronously in a loop?
>
>
> Thanks,
>
> John
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>


Posted on the users mailing list.