World: r3wp
[Linux] group for linux REBOL users
older newer | first last |
Kaj 19-Feb-2008 [1956x3] | I just happened to refine my form-money yesterday: |
form-money: func [ m /local r ][ if money? m [m: m/2] r: (to-integer (absolute m) * 100 + 0.5) // 100 rejoin [ either negative? m ["-"] [""] absolute to-integer m "," either r < 10 ["0"] [""] r ] ] | |
It's geared towards Dutch money, with two decimal positions and a decimal comma, but that's easy to adapt | |
Graham 19-Feb-2008 [1959] | I've been using puppylinux recently. I notice that from the desktop, if I click on console, nothing happens. Also, if I do a print from an encapped application, no console appears. Ideas? |
btiffin 19-Feb-2008 [1960] | If you start from a terminal session and use $ rebol ( or whatever command) and then hit the console, does the REBOL banner show up in the terminal? That's where it should be. No seperate "windows" console required for GNU/Linux. If there is no banner, then puppylinux may be pooched. |
Graham 19-Feb-2008 [1961] | maybe I should try starting from console rather then by gui |
btiffin 19-Feb-2008 [1962] | Yeah, try that, see what happens. Then the real head scratching can start. :) |
Kaj 20-Feb-2008 [1963x2] | I guess you mean the REBOL console? It doesn't work in the Linux version |
Indeed you have to start Core, or start View with the -v option from the Linux console/shell | |
Graham 20-Feb-2008 [1965x3] | Oh .. okay. |
I wonder if that's an encap option. | |
Also, I have found that under wine, my encapped application fails to launch another copy of itself. | |
Graham 21-Feb-2008 [1968] | Are the function keys available under Linux? |
btiffin 21-Feb-2008 [1969] | Normally yes. But there are X11 configurations to worry about; try (from the REBOL console - being your shell term) con: open/binary/no-wait [scheme: 'console] wait con ch: copy con and see what gets placed in ch |
Graham 21-Feb-2008 [1970x7] | Some keys are being trapped by Gnome ... F1, F11, F10 |
So, on Ubuntu with Gnome, I'm getting for F3 #{1B1B4F52} | |
Using Vid, I get for F1 onwards, console, listen, tcp, udp, icmp, dns, odbc, oracle, msql, crypt, compress ... | |
What's going on here?? | |
F12 is grabbed by the window manager in puppylinux, but otherwise the others are the same. | |
I presume Rebol is somehow interpreting these sequences like this. | |
Ahh.. it's a bug with Rebol 2.7.5 | |
btiffin 21-Feb-2008 [1977] | Ok, I was just about to say ... how are you getting the schemes list. That looks weird, but I was going to suggest it must be opening the system/schemes object somehow. I would be confused. Not that that would be weird. :) |
Graham 21-Feb-2008 [1978x2] | Ashley documents the bug on his Rebgui pages. |
Wonder why RT hasn't released a fix yet. | |
btiffin 21-Feb-2008 [1980] | Busyness? :) Afaik; a new release bundle is in the works. |
Graham 21-Feb-2008 [1981x3] | Hmm. |
Well, I found an older Linux SDK so i guess I can work with that. | |
Nope, mine is too old. Anyone got the latest functional Linux 'enface prior to 2.7.5 ? | |
Graham 22-Feb-2008 [1984] | I'm using call and call/wait to invoke gs to convert ps files to pdf. Anyone know why the return code can be non zero on linux and yet it is still doing the conversion?? |
Anton 22-Feb-2008 [1985x2] | I remember something about that... I think it was a "rebolism". |
Does the same command return non zero in the linux console only ? | |
Gabriele 23-Feb-2008 [1987] | CALL has a bug in Linux (and other Unix), it just returns a random number... |
Graham 23-Feb-2008 [1988x4] | crap. |
I never knew that. | |
It returns 0 if used from the rebol console .. but other numbers if used from an encapped app. | |
Gabriele .. are these bugs ( and the lack of scalable font support in draw ) being addressed in 2.7.6 ? | |
Kaj 23-Feb-2008 [1992] | That's a serious bug |
Graham 23-Feb-2008 [1993] | Anyone know what I need to do to get view running on Ubuntu 7.10 ? libstdc++.so.5 is missing. And sym linking to ibstdc++.so.6.0.9 doesn't work. |
Ingo 23-Feb-2008 [1994] | View 2.7.5.4.2 worked for me out of the box on a freshly installed Ubuntu 7.10 |
Graham 23-Feb-2008 [1995] | Encapped app complained. Anyway, this is an answer I found http://www.debugmode.com/userforums/viewtopic.php?t=6125 |
Dockimbel 23-Feb-2008 [1996] | That answer look overly complicated to me. Why not just : sudo apt-get install libstdc++5 ? |
Graham 23-Feb-2008 [1997x2] | Dunno. Will that work? :) |
True type fonts appear to be working for me in Ubuntu 7.04 ... | |
Ingo 23-Feb-2008 [1999] | Hmmm, I have libstdc++5 installed. |
Dockimbel 23-Feb-2008 [2000] | Yes, it will download and correctly install libstdc++5. |
Graham 23-Feb-2008 [2001] | Good to know. I messaged my user to let him know of this easier method. |
Gabriele 24-Feb-2008 [2002] | Carl knows about the call linux bug since quite some time... and I have provided him with what I think could fix it (but I have no way to test the fix). Qtask needs this bug fixed too, so one can say it's reasonably high priority. :) |
Graham 24-Feb-2008 [2003x2] | 2.7.6 then |
AGG fonts only working under Debian distros still? | |
Graham 4-Mar-2008 [2005] | If one wishes to run a View encapped application on a server distro of ubuntu, is this all one has to do http://softinnov.org/cheyenne/blog.cgi?view=0014 ? |
older newer | first last |