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).
This, the 0.17.x series, is the development series and may cause severe headaches and stomach cramps, if only due to the quality of code :) If you are looking for a stable emulator, get the latest 0.16.x version. Even so, 0.17.x is quite stable and in production at several sites. Furthermore, for the enhanced 5250 protocol 0.17.x is required.
git clone https://github.com/hlandau/tn5250 cd tn5250 apt install lib64ncurses-dev ./autogen.sh ./configure make