You may be able to make tn5250 work with Putty as a terminal.   You'll
need to:
   1) Make sure that Putty sends unique escape sequences for each
        key code that you want to use.
   2) Make sure your termcap/terminfo (err.. probably terminfo if you're
        running Linux) maps each key sequence to the correct function

I've never done it myself, so all I can really say is "good luck."

A better way to do this would be to use the Windows version of TN5250
directly from the machine where you are running putty.

   1) In Putty's configuration, under Connection -> SSH -> Tunnels
        set your "source port" to something like "8023" and your
        destination port to "as400:23", make sure "Local" selected
        and then click "Add".

   2) Now connect to your Linux computer with Putty.   You should now
        have a "tunnel" that connects port 8023 of your home Windows
        computer to port 23 of your AS400.

   3) From a command-prompt under Windows on your home PC, run the
        Windows version of TN5250 with:

             tn5250 localhost:8023

TN5250 will use Putty's tunnel (which is encrypted and secure, just as
the SSH window is) to communicate with your iSeries.

Alternately, you could set up SSL on your iSeries, and use the Windows
TN5250 with SSL to protect your session...

On Thu, 23 Jan 2003, Emmanuel RIZZI wrote:
>  Now stronger and stronger: do you know a way to have F13-F24 working on a
>  putty session?
>  I explain, I have a linux box reachable by internet and connected to my
>  private Lan.
>  When i'm out of office, I open a session on my linux box with putty (SSH)
>  and then i launch tn5250.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.