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

[REBOL] Re: [Newbie]: Rebol script output to Windows stdout

From: brian:hawley at: 8-Jul-2004 20:05

Hi Gabriele, At 08:02 PM 7/8/04 +0200, you wrote:
>Hi SunandaDH, > >On Thursday, July 8, 2004, 4:44:10 PM, you wrote: > >Sac> As far as I know, REBOL's cross-platform-ness extends to console >sessions in >Sac> a very annoying way -- it doesn't support them on any platform. > >Actually the problem is only on Windows because it does not have a >real terminal.
Not quite true. Windows has real terminal support, but RT chose to implement their own instead of supporting it. Windows REBOL versions are GUI apps rather than console. There are certain advantages to implementing REBOL as a GUI on Windows - in particular certain APIs depend on window messages, which require a window to work. Console apps typically don't allocate a window and vice versa. Still, there's no reason that there couldn't be a console version of /Core or /Command, with features like /View, clipboard:// and the system port missing of course. Dual-mode is possible too. More work for RT though. For now you can do stdio by piping, really the main advantage to it anyway. Still, console would be nice, and on WinCE too. - Brian