How do you create a non-cgi, faceless, "command line" application?

Frank D. Engel, Jr. fde101 at fjrhome.net
Mon Oct 18 09:12:41 EDT 2004


Would setting the visible property of the stack to false be enough to 
fix this, or will the program still complain if it cannot allocate the 
windowing resources on the system running the app?

If Rev does have a hard time with this, one workaround suggestion would 
be to set up an X server on the UNIX box (if it does not have one 
already) and point the DISPLAY environment variable to it, even though 
you will not be able to see the display, Rev will be tricked into 
thinking it has displayed the window.  There may be some authentication 
issues to take care of before this will work, though.

On Oct 17, 2004, at 3:52 AM, Tony Paris wrote:

> I want to create a command line application that will
> work on windows or a flavor of unix. The Unix box is
> rack mounted so there is no terminal or GUI running on
> it.
>
> All the "faceless" stuff in the docs seems to only be
> related to making a CGI, not a simple command line
> program. I just want to get to a command prompt and
> type "mycommand" just like you would do a "ls" or
> "dir".
>
> Is there any way to do this with runrev?
>
> I tried doing something inside of "on startup" with a
> "quit" at the end, but it still seems to flash the
> window of my empty stack before the application quits.
>
> Thanks,
> Tony
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list