× 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.


  • Subject: Re: changing xterm font for 132 column mode
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Tue, 2 Jan 2001 12:18:30 -0600 (CST)


I've tried this patch, and I don't like it.

It causes xt5250 to start up with a different font than usual, which I
don't like as much.   

If I use the standard xterm ctrl-rightclick to change my font size back to
something that I like, it only stays that way until the next time I switch
to 132 col mode.

I think its a really bad idea to use a hard-coded font size & name inside
cursesterm.  Instead, why don't we make this an option that can be set
in your configuration?


On Tue, 2 Jan 2001, Frank Richter wrote:

> tn5250 resizes the terminal window, when running in xterm. It would be
> nice, to additionally change the font, so that 80x25 and 132x27 modes
> fit well into available screen space.
> 
> In order to achieve this, one would change cursesterm.c:
> 
> --- cursesterm-original.c       Tue Jan  2 12:44:08 2001
> +++ cursesterm.c        Tue Jan  2 12:24:00 2001
> @@ -541,6 +541,10 @@
>        if(This->data->is_xterm) {
>          printf ("\x1b[8;%d;%dt", tn5250_display_height (display)+1,
>                tn5250_display_width (display));
> +        if(tn5250_display_width (display)>100) {
> +           printf("\x1b]50;fixed\x07");
> +        } else {
> +           printf("\x1b]50;9x15\x07");
>          }
>          fflush (stdout);
>  #ifdef HAVE_RESIZETERM
> 
> Of course, it would be much nicer to have configuration options for the
> fonts, but I've no time to implement this yet.
> -- 
> Esda Feinstrumpffabrik GmbH
> Frank Richter, Leiter EDV
> Hauptstr. 76, D-09392 Auerbach
> E-Mail: frichter@esda.com
> +---
> | 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
> +---
> 

+---
| 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 thread ...

Follow-Ups:
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.