Git Product home page Git Product logo

tn5250

This is an implementation of the 5250 telnet protocol. It was originally an implementation for Linux, but it has been reportedly compiled on a number of other platforms. Contributed keyboard maps and termcap entries for FreeBSD are in this tarball as well (see freebsd/README for more information).

Building from Git

Skip to "Building and Installing" below if you got these sources from a .tar.gz release file.

Certain files, such as the libtool support files and some shell scripts which replace possibly missing commands on the target system are not in git because we don't maintain them. They can be installed with the following command:

./autogen.sh

This command requires current versions of the following packages, and the generated files may not work properly.

automake
autoconf
libtool

You may receive an error the first time you run this script. If so, run the script a second time to make sure you don't get an error (this is a bug with automake).

Building and Installing

To build the emulator simply type the following:

./configure
make
make install

Additional (but decidedly generic) installation instructions are available in the INSTALL file included in this distribution tarfile. Installation instructions specific to your platform exist if you are using Linux or FreeBSD -- they are in the linux/ and freebsd/ directories, respectively. Please read these before telling us that the function keys don't work ;-)

The emulator uses the ncurses library for manipulating the console. Make sure you have the ncurses development libraries installed before trying to compile the source. There have been both reports of the standard BSD curses working and not working, so you may have to install ncurses under *BSD.

X Windows

To use the emulator under X Windows, use the provided xt5250 shell script, which sets up a standard xterm (it will not work with an nxterm or an rxvt terminal).

There is one common problem which would cause xt5250 to flash once on the screen then disappear. If the termcap or terminfo entry for the "xterm-5250" terminal type does not exist, xterm will exit immediately.

Windows

To build on Windows, use CMake:

New-Item -Path build -Type Directory
$cmake = (Join-Path -Path (Get-ItemProperty `
        -Path HKLM://HKEY_LOCAL_MACHINE\SOFTWARE\Kitware\CMake `
        -Name InstallDir).InstallDir `
        -ChildPath "bin/cmake.exe")
Start-Process -FilePath $cmake -Wait -NoNewWindow -ArgumentList "-S . -B .\build\"
Start-Process -FilePath $cmake -Wait -NoNewWindow -ArgumentList "--build build"

Other Information

Other information is available on the web.

Enjoy!

tn5250's Projects

tn5250 icon tn5250

A curses-based 5250 terminal client

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.