Page 1 of 1

lc server command line scripting enhancements

Posted: Sun Nov 13, 2011 3:13 pm
by sturgis
Is there a chance that lc server on mac and linux can be set so that it uses the #! method of pointing to the executable? While this works as is, lc server outputs the # line in addition to the script. It would be cool if it ignored any #! line if its the first line of the file.

In addition, is there any chance of an 'interactive' mode to running lc server from the command line? I've been messing with a self built lc "shell" script that might be pretty interesting, but anything more than the most basic stuff is over my head. Its not too difficult to display a prompt, wait for input, and process very basic commands. (very very basic) either lc commands I build in to the 'lcshell' script, or calling shell for external commands. But parsing pipes, redirects and handling complex switches/params is beyond me. So final request would be an lc shell mode or script similar to perl shell that allows commands/ lc code all together in an interactive way.

Probably no chance, but here's hoping!

Oh, as long as i'm asking for impossibilities, it would be pretty neat to have an lc linux window manager, with the ide integrated. This way lc stacks could be used as gadgets, menu bars and the like. Want new functionality? Go to edit mode, make a stack, code it, add it to the menu and viola'.

We now return you to reality.