World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
Kaj 30-Jun-2009 [2991] | I haven't used it myself, but people use the screen program for such things |
Janko 30-Jun-2009 [2992x3] | hm.. screen? I will look it up, haven't heard of this one .. |
wow .. screen alows me tu have multiple sessions in one ssh window.. like in local linux .. I needed that badly !! .. | |
but I am not sure it's intended for what I described above .. basically running apps in background -- so they run (for days and weeks) after I close the ssh | |
Kaj 30-Jun-2009 [2995x2] | You can use screen to detach a session and reconnect with it later, possibly from an entirely different machine |
Another way is to have the program detach itself, possibly switching to running onder a different user account | |
Graham 30-Jun-2009 [2997] | http://rebol.wik.is/Hylafax/Dtach |
Janko 30-Jun-2009 [2998] | Kaj , thanks .. it seems screen is very beneficial tool for working on ssh , I will start learning and using it |
Kaj 30-Jun-2009 [2999] | The link in Graham's article is good |
Janko 30-Jun-2009 [3000] | yes, I am just reading it , it shows all these options .. Graham thanks |
Paul 30-Jun-2009 [3001] | Yes, Janko, use screen. That is what I did for my Tretbase DBMS awhile back. |
Janko 30-Jun-2009 [3002] | I am using drach now and works very nice ... but screen is awesome tool to and I will use it in general sshing now (thanks Graham! I added dtrace sample to that wiki) |
Tomc 30-Jun-2009 [3003] | the command "nohup" may still exist and be usefull |
Janko 30-Jun-2009 [3004x2] | yes, nohup is very usefull too , with & .. for example nohup some-longer-tast & .. but for my concrete example I wasn't able to figure out why rebol script terminated after a while, not on every exit but at some point I just saw it wasn't running any more .. and by the look of nohup.out file there was no error .. but "rebol terminated" |
tast = task | |
Graham 30-Jun-2009 [3006x3] | Janko, it's just that everytime I learn something that I know I will forget .. I write it in a wiki somewhere :) |
the freely hosted mindtouch wiki that I use is convenient for things like that. ... | |
So, instead of storing the information in my head, I just store the pointer to it instead :)) | |
Maxim 30-Jun-2009 [3009] | funny use altme for that :-) posting stuff to myself. |
Brock 30-Jun-2009 [3010x2] | I use Carl's Rebodex.r program with some minor modifications. |
what I am missing is a synch with a server so I can always have the same info everywhere... which AltME works nice for as would the wiki. | |
Gabriele 1-Jul-2009 [3012x4] | Janko, basically the thing is, if you want to see the program's output, you need to use screen. This allows you to have output and detach it. Otherwise, you can just redirect the output to a file (or to /dev/null), then you can exit your ssh session without problems. |
eg. rebol myscript.r </dev/null >/dev/null 2>&1 redirects everything. | |
i'm not sure if it's installed by default anymore, but there also used to be a "nohup" program which would redirect your program's io and detach it (run it in the background). | |
(which is basically equivalent to rebol myscript.r </dev/null >somefile.log 2>&1 &) | |
Janko 1-Jul-2009 [3016x3] | Graham: .. and it can also help others like in this case .. as I said above I have the wiki for exactly this thing linux commands because I use them just enough so I keep forgetting the more tricky ones http://www.manage-websites.com/doku.php?id=tutorial-linux-shell <-- here they are |
Gabriele: I was using nohup like this >> nohup /.../rebol script.r & << but at 2 times rebol script got terminated for some reason after a while.. it did stay alive after I closed and reopened ssh but when I came later it wasn't running any more and by looking at output file nohup.out last thing was "rebol terminated" so it didn't exit on error but got terminated in the same way if I press Ctrl+C (maybe I just need to read more about nohup) | |
now it works with dtach and it works ok so far | |
Gabriele 2-Jul-2009 [3019] | Janko, it's hard to say what could have sent a sigint or similar to the rebol process. you could though catch those signals from REBOL if you wanted, via the system port. |
Ashley 22-Jul-2009 [3020] | What distro works best with sdk-2706042.tar.gz "out of the box" (with regards to rebview and fonts)? I just need something I can quickly install under VirtualBox and do some basic cross-platform REBOL GUI development/testing ... without having to hack it to make it work. |
Graham 22-Jul-2009 [3021x2] | Ashley, Ubuntu works fine .. you just have to specify the full path to any fonts you use if using AGG fonts. |
I think I had to also change the default font used for RebGUI. | |
Ashley 23-Jul-2009 [3023] | OK, so I've downloaded Ubuntu 9.04 (64bit) and got it running under VirtualBox, then I download and untar/zip the REBOL SDK and open a console session. cd to the REBOL dir and do a chmod +x and type ./rebview ... which comes back with a "file or dir not found message" ... anything else I need to do to get REBOL working? Oh, and what font looked best with RebGUI in your opinion? |
PeterWood 23-Jul-2009 [3024] | If I remember correctly you have to install some 32-bit libraries to run Rebol on 64-bit Linux distros. |
Ashley 23-Jul-2009 [3025] | Uh, or use the Ubuntu 32bit distro instead? |
PeterWood 23-Jul-2009 [3026x2] | This ML thread may help |
http://www.rebol.org/ml-display-thread.r?m=rmlYJZC | |
Ashley 23-Jul-2009 [3028] | Thanks, after reading that I think using the 32bit distro is the easiest solution. |
PeterWood 23-Jul-2009 [3029] | It does sound like it. I have no problem running Core or View on Ubuntu 32-bit but I've only just moved to 8.10 from 8.04 |
Anton 23-Jul-2009 [3030] | 23-Jun-2008 Got BROWSE to work on Rebol/View 2.7.6.4.2 Used strace to see what files rebol does strace -o strace-output ./rebview2.7.006.4.2 Rebol looks for: /usr/bin/netscape /home/anton/.netscape/preferences.js /home/anton/.netscape/lock None of which exists, so.. Created symbolic link "netscape" pointing to "firefox" cd /usr/bin sudo ln -s firefox netscape The above did not help. >> browse "google.com" sh: Syntax error: Unterminated quoted string This does though! >> browse "http://google.com^(22)" Maybe I don't need the symbolic link? Remove the symbolic link. sudo rm /usr/bin/netscape Rebol does not like that ! >> browse "http://google.com^(22)" sh: /usr/bin/netscape: not found Restored the link. sudo ln -s /usr/bin/firefox /usr/bin/netscape |
Alan 24-Jul-2009 [3031] | I am using Ultimate Extreme-a custom Ubuntu-under VmPlayer and installed View. It works fine. Then I emailed my license and put it in the root of .rebol but when I start View it does not see the license ? Ideas ? Thanks ! |
Graham 24-Jul-2009 [3032] | why do you need a license for rebol? |
Alan 24-Jul-2009 [3033] | Well for Linux, not really but Windows,yes. Just wondering why it does not show as registered on Ubuntu ? |
Gabriele 24-Jul-2009 [3034x2] | Ashley, normally Ubuntu has the 32bit libs installed by default - REBOL worked out of the box for me here. |
In any case, it's easier to do a "sudo apt-get install ia32-libs" than do a new installation, no? :) | |
Ashley 25-Jul-2009 [3036] | OK, I've got it running under a clean install of Ubuntu 32bit. Now, how do I determine what scaleable fonts REBOL can actually use? (%/usr/share/fonts/truetype/freefont/ doesn't seem to have all that many ... and they look pretty ordinary atsize: 72). |
Gabriele 25-Jul-2009 [3037] | Are you talking about AGG or standard View text? For the latter, anything that X can use REBOL can use, in principle at least. For the former, I think any TTF file will work (notice that you can install the MS Core Fonts package). |
Ashley 25-Jul-2009 [3038] | The later. Windows fonts are easy enough to find (c:\windows\fonts) as are Mac (/System/Library/Fonts & /Library/Fonts) ... I was hoping there was a simple "they're located here" equivalent for X11-based *nix. |
Graham 25-Jul-2009 [3039] | if you add fonts I believe you have to rebuild the font map ie. fonts can be scattered over different directories. |
Ashley 25-Jul-2009 [3040] | All I want is a simple way of finding out what fonts REBOL can access on a clean install of Ubuntu. |
older newer | first last |