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

World: r3wp

[View] discuss view related issues

amacleod
20-Aug-2008
[8024]
That's what I seem to be all about...quick hacks.

Thanks for the help.
Janeks
23-Aug-2008
[8025x2]
I downloaded rebview276 for linux.
I downloaded rebview (rebview-fedx86.tar.gz) for linux. Simply extracted 
it in desktop and launched with double click. It worked well some 
first times, but then it it simply does not launches - double click 
on executable - nothing happens.
Henrik
23-Aug-2008
[8027]
what happens if you try to launch it from console?
Janeks
23-Aug-2008
[8028x2]
[[root-:-localhost] Desktop]# cd rebol-276
[[root-:-localhost] rebol-276]# dir
rebview
[[root-:-localhost] rebol-276]# rebview
bash: rebview: command not found
was it right way to launch an app in linux?
kcollins
23-Aug-2008
[8030]
You need to type "./rebview" (unless you have the current directory 
in your path)
Janeks
23-Aug-2008
[8031x5]
I am trying accustom The Linux. Aha - works now
But why it worked with double click before but not now?
After quiting linux console shows:
Se
Segmentation fault
kcollins
23-Aug-2008
[8036x5]
When you double click the file icon on the Desktop, Linux knows exactly 
what file you want to run. When you try to run something from the 
command line, Linux first looks to see if it is a command built in 
to the shell (bash), and then looks for it in each directory in your 
PATH environment variable. Typically, the current directory - "." 
- is not included in the PATH when you install Linux.
You can also specify the location of an executable by an absolute 
or relative path. An absolute path starts at the root, such as /home/kcollins/rebview. 
A relative path is in relation to the current directory. So "./rebview" 
tells the shell to find the executable in the current directory.
To see what your PATH is set to, run "env | grep PATH".
Do you have a 32 bit or 64 bit CPU?
I believe REBOL/View was compiled for 32 bit Linux and may have some 
problems with 64 bit distros.
Janeks
23-Aug-2008
[8041]
I have 64 bit
kcollins
23-Aug-2008
[8042]
I suspect that explains the segmentation fault.
Janeks
23-Aug-2008
[8043x2]
aha
Is there any way to compile rebol for 64bit linux?
kcollins
23-Aug-2008
[8045x4]
Recompile, no. The source code is not available.
However, several months ago I saw something about someone hacking 
it to work on 64 bit Linux.
I believe the Linux version of REBOL uses a libc6 shared library 
by accessing a specific file at a specific location. By putting a 
64 bit version of that file there, they managed to get it to work. 
I may not have the details quite right, but it was something like 
that.
I just tried to google for that discussion, but without success.
Janeks
23-Aug-2008
[8049]
ok
PeterWood
23-Aug-2008
[8050]
These may help:

http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-topic-detail.r?l=0&topic={308227A880B92F1C4D34586C4B0C4BDEDFF1A8DA}
Anton
24-Aug-2008
[8051]
Janeks, see linux group.
amacleod
26-Aug-2008
[8052]
When opening another  window from within a rebol app via view/new 
is there a way to insure the new window stays on top until closed 
(and perhaps keeps focus so the parent window can not be manipulated?)
Henrik
26-Aug-2008
[8053]
amacleod: use INFORM and HIDE-POPUP instead of VIEW and UNVIEW.
amacleod
26-Aug-2008
[8054]
can you use the same options available to view?
Henrik
26-Aug-2008
[8055]
they are almost the same
amacleod
26-Aug-2008
[8056]
I'm looking to hide the title bar. But I do not see how.
Henrik
26-Aug-2008
[8057x2]
but you mustn't use INFORM and UNVIEW. that will lock View up.
not sure that is possible out of the box
amacleod
26-Aug-2008
[8059]
thanks.

I thought I saw something the other day talking about keeping a window 
on top but that might have been a face on top...
Graham
26-Aug-2008
[8060]
Rebgui does that with the /parent refinement.  I think you can use 
options to remove the titlebar
amacleod
26-Aug-2008
[8061x3]
inform and show-popup do not seem to have an options refinement.
view has /parent refinement
sorry...
layout has it
Graham
26-Aug-2008
[8064x2]
don't use inform ... that will give you a modal window
no-title and no-border are options for view
amacleod
26-Aug-2008
[8066]
I want it to be modal
Graham
26-Aug-2008
[8067x3]
try this then
do [face/options: [no-title no-border]
]
amacleod
26-Aug-2008
[8070]
and use inform?
Graham
26-Aug-2008
[8071x2]
yes
hmm.  doesn't work
amacleod
26-Aug-2008
[8073]
Any idea how the /parent refinement works for layout. I can't seem 
to find the right syntax.. 
if its even relevent to what i'm trying to do...