Venerable Monks,

I have the notion to create a shell like environment on Win32 which should include the following features (in no particular order)
* Command History
* Multi-line command input
* Enable editing of multi-line statements retrieved from history
* Encryption/Decryption of password file entries
* Flowthru of DOS commands from shell
* Enable predefined commands to be easily added to shell
* Enable predefined query execution with single command
* Enable ad-hoc query execution
* Enable multiple active ODBC connections and the ability to switch between them
* Enable ODBC auto logon using password lookup from external file

Username and host system to be extracted from command like:-

SYSTEMA:USERNAME:Select * from a_database.some_table limit 10;

* Change prompts to reflect database server which is active at the command line
* Many other things I've not yet though of

If this looks like a stream of consciousness it's because it is. Some of these things may not be viable but I can envisage a tool that would make my life a lot easier.

I have looked at the numerous Term::Readline and Term::Shell modules but am unable to ascertain which one may serve me best, I'd like to avoid reinventing anything that someone else has done far better that I ever could!

Does anyone have experience with any of these shell construction modules that they could share?

Many Thanks,

TeraMarv.


In reply to Which Module for Win32 Shell by TeraMarv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.