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

World: r3wp

[Linux] group for linux REBOL users

Maxim
8-Dec-2006
[878x2]
IIRC depending on the desktop manager you use, you can open icons 
with a shell automatically.  and can ask the manager to hide the 
shell until the app bums out.  look into the icon's properties... 
This might also only be an option for .r file associated icons themselves 
(not rebol, but for script with an icon).
I used to do so for python scripts... it was really cool... no one 
saw the shell, until a crash occured, in which case all the prints 
where available for copy/paste.
Graham
8-Dec-2006
[880x2]
Seems to be using Gnome
This is a tad frustrating .. my emr is a single script ( from prerebol 
) and runs under windows.  Under Fedora, it does nothing :(
Henrik
8-Dec-2006
[882]
what happens when you try to run it from shell?
Graham
8-Dec-2006
[883]
I am trying to run it from the view console
Maxim
8-Dec-2006
[884]
I was using kde at the time...
Graham
8-Dec-2006
[885x2]
Just downloaded the lastest sdk ( I think for fedora ).  Try and 
run enface,and get a permission denied message :(
What's the Linux equivalent of the windows environment variables?
Henrik
8-Dec-2006
[887x2]
exports, I believe. type 'export' in a shell and see what happens.
or 'env'
Frank
8-Dec-2006
[889]
rebol way 
 a: " " 
call/output "set" a
probe a
Graham
8-Dec-2006
[890x2]
cool.
so, how do I set an environment variable?
Frank
8-Dec-2006
[892]
eg: 
VAR=$VAR:whatyouwant
export VAR
Graham
8-Dec-2006
[893x7]
ok. Ta.
can you do this within Rebol?
My up cursor gives me an escape sequence on the screen in the rebol 
console.  How do I configure my console to recall the last line?
ie. I see [A
How does 'Launch work ?
In windows, it starts up another instance with the values passed 
as command line arguments
eg, launch "test" where test is a command line argument

In Linux, it appears to treat "test" as a script which it can't find.
Is there the equivalent of system tray functionality in Linux?
PeterWood
8-Dec-2006
[900]
Yes ...but ....is probably the correct answer. This paragraph might 
help explain the but http://wiki.lazarus.freepascal.org/TrayIcon#Technical_Details
Graham
8-Dec-2006
[901]
I see.
Kaj
9-Dec-2006
[902x4]
Graham, yes, we're fixing showstoppers in Syllable one by one
Of course, there are still many reasons why one could not use Syllable 
for a given job, but once we make it suitable for a job, it stays 
that way. It's much easier to say if it's suitable or not, while 
with Linux, one usually fixes all problems until one hits a showstopper, 
then switches distros, only to find that one of the other problems 
is a showstopper there
And then there are the regressions, where a showstopper comes back 
or suddenly appears in a new version of the same Linux distro. We 
have had regressions in Syllable, but not many, and they're usually 
easy to fix
At the accusation of reinventing the wheel, I always reply that we 
found that in the time we personally spent fixing Linux installations, 
we might as well produce an operating system for everyone
Graham
9-Dec-2006
[906]
Have you not managed to persuade Carl to port Rebol ?  Or, are you 
going to use Orca ?
Pekr
9-Dec-2006
[907x2]
Graham - isn't Syllable open-source? They imo can't accept closed 
source product, no?
I mean - to become dependant upon it ... I think R3 is going to be 
differet product in that regard, but still open source licenses are 
distros rules are clear here ...
Graham
9-Dec-2006
[909]
I think Kaj has asked RT to port Rebol before.
Pekr
9-Dec-2006
[910]
then R3 will be good for them. platform specific things will be open-sourced 
and RT will then "only" compile for target platform their rebol library 
...
Rebolek
9-Dec-2006
[911]
so there's going to be one rebol3.lib for x86, usable on win, linux, 
syllable, aros whatever plus some open sourced OS wrappers?
Pekr
9-Dec-2006
[912x2]
not sure - but one lib for certain OS. There can be dependencies 
- library format for Windows .dll is surely different from .so from 
Linux, even if both do run on X86
but new aproach should imo help to get rebol ported to new platforms, 
because RT's responsibility will be to get their OS agnostic library 
ported ...
Gabriele
9-Dec-2006
[914]
Rebolek: that would be more or less correct, however the format of 
the library usually depends on the OS, so it can't be the same file 
in most cases.
Graham
9-Dec-2006
[915x3]
Linux users .. please try this for me 

do http://www.compkarori.com/reb/psd2draw.r
Do you see any text ?  Or, do you have to install some postscript 
fonts?
And isn't ghostscript a standard install for most linux distros ?
Kaj
10-Dec-2006
[918]
Probably
Graham
10-Dec-2006
[919x2]
I wonder then if it's the fonts I'm using.
maybe I try installing a windows fonts package.
Kaj
10-Dec-2006
[921x2]
The Ghostscript fonts may not be available to X11, and thus probably 
not to View
There's an extra package for that in Debian/Ubuntu
Graham
10-Dec-2006
[923]
I'm on Fedora (vmware)
Kaj
10-Dec-2006
[924x2]
gsfonts-x11
The fonts also go under different names
Graham
10-Dec-2006
[926]
maybe I look at what fonts are available and try those in my script.
Kaj
10-Dec-2006
[927]
Right, we can't make Syllable dependent on REBOL. Indeed we're using 
Orca for fundamental stuff