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

World: r3wp

[Linux] group for linux REBOL users

Robert
6-Oct-2008
[2364x2]
I just used command, not command/view. But OK I think it's the DRAW 
into-memory support.
Made it with GDB. ... Hacking around with the different path etc. 
solved it.
Kaj
6-Oct-2008
[2366x2]
If I remember correctly, the console REBOL versions need the X11 
libraries for image manipulation
This is indeed an important issue when integrating with console Linux 
server versions
Gabriele
7-Oct-2008
[2368]
more specifically, X libs are needed for rendering text.
Robert
7-Oct-2008
[2369]
Gab, thanks for clearifying. BTW: Is this somewhere documented? I 
think its a quite importan piece of information.
Gabriele
8-Oct-2008
[2370]
It may be noted in the command docs, but I'm not sure.
Pekr
8-Oct-2008
[2371]
Does REBOL work with Suse Linux? I can see Debian in the list, so 
I expect it to work with Ubuntu for e.g.?
Graham
8-Oct-2008
[2372]
I've had it working on OpenSuse
Kaj
8-Oct-2008
[2373]
If it doesn't work on any Linux variety, it depends on the age of 
the Linux system (C) libraries
amacleod
8-Oct-2008
[2374]
I think there is a list of needed lib files that some distros may 
not include in the basic install. I assume they can be added....
Graham
11-Oct-2008
[2375]
I need to restart cheyenne.  So, I login using ssh, and start Rebol 
and then cheyenne.  But once I close my shell down, Rebol also closes. 
 Anyone know how I can keep them running?
kcollins
12-Oct-2008
[2376x2]
Graham, follow the command with an ampersand, like so:
rebol script.r &
Tomc
12-Oct-2008
[2378]
man nohup
Graham
12-Oct-2008
[2379]
kcollins .. I tried that to detach the process, but it didn't seem 
to work.
kcollins
12-Oct-2008
[2380]
That was the first thing that came to mind, but I'm playing around 
with a similar scenario and it doesn't work for me either.
Graham
12-Oct-2008
[2381x2]
I'm going to research nohup
there''s also disown (pid)
kcollins
12-Oct-2008
[2383x2]
It looks like dtach can do what you need.
http://www.nslu2-linux.org/wiki/HowTo/KeepRemoteConsoleSessionRunning
Graham
12-Oct-2008
[2385]
have you tried it?
kcollins
12-Oct-2008
[2386x2]
yes
I just learned about it and tried it
Graham
12-Oct-2008
[2388]
like this 
dtach -A /tmp/mydtachsocket -z bash
kcollins
12-Oct-2008
[2389]
yes, then you can hit Control - \ to disconnect, and dtach -a /tmp/mydtachsocket 
to reconnect
Graham
12-Oct-2008
[2390]
oh .. no dtach ...
kcollins
12-Oct-2008
[2391]
what distro do you have? Debian?
Graham
12-Oct-2008
[2392]
Opensuse 10.0
kcollins
12-Oct-2008
[2393]
I haven't used that. Does it use yum as package manager?
Graham
12-Oct-2008
[2394x3]
yast
wow .. it has a text gui :)s
yast can't find it ...
kcollins
12-Oct-2008
[2397]
you could build it from source...it's documented on that page I linked
Graham
12-Oct-2008
[2398]
found a rpm, and it's working.  Thanks!
Robert
12-Oct-2008
[2399x2]
I have a problem with a CRON job. Running it by hand works, but it 
looks like it's not working if run via CRON.
How can I write some message to the system logfile from inside a 
shell script? Is there a command for this?
Henrik
12-Oct-2008
[2401]
http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html
Dockimbel
12-Oct-2008
[2402]
Graham: I have no problem launching Cheyenne from ssh. I'm always 
using the binary version : ./cheyenne &
Graham
12-Oct-2008
[2403]
Your binary doesn't work on OpenSuse.  I get encapsulation errors.
Dockimbel
12-Oct-2008
[2404x2]
That's strange. Can you show me what : ldd cheyenne returns ?
Btw, did you tried with : rebol -qws cheyenne.r & ?
Graham
12-Oct-2008
[2406x3]
hang on ... I have to login via putty
hmm.  didn't give me any message via ssh
here's ldd 
http://screencast.com/t/MnsrSebIz
ie. I ran ./cheyenne and just got nothing ....
Dockimbel
12-Oct-2008
[2409x2]
If you're on Windows, you can use the SSH Secure Shell client for 
Windows (nice GUI) : http://charlotte.at.northwestern.edu/bef/SSH/SSHSecureShellClient-3.2.9.exe
Are you using sudo to launch cheyenne with root privileges ?
Graham
12-Oct-2008
[2411]
yes.
Dockimbel
12-Oct-2008
[2412]
http://www.rebol.net/cgi-bin/rambo.r?id=4306&
Graham
12-Oct-2008
[2413]
I'm listening on port 8001