Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Commander.c adds Shell access for Rebol

From: fsievert:uos at: 20-Mar-2001 18:49

Hi! Until RT adds a launch support for /Core and /View you can try my commander.c program. It starts the rebol-Interpreter and adds a (very simple) 'call function to it. You can now type call "kedit commander.c" to open kedit with the source-code ;) How it works: commander startes REBOL faking a console stream to it. It reads REBOLs output to find character 0 (ZERO)s in it. Commands are marked ^@command^@ They are executed (in background). So DON'T OUTPUT CHARACTER ZERO WHEN YOU USE COMMANDER at the moment. Planned is to add full support of call like in /command and to replace system/ports/output by a port which escapes character zero so commander will be absolute transpartent. Oh, use at your own risk and read the sourcecode: CU, Frank