IBM Server Site

IBS Home Up Red Hat Installation

Start a 5250 Telnet client session

Primary IBS User Site

Windows Version Download

Main Source Forge Site

tn5250 at SourceForge | tn5250

tn5250

This is the homepage for the free “Linux tn5250” emulator. That’s a bit of a misnomer though, since it works on FreeBSD and any other modern Unix, and starting with the 0.16.4 release, it also runs on 32-bit versions of Windows.

tn5250 is a telnet client for the IBM iSeries and AS/400 that emulates 5250 terminals and printers. This function is the same as that provided by the 5250 emulator in IBM iSeries Access. Have a look at a screenshot for an example.

Please report any bugs in tn5250, preferably to the mailing list, or to the tn5250 SourceForge bug tracker.

The tn5250 project is kindly hosted by SourceForge. Visit the tn5250 SourceForge project page to see all the other tools they give us to work with.

James Rich has written a useful HOWTO for tn5250. Read it on his web site (133kB PDF).

Getting tn5250

To get the latest stable release of tn5250, visit the tn5250 project files list.

If you don’t want to have to compile the program yourself, there are a few other options:

Finally, you can get the latest tn5250 sources from anonymous CVS, or just browse them online.

To check out the main branch of tn5250 via anonymous CVS, enter the following commands. When asked for a password for ‘anonymous’, just press Enter.

cvs -d:pserver:anonymous@tn5250.cvs.sourceforge.net:/cvsroot/tn5250 login
cvs -z3 -d:pserver:anonymous@tn5250.cvs.sourceforge.net:/cvsroot/tn5250 co -P tn5250

To build the Unix version of tn5250 from CVS, you’ll need automake, autoconf, libtool and ncurses. Run ./autogen.sh, ./configure then make && make install from the checked out directory.

To build the Windows version of tn5250 from CVS, you’ll need a CVS client (maybe WinCVS or TortoiseCVS). Once you’ve downloaded the sources, detailed build instructions can be found in the README.txt file in the win32 subdirectory.

Mailing list

tn5250 development and discussion all happens on the mailing list, provided by MIDRANGE dot COM. You must subscribe to the mailing before you will be able to send email to it, but it’s very low traffic.

Development

There’s a page of links to related documentation on this site.

Related Free Software

tn5250j is a 5250 emulator written in Java.

x3270 implements the tn3270 protocol, which is very similar to tn5250.


Source Forge Information

http://tn5250.sourceforge.net/

Note: You should know the name or Internet address of the remote system with which you want to start the Telnet session. To display the Internet addresses and host names, complete the following steps:

Start iSeries Navigator and expand your iSeries server --> Network.
Right-click TCP/IP Configuration and click Host Table to display the Internet addresses and host names.
Starting a Telnet client session

Type the STRTCPTELN command, or type TELNET at the iSeries command line and press Enter.
Type the name of the remote system, if you want to use optional parameters, press F10. Otherwise, press Enter.
If you typed *INTNETADR for the Remote system field, the server prompts you for the Internet address field.

Type the Internet address of the remote system, if you want to use optional parameters, press F10. Otherwise, press Enter. The display shows optional parameter values and the Internet address information.
To use the default parameter values, press Enter.
When starting a 5250 full-screen mode session, the following optional parameters are also applicable:
Timeout wait for host (INZWAIT)
Keyboard language type (KBDTYPE)
Port number of the remote host server application (PORT)
Remote Virtual Display (RMTVRTDSP)
Remote User (RMTUSER)
Remote password (RMTPWD)
Remote paswword encryption (RMTPWDENC)
Remote initial program (RMTINLPGM)
Remote initial menu (RMTINLMNU)
Remote Current library (RMTCURLIB)
Remote Keyboard Type (RMTKBDTYPE)
Remote character set (RMTCHRSET)
Remote code page (RMTCODPAG)


The next display is the sign-on display for the remote system.

Notes:

The signon panel will be displayed only if none of the Autosignon parameters are entered on the STRTCPTELN command (RMTUSER, RMTPWD, RMTPWDENC) or if there was an error when these parameters were entered. If these values are entered correctly, no signon panel will display. The user is automatically signed on, and whatever initial screen defined for the user will display.
In addition the following is also true:
If the STRTCPTELN command provides the correct RMTUSER, RMTPWD and RMTPWDENC parameters, and a correct RMTINLPGM parameter is also provided, then the user will be signed on. Also, the provided initial program will have run.
However, if an invalid RMTINLPGM is provided, the user will be signed on, but a 'job ended abnormally' message will display. The same actions are true for RMTINLMNU parameter.
For the RMTCURLIB parameter, a correct value will result in the user being signed on. Also, any initial program and/or menu as defined either in the users profile or on the STRTCPTELN command, will execute. In addition the current library will be set to the parameter value. If in invalid RMTCURLIB parameter value is provided, then a signon panel will be displayed with a message stating that the current library value is invalid.
Also, for all of the above items, if the RMTKBDTYPE and/or RMTCHRSET and/or RMTCODPAG parameters are provided with valid values, they will have taken effect for the successful automatic signon attempts. They will not have taken effect for the invalid signon attempts.
Note: If the system does not find or configure a SOCKS server, or if errors occur using the SOCKS server, then a direct connection is established.


TN5250 screen size

Telnet 5250 full-screen mode supports the following screen sizes:

1920-character (24 x 80) on all 5250 display stations.
3564-character (27 x 132) on all 3180 Model 2; 3197 Models D1, D2, W1, W2, and 3477 Models FA, FC, FD, FE, FG, FW.
To control server functions while you are in a client session, see Controlling Telnet server functions.

IBS Lumber and Building Material Software Copyright © 2006 IBS Lumber Software Inc (TM)
Last modified: November 7, 2011

IBS Sales & Support 888-640-1252
Main Office 888-640-1252
Fax IBS 877-712-8937

All pages contained in this support website are not intended for general public distribution. Any material here can be considered private, confidential with various copyrights and restrictions against public release. You 'the browser' cannot legally release this information for general public distribution.

remote support: http://www.gotomeeting.com | remote support download program