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

I'm looking for help

 [1/10] from: ale870::gmail::com at: 19-Jun-2006 9:01


Hello, I'm creating a tool to use Rebol from remote computers (of course, distributed as LGPL license). My final target is creating a shell platform independent. Of course, you can even execute standard shell commands. In order to create platform-independent shell, I need many Rebol scripts/functions that perform any kind of operation, without using native shell commands. The script should work just like any other standard Rebol command (e.g.: list-dir, delete, delete-dir, etc....) but including more extended, shell oriented, features (think about shell commands: they are short for fast typing, with many options, etc...). The integration between a complete set of commands and an useful local/remote shell could take many advantages to advanced users, programmers, system administrators, etc... If you wish more info, please don't hesitate to make any question! Thank you! --Alessandro

 [2/10] from: tim-johnsons::web::com at: 20-Jun-2006 10:34


* Alessandro Manotti <ale870-gmail.com> [060619 16:42]:
> Hello, > I'm creating a tool to use Rebol from remote computers (of course,
<<quoted lines omitted: 4>>
> scripts/functions that perform any kind of operation, without using native > shell commands.
Hello Alessandro: Are you looking for some sort of "thin layer" where a single command is translated into the appropriate choice of any number of commands, appropriate for the operating system? tim
> The script should work just like any other standard Rebol command (e.g.: > list-dir, delete, delete-dir, etc....) but including more extended, shell
<<quoted lines omitted: 9>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com

 [3/10] from: ale870:gma:il at: 20-Jun-2006 21:50


Hi Tim, your anwser seems "cryptic". What do you mean exactly? On 6/20/06, Tim Johnson <tim-johnsons-web.com> wrote:

 [4/10] from: greggirwin:mindspring at: 20-Jun-2006 14:24


Hi Alessandro, AM> The script should work just like any other standard Rebol command (e.g.: AM> list-dir, delete, delete-dir, etc....) but including more extended, shell AM> oriented, features (think about shell commands: they are short for fast AM> typing, with many options, etc...). I've built some pieces along those lines; i.e. a standard implementation of *nix-ish utilities, like wc, cut, cat, cmp, awk, grep, etc. It's not much, but I'm glad to share what I have. -- Gregg

 [5/10] from: ale870::gmail::com at: 20-Jun-2006 22:51


Simply great! It was just what I was looking for! Gregg, those commands function either on Windows and on Linux? Where can I find them? On 6/20/06, Gregg Irwin <greggirwin-mindspring.com> wrote:

 [6/10] from: tim-johnsons::web::com at: 20-Jun-2006 16:53


* Alessandro Manotti <ale870-gmail.com> [060620 11:56]:
> Hi Tim, > > your anwser seems "cryptic".
Shell commands are different on different operating systems. An OS-agnostic command would check for the OS 'under the layer' I.E. in the function source...
> What do you mean exactly?
<g> what Greg means... there y'go... tim
> On 6/20/06, Tim Johnson <tim-johnsons-web.com> wrote: > >
<<quoted lines omitted: 53>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com

 [7/10] from: ale870::gmail::com at: 21-Jun-2006 8:39


Well! I'm sorry for my answer, but I had the impression you wanted to tell me something, without tell me anything ;-) (maybe the problem is my bad english...)
>> Shell commands are different on different operating systems. >> An OS-agnostic command would check for the OS 'under the layer'
I wish some platform independent command. I wish to avoid, if possible, to recall native commands. Why? Because some command are specific to OS since they use OS-native peculiarities (e.g.: Ms Windows Services management). More: I have a problem: some shell-commands may lock the server, since they ask some data-entry, etc... My final attempt is creating in Rebol an OS independent layer (most used commands) creating Rebol commands; for specific OS-dependent commands... the shell is there... On 6/21/06, Tim Johnson <tim-johnsons-web.com> wrote:

 [8/10] from: greggirwin:mindspring at: 21-Jun-2006 8:31


Hi Alessandro, AM> Gregg, those commands function either on Windows and on Linux? Yes. It's pure REBOL. AM> Where can I find them? I don't think I've posted them anywhere, but I'll zap them to you for review, and we can decide if they're worth posting, if we find others want to work on this. It opens up a lot of questions, and really requires a lot of little pieces; file globbing, command line processing, redirected I/O, etc. I like the idea of a REBOL-based approach with a *nix-ish compatibility layer, but could never justify the time to take it all very far. -- Gregg

 [9/10] from: ale870::gmail at: 21-Jun-2006 16:49


> I like the idea of a REBOL-based approach with a *nix-ish compatibility > layer, but could never justify the time to take it all very far. >
Yes, I agree with you. When I created Jell Console Manager I wanted to create a base structure, then the users could create more commands. I think it is the same concept of every shell: shell is a good starting point, but many users contributed to create specific commands to improve it. Imagine a "bash" without any command: no ls, no pwd, etc.... I think we can create this shell-like system, then everyone can use Rebol to create a set of commands to give more power to the shell-self. I create the base structure (local management, remote management, data exchange, piping, etc...) and other people, one by one, could create and SHARE the rest. On 6/21/06, Gregg Irwin <greggirwin-mindspring.com> wrote:

 [10/10] from: tim-johnsons::web::com at: 21-Jun-2006 9:06


* Alessandro Manotti <ale870-gmail.com> [060620 22:47]:
> Well! I'm sorry for my answer, but I had the impression you wanted to tell > me something, without tell me anything ;-) (maybe the problem is my bad > english...)
Don't knock your english. I'm envious of *anyone* that can speak more than one language.
> >> Shell commands are different on different operating systems. > >> An OS-agnostic command would check for the OS 'under the layer'
<<quoted lines omitted: 5>>
> independent layer (most used commands) creating Rebol commands; for specific > OS-dependent commands... the shell is there...
Speaking for myself, code examples (and they don't have to be tested or working, but illustrative) are very helpful. :-) We all speak rebol here. tj
> On 6/21/06, Tim Johnson <tim-johnsons-web.com> wrote: > >
<<quoted lines omitted: 92>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Tim Johnson <tim-johnsons-web.com> http://www.alaska-internet-solutions.com

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted