pweepwee has asked for the wisdom of the Perl Monks concerning the following question:

don't ask why, but in a fallback to 3270 dumb terminal days, I need a command-line style console that can be run from a browser. Does anyone know of a CGI style module that can do this from perl? TIA!

Replies are listed 'Best First'.
Re: browser - dumb terminal
by greenFox (Vicar) on Aug 01, 2002 at 01:49 UTC
    x3270 package includes s3270-

    "There is also a scripting-only version of x3270, s3270 3.2. This program is intended primarily for writing "screen-scraping" applications, e.g., a CGI back-end script that retrieves database information from a mainframe."

    Depending on how interactive you need to get it might be able to be coerced into doing what you want.

    --
    Until you've lost your reputation, you never realize what a burden it was or what freedom really is. -Margaret Mitchell

Re: browser - dumb terminal
by PodMaster (Abbot) on Aug 01, 2002 at 02:29 UTC
    CGI is not that interactive, and CGI::Push is outdated (not just the module, but PUSH technology) and unreliable.

    If you have a specific browser in mind (*hint*hint), just use "PerlScript, an ActiveX scripting engine, like JavaScript or VBScript with a Perl brain ". Embed perl in your browser, and then just use some magical modules from CPAN, like Net::Telnet, and do your thing.

    ____________________________________________________
    ** The Third rule of perl club is a statement of fact: pod is sexy.

Re: browser - dumb terminal
by hossman (Prior) on Jul 31, 2002 at 23:06 UTC
    it's not perl, or CGI, but you might consider mindterm
Re: browser - dumb terminal
by zentara (Cardinal) on Aug 01, 2002 at 18:07 UTC
    I'm not sure if your question means you need
    "a command-line cgi" or a "3270 terminal cgi".
    FWIW, if you just want to run a shell thru your browser,
    try ispy.cgi
    It gives you shell access thru cgi, and has a simple password
    scheme.