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

World: r3wp

[Linux] group for linux REBOL users

Henrik
18-Feb-2008
[1946]
I think he means using the keys directly in the console, which correctly 
is limited in Linux.
Geomol
18-Feb-2008
[1947]
Ah, of course! :P :)
James
18-Feb-2008
[1948]
Yes, I was referring to running REBOL Core or View in the Linux console. 
Sorry for the confusion. Thanks though, Geomol!
Graham
18-Feb-2008
[1949x2]
Unforunately form-decimal also has problems under wine.
Instead of "64.1" I get "64.100000000000E+00"
Louis
18-Feb-2008
[1951]
Perhaps you should tell the wind developers; that should not be hard 
for them to fix.
btiffin
18-Feb-2008
[1952]
It's been reported ... people have suggested patches ...  no luck 
yet on ecvt.  fcvt got  a patch with 0.9.46 but afaik ecvt is still 
hurtin'
Gabriele
19-Feb-2008
[1953]
Graham, I modified one old form-decimal i had around to work with 
the wine bug; i just needed to test one of my old programs on wine, 
so it's not bullet proof, but it seems to work here. i will paste 
it to you, but you basically just need to parse the output of form 
and make it correct, it's easier than what it seems.
Graham
19-Feb-2008
[1954x2]
Thanks .. I'll give it a go.
Seems to work ... :)
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