World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
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. |
Gabriele 26-Jul-2009 [3041] | a simple way from REBOL? you probably have to parse the fontconfig files. |
Reichart 26-Jul-2009 [3042] | (and all I want is the clean install of Ubuntu to use a good looking font) |
Ashley 27-Jul-2009 [3043] | OK, got it working on Ubuntu (and Mac) with: fonts: copy [] foreach [font-name style] parse/all (call/output "fc-list" s: copy "" s) ":^/" [ all [ not find fonts font-name (size-text make face [text: "A" font: make face/font [name: font-name size: 10]]) <> size-text make face [text: "A" font: make face/font [name: font-name size: 12 style: 'bold]] insert tail fonts font-name ] ] sort fonts |
Anton 27-Jul-2009 [3044x3] | Nice one. |
Do you say that the above code works on Mac as well as Ubuntu ? | |
It seems to work well here on my older Kubuntu 7.10 32-bit. | |
Ashley 27-Jul-2009 [3047] | Should work on any *nix based distro with X11/fontconfig installed ... which is about as close to a "standard" as I've come across in *nix land! (and yes, Mac is *nix for this purpose). |
Anton 27-Jul-2009 [3048] | That's not a bad little piece of code then. |
Graham 2-Aug-2009 [3049] | Anyone know of any issues getting the time and date under Wine? |
Kaj 3-Aug-2009 [3050] | AltME is not doing it right, in any case |
Graham 3-Aug-2009 [3051x2] | I've got a user reporting that my app under puppylinux is reporting the wrong time when compared vs NIST time. |
Perhaps the easiest thing to do is to redefine NOW based on a NIST offset. | |
Anton 14-Aug-2009 [3053x2] | Woohoo! Just came across a way to make Ctrl-V work in the bash shell. You need 'xclip' installed. To install, I did $ sudo apt-get install xclip then I pasted Josh Triplett's nice short code at http://bash-hackers.org/wiki/doku.php/snipplets/xclip into the bash shell, and then Ctrl-V started working! |
Ahh, pity it doesn't seem to work in the rebol shell... | |
Dockimbel 14-Aug-2009 [3055] | Maybe you could write a simple proxy for system/ports/input, catch CTRL-V then redirect clipboard:// content to console? |
Izkata 14-Aug-2009 [3056] | Any particular reason middle-click wouldn't work? |
Anton 15-Aug-2009 [3057x2] | Doc, yeah I was wondering about system/ports/input... Izkata, middle-click doesn't access the same clipboard. |
Actually, it looks like read clipboard:// accesses the same clipboard as middle-click, which is better than nothing, but still doesn't make it perfect... | |
older newer | first last |