× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



>
> I would love to try to hack the 5250 source and change fonts
> dynamically. You do it under xterm. Could you give a hint where in the
> source it sees from the AS400 a 132 display thingy and where would be a
> good place to make the font jump and I'll see if can make the patch. I
> think that would be MUCH easier than what I have been trying to do with
> XFree86.
>

Assuming that you're using the curses version of TN5250, the font is
changed in cursesterm.c in a function called "curses_terminal_update."
Changing the font is actually the first thing that function does (if the
screen size has changed)

However, please try to find a way of doing this that's not
Linux-specific!!!   Keep in mind that we support TN5250 on many operating
systems, Linux is only one of them.

One possibility that jumps to mind would be having a shell script that
TN5250 could run whenever the window size changes -- that way, you could
have separate shell scripts for each OS.

Another thought would be to write your own TN5250 front end using svgalib.
(I'm assuming that svgalib has the capability of doing 132x27 somehow)


> Hmm.. is that a telnet thing and not a 5250 thing?

I don't understand this question.   Is what a telnet thing?


Also -- have you tried checking the keyboard codes in the GTK version of
TN5250?   I know that the keyboard handling is more "raw" in the GTK
version.  You'd still have to write code in gtk5250terminal.c to handle
each keycode, but it would be significantly easier than writing console
font support...

Just a thought...



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.