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

World: r3wp

[Linux] group for linux REBOL users

Kaj
10-Dec-2006
[996]
Eek, no, we never used PERL for that!
Graham
10-Dec-2006
[997]
what's the root password?
Kaj
10-Dec-2006
[998x2]
root
:-)
Graham
10-Dec-2006
[1000]
Cool .. 1024x768 working under vmware
Kaj
10-Dec-2006
[1001]
No problem
Graham
10-Dec-2006
[1002x2]
Hmm.  Browser corrupts screen.
Terminal doesn't respond to double click.
Kaj
10-Dec-2006
[1004]
Switching to Syllable group...
Graham
11-Dec-2006
[1005]
Does anyone here have any experience with working with the Linux 
SDK ?
Gabriele
11-Dec-2006
[1006]
me (for the Detective)
Graham
11-Dec-2006
[1007x6]
Ok.
Quesion .. if you don't mind.
I try this ... inside my encapped application
write %test.r {rebol [] print "hello"}
launch join what-dir %test.r

and it complains it can't find the file.
actually, 

launch http://www.valid.com/rebol.ralso fails
In windows, launch value .. value is taken as a parameter for the 
encapped application.  In Iinux, it demands a script.
Gabriele
11-Dec-2006
[1013x3]
i believe there are bugs in launch on linux, and i don't remember 
if they are fixed for 2.6.2... let me check rambo
#3231 is marked as fixed, but I'm not sure if anyone has tested it.
then there are #3581 and #3151, but since you are using what-dir 
they should not apply.
Graham
11-Dec-2006
[1016x2]
it launches a new process .. but can't find the script.
I didn't realise that such a fundamental thing was broken on the 
linux sdk :(
Gabriele
11-Dec-2006
[1018x2]
you can always use call directly
anyway, i'll test this and make sure it works. IIRC the Detective 
has issues with launch/quit on Linux too, but it hasn't been a huge 
problem for me yet.
Graham
11-Dec-2006
[1020]
this means I have to know the name of the calling application ...
Gabriele
11-Dec-2006
[1021]
launch has to know the name too. so if you don't... it doesn't either. 
i'm pretty sure launch is using system/options/boot
Graham
11-Dec-2006
[1022x2]
I just want to spawn another instance of my encapped application 
...
Ok, I'll check system/options/boot
Gabriele
11-Dec-2006
[1024x2]
call reduce [system/options/boot "argument"]
should give you "argument" in system/options/args and system/script/args 
(usual differences between the two apply)
Graham
11-Dec-2006
[1026]
Also, the AGG font demos on the desktop appear to be broken.
Gabriele
11-Dec-2006
[1027]
fonts require absolute path on linux
Graham
11-Dec-2006
[1028]
would you explain that ?
Gabriele
11-Dec-2006
[1029]
this will eventually be fixed but it's not easy (needs a different 
build for each distro... so the final solution is R3)
Graham
11-Dec-2006
[1030]
when you specify a font, you need to specifiy the abs path to that 
font ?
Gabriele
11-Dec-2006
[1031x2]
exactly, to the ttf file (for AGG only, not face/text)
Linux does not have any api to get to the ttf from the font name.
Graham
11-Dec-2006
[1033]
so, for vectorial text, you specify the font with the absolute path.
Gabriele
11-Dec-2006
[1034]
exactly, that should work. refer to Cyphre for more details (i think 
agg text on unix is still somewhat experimental)
Graham
11-Dec-2006
[1035x2]
I see.
Is OSX any better?
Gabriele
11-Dec-2006
[1037]
in principle yes, but i don't know if it is supported yet.
Graham
11-Dec-2006
[1038x3]
Ok.
Do you know how to print in Linux ?
is it write to %lp ?
Gabriele
11-Dec-2006
[1041x2]
best way is call the lpr command
if you know you are on kde, you can also call kprint (or was it kprinter) 
and it even displays a nice ui for print options.
Graham
11-Dec-2006
[1043x2]
gnome
I just want to send some postscript to the attached postscript printer 
on the parallel port.
Gabriele
11-Dec-2006
[1045]
don't know if gnome has a print command. lpr should work almost anywhere 
though.