World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
Andreas 2-Jan-2011 [4004] | locate(1), maybe? |
Robert 2-Jan-2011 [4005] | LOCATE was it... Thanks. |
amacleod 20-Jan-2011 [4006] | Just installed Zorin 4 (ubuntu based) and i'm having trouble getting R3 running. I assume I run it from the terminal but I get "commnad not found" error. Anyone know what I'm not doing? |
Henrik 20-Jan-2011 [4007] | probabily you need to add ./ in front of the command name |
amacleod 20-Jan-2011 [4008] | thanks henrik! |
Robert 25-Feb-2011 [4009x2] | Anyone using Dovecot IMAP mailserver here? I need to know if I can delete files on the filesystem from the mailbox dirs without bombing the mailserver. I have a couple of duplicate files I need to get rid of. |
Ok, Thunderbird and a plug-in is your friend. | |
GrahamC 25-Feb-2011 [4011] | I've setup dovecot twice ... but am not using it now. |
Andreas 26-Feb-2011 [4012x5] | gcc 3.4 first appeared in debian sarge (debian 3.1), afaict. if he's using anything older (woody, potato), he'll be out of luck. |
and if what he really needs is gcc 4.x, that first appeared in debian etch (debian 4.0). | |
http://archive.debian.net/search?suite=all&arch=powerpc&searchon=names&keywords=gcc | |
for your convenience, here's an archive.debian.org apt sources line for etch: deb http://archive.debian.org/debian/etch main non-free contrib | |
(for carl's convenience, rather :) | |
BrianH 2-Mar-2011 [4017x3] | Just redid my netbook with Ubuntu Netbook 10.10, and it works much better than in did with WinXP. Had to partition manually as the tweak to make the installer SSD friendly is still a proposal. R2 and R3 work, though (as someone used to the Windows versions) I am having trouble with the console not opening a terminal when prompted to. I guess the button in the R2 View desktop doesn't work. Time to figure out the application shortcut creation method for this distro. |
Yes, I'm aware of the irony that of all the things I could have trouble with, it would turn out to be the console that works better on Windows :( | |
Going to try AltME next. Are there any known problems with using the 1.2.21 Linux version? I seem to have no font problems in View... | |
Andreas 2-Mar-2011 [4020x2] | 1.2.25 works fine here. |
Regarding the console, fire up REBOL directly from a terminal and you'll be fine. | |
BrianH 2-Mar-2011 [4022x2] | The main problem is that the netbook versions of Linux are more GUI oriented, so the question is how to open REBOL by clicking on it. |
Do we need to get debs in the multiverse repositories? | |
Andreas 2-Mar-2011 [4024] | Creating a "Application in Terminal" type launcher should do the trick. |
BrianH 2-Mar-2011 [4025x2] | Ah, don't know how to do that yet :( |
At least not in the netbook distro. | |
Andreas 2-Mar-2011 [4027x2] | No experience with the netbook edition either, sorry. |
If the Unity launcher (at least I think that's how the launchbar in the netbook thing is called) still uses .desktop files, it's probably only a matter of finding the associated .desktop file and modifying it to use Terminal=true | |
BrianH 2-Mar-2011 [4029] | Or rather making associated desktop files. It turns out that the menu editor included is for the GNOME menu, not the Unity menu. There is no editor for the Unity menu. I'm going to try to figure out what needs to be done. |
MaxV 8-Mar-2011 [4030] | Did you try http://www.maxvessi.net/rebsite/Linux/?? |
ddharing 8-Mar-2011 [4031] | Does anyone do anonymous pipes with REBOL? I've found that when doing an "insert system/ports/output my-data", that it won't actuallly send "my-data" until you halt or quit. Is there a way to force it to send so the script can continue to do other things and send more data later? |
MaxV 8-Mar-2011 [4032] | call function is not eough? call "cp source.txt dest.txt" |
Gregg 8-Mar-2011 [4033] | Have you tried UPDATE? Not sure on anonymous pipes though. |
ddharing 8-Mar-2011 [4034x2] | Gregg, I tried that and it generates an error -- Cannot use updae on this type port |
MaxV, It is possible to use call, but then the scripit would be executing like CGI. I wanted to pipe two REBOL scripts from the command line and have the first script periodically send data to the second. Of course I could use a socket, but that's a little more complex. | |
Maxim 8-Mar-2011 [4036x2] | actually, using sockets is really simple. |
I mean, its probably less hassle and you'd already have it working by now ;-) I mean TCP server/clients can be as little as 5 lines each in rebol. | |
ddharing 8-Mar-2011 [4038x2] | Maxim, you're absolutely right. I am just thinking in terms of being pipe friendly on the Linux command line. |
You know, the Unix way of doing things. | |
Maxim 8-Mar-2011 [4040x2] | did you try looking at the port states? |
don't know what can be manipulated on the i/o ports | |
ddharing 8-Mar-2011 [4042] | I'm not an expert on the port object, so I'm continuing to do research. |
Geocaching 8-Mar-2011 [4043x3] | Hello, I encounter a problem with the draw dialect under linux (rebol/view 2.7.8). I have tried the following code from the official documentation: view layout [ box black 100x100 effect [ draw [ pen red line 30x30 50x20 70x70 40x50 pen blue box 20x20 80x80 fill-pen 0.100.0 box 20x60 40x80 pen white text 8x25 "Example" fill-pen gold flood 2x2 ] ] ] |
Under windows, the text appears properly; but under linux, nothing appears. | |
Actally, it seems that the interpretation of the draw dialect stops when encountering the 'text. | |
Pekr 8-Mar-2011 [4046] | might be a font problem? Better wait for some real experts, though ... |
Geocaching 8-Mar-2011 [4047] | When you try this under linux view layout [ box snow 100x100 effect [ draw [ pen black text 10x10 "Red Box:" pen red fill-pen red box 10x30 80x50 ] ] ] Only the snow box appears! Nothing is drawn into it... and rebol does not launch an error. THis confirms that the interpretation of the dialect is stopped when the 'text is reached. Under windows, no problem! |
Cyphre 8-Mar-2011 [4048] | Under linux you need to setup the font object to be able use text rendered by DRAW dialect. So something like this should work: my-font: make face/font [ name: "/usr/share/fonts/truetype/freefont/FreeSans.ttf" ;replace with your path to font you want to use size: 12 ] view layout [ box snow 100x100 effect [ draw [ font my-font pen black text 10x10 "Red Box:" pen red fill-pen red box 10x30 80x50 ] ] ] |
Geocaching 8-Mar-2011 [4049] | Cyphre... THANKS SO MUCH!! It works... But now, how I can make my script working on both linux and windows with the same fonts look and feel? |
Cyphre 8-Mar-2011 [4050] | you can put the os specific setup into something like: switch system/version/4 [ 4 [ ;Linux ] 3 [ ;Windows ] ] |
MaxV 9-Mar-2011 [4051] | What is the default Font for Rebol? I could add this font package in Rebol linux installer. |
Oldes 9-Mar-2011 [4052] | Better to choose a font which works on Linux... last time I used Rebol/View on linux, the default font look was very bad. |
Cyphre 9-Mar-2011 [4053] | yes, I'd suggest to choose some nice looking font(prefferably free one, but depends on you) on Linux and then use it with the app on all systems. |
older newer | first last |