r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Oldes
8-Jun-2005
[75]
I added forever loop at the tail of the script so it's working now 
(as a server) but rebol stops when I exit the shell:(
Henrik
8-Jun-2005
[76]
background jobs are normally stopped in the shell they are run from, 
if that shell exits. I'm not sure what it takes to make a program 
run as a background job, though...
Oldes
8-Jun-2005
[77x2]
I thoght it's the nohup command but it stops anyway
I hope it's not rebol limitation
Volker
8-Jun-2005
[79]
How about running it from screen?
Oldes
8-Jun-2005
[80x2]
I would like to start a server
There is no screen
Volker
8-Jun-2005
[82x2]
starting screen as the server?
have not tried running completely in background yet.
Henrik
8-Jun-2005
[84x3]
have you tried using a shebang line at the top of the script and 
run the script directly as an executable script, rather than through 
the rebol executable?
(would make it slightly easier to manage)
http://www.jguru.com/faq/view.jsp?EID=472493<--- something about 
using SysV init here. putting the script in /etc/init.d would make 
it a daemon
Volker
8-Jun-2005
[87x3]
does this work?
  rebol -q \!scratch.r </dev/null >/dev/null 2>/dev/null &
this little loop stays running when i close the xterm
forever[
 write/append/lines %test.txt mold now
 wait 1
]
Oldes
8-Jun-2005
[90]
it's running: http://195.122.214.59/~hmm/flash-chat.html
Volker
8-Jun-2005
[91]
(oops, the "\!" is no special trick,  only escaping. test-file is 
"!scratch.r"..)
Oldes
8-Jun-2005
[92x4]
but now I tri to exit from shell...
...and the server is down
:(
which shell you are using?
Volker
8-Jun-2005
[96]
had tested in an xterm. thought closing that acts like a logout.
Oldes
8-Jun-2005
[97x2]
and which rebol version : my is: REBOL/Core 2.5.58.4.2
which is with async
Volker
8-Jun-2005
[99x2]
REBOL/Core 2.5.118.4.2 - no async.
that rebol works here to. also when i start it from real console 
and logout. did you try really try the redirects of stdin and stderr?
Tomc
8-Jun-2005
[101]
with REBOL/Core 2.5.6.10.1 on solaris I just  use a trailing &
Henrik
8-Jun-2005
[102]
nohup doesn't work here either...
Oldes
8-Jun-2005
[103x5]
I got it: http://lists.gnu.org/archive/html/bug-coreutils/2003-10/msg00032.html
I start a job and than use disown -h
than i exit and the process is still working
So I can test my micro chat : http://195.122.214.59/~hmm/flash-chat.html
disown -h <pid> where <pid> is the process ID :)
Henrik
8-Jun-2005
[108x2]
nice :-) works well and fast
timestamps would be nice...
Oldes
9-Jun-2005
[110x2]
I would like to make a IRC client from it as I have in rebol/plugin: 
http://oldes.multimedia.cz/rss/builds/irc-plugin/
But the flash client is now only 3kB and it's working in any browser 
not just in IE
shadwolf
9-Jun-2005
[112x3]
I would like to make a IRC client from it as I have in rebol/plugin:
Oldes you can retake rkini.r script for base your pluginised client 
...
kini is far from javaIRC client for example but It can be a good 
start
Oldes
10-Jun-2005
[115]
I already started 2 years ago with my irc-core-client :) I just would 
like to make it async, but don't have time now
DideC
4-Jul-2005
[116]
Are you all in holidays? It's quiet ;-)
eFishAnt
4-Jul-2005
[117x2]
4th of July (a good time for me to do project work) but wanted to 
say thanks for the Statue of Liberty you gave us many years back.
we shoot fireworks for a day, rather than shooting each other.
DideC
4-Jul-2005
[119x2]
Does anybody know (use!) Virtuozzo ?
It's a virtualisation server application.

I wonder if buying an hosting on this kind is a good solution to 
host Rebol CGI apps.
Steeve: lol !!
eFishAnt
4-Jul-2005
[121x2]
Josh is now in Bejing then to Yinchuan China, for 6 weeks on a mission 
trip, teaching English as second language, so I am without my best 
French interpreter.
Or I would ask him your question...but I think Sunada, yeksoon or 
someone like that would know, or Allen.
DideC
4-Jul-2005
[123]
Yes, not hurry. Don't bother.
yeksoon
4-Jul-2005
[124]
I use Virtuozzo