ItGo.me Focus on IT Recommend

Home > rebol - How to start the Rebol2 /View console on a server?

rebol - How to start the Rebol2 /View console on a server?

I want to run Rebol2 /View on an Ubuntu 14.04 server to be able to load a
 d library (which apparently /Core cannot do).

I have managed to install all the required dependencies, but now I suspect, by default, /View wants to open the Viewtop desktop. The error I get is:

** User Error: Bad face in screen pane!
** Near: size-text self

I suspect what I need to do is start Rebol/View from the command line to go straight into the console, without going into the Viewtop. However, the help for the command line options (at http://www.rebol.com/docs/words/wusage.html) does not offer anything useful.

Any ideas how to start /View so I can go straight into the console?

rebol rebol2
|
  this question
asked Jun 30 '14 at 10:44 mydoghasworms 11k 7 41 77      This does not fill me with hope: barik.net/archive/2010/02/10/180553 –  mydoghasworms Jun 30 '14 at 11:17

 | 

1 Answers
1

You'll need some additional ingredients (next to Rebol 2/View and the basic X dependencies) to make this work:

  • A virtual X framebuffer, such as Xvfb
  • The --noinstall option (short: -i), to prevent Rebol 2/View from trying to install itself
  • The --noviewtop option (short: -v), to start Rebol 2/View in "console-only" mode

Putting these together, you'll get a working Rebol 2 console by running:

Recommend:rebol2 - Dynamically adding words to a context in REBOL

'bar is defined. How can I dynamically inject a new word into this context Is it possible I've tried: set/any in foo 'baz 3 But that doesn't work because the expression in foo 'baz fails because there is no word 'baz defined in the foo c

$ xvfb-run rebol-view --noinstall --noviewtop

The details:

Unfortunately, the Linux version of Rebol 2/View requires an X framebuffer even for the console-only mode. However, for console-only usage, Rebol 2/View won't render anything graphically, so you can just use a memory-backed framebuffer, where the output won't ever be shown on a physical screen. And that's just what e.g. Xvfb -- the "X virtual framebuffer" -- was created for.


|
  this answer
answered Jun 30 '14 at 18:08 earl 20k 4 38 50      You may also need to install some specific fonts. apt-get install xfonts-100dpi xfonts-75dpi –  johnk Jun 30 '14 at 23:04

 | 

Recommend:rebol2 - How to run Rebol on Freya

TS). I keep getting this error: error while loading shared libraries: libXaw.so.7: cannot open shared object file: No such file or directory I went ahead and tried to install the missing library but to no avail. rebol rebol2 share | improve

oriUlr:http://stackoverflow.com/questions/24488331/how-to-start-the-rebol2-view-console-on-a-server

------splitte line----------------------------