I played with something similar in 2003, most likely based on http://www.scottklement.com/picobsd/
The trick with no GUI is getting the keys mapped properly. How you do that will vary by what OS you're running. It's been too long for me to remember, but I think there is a man page, HOWTO, or README that explains it.
From: Jonathan Burishkin
I need to set up some tn5250 terminals at work; I prefer them to boot straight into the green screen, no gui. What linux distro and configuration is best for this?
I have been using Lubuntu 11.10 32bit with IBM iSeriesAccess and have some lost connection issues with the software. I would like to see how tn5250 works.
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.