|
On Sun, 28 Jan 2001, Scott Klement wrote: > 1) Load 5250.terminfo into your terminal database. "tic 5250.terminfo" > should do this for you. > 2) Make the 5250 definition be the active definition for your particular > session by setting the TERM enviornment variable to be "5250". > It might be advisable to put this in a script that runs > when you start tn5250, so you don't have to type it each time. I have a logical problem with doing this, though. It seems backwards. The terminfo and termcap databases are supposed to be used to tell the operating system what kind of terminal you're actually using (whether it's an emulated VT220, or the console on a Linux box). Since you're not on a 5250 terminal when you're running tn5250, it doesn't really make sense to tell the operating system that you are. At best, it's a hack, even if it is a very good hack. tn5250 is designed to translate 5250 display data to ncurses display, and ncurses translates it into display data appropriate to your local terminal (or local terminal emulator). It makes sense that the opposite sequence should be used for input data (local terminal -> ncurses -> 5250). Of course, your point in a later e-mail about the fact that depressing some keys on most local terminals won't generate keypress data for ncurses to use (e.g. the control keys by themselves) is definitely valid, though. Cheers, Mick +--- | This is the LINUX5250 Mailing List! | To submit a new message, send your mail to LINUX5250@midrange.com. | To subscribe to this list send email to LINUX5250-SUB@midrange.com. | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com 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.