|
I don't know... I'm not a Linux user. Perhaps someone on the List can tell you? ---------- Forwarded message ---------- Date: Tue, 11 Sep 2001 09:44:24 +0200 From: Laurent Chevrier <chevelu03@ifrance.com> To: klemscot@klements.com Subject: Re: [LINUX5250] Full screen mode Where can I find a rpm version of version 0.16.2 ? ----- Original Message ----- From: "Scott Klement" <klemscot@klements.com> To: <linux5250@midrange.com> Sent: Monday, September 03, 2001 8:06 PM Subject: Re: [LINUX5250] Full screen mode > > > On Mon, 3 Sep 2001, Laurent Chevrier wrote: > > > > Hello, > > > > I'd like to run the xt5250 in full screen mode but I can't make it > > bigger. So it's too small if I want to have a resolution of 1024x768. > > Is there any way to do this? > > Can I assume that you're using version 0.16.2? > > The size of the tn5250 window depends on what size font you're using. > If it's too small for you, just set it to a different font in your > ~/.tn5250rc file. > > Here's a sample ~/.tn5250rc file: > > dsp01 { > host = as400.mydomain.com > env.DEVNAME = DSP01 > -underscores > font_80=-*-fixed-*-*-*-*-*-200-75-100-*-*-*-* > font_132=-*-fixed-*-*-*-*-*-200-75-100-*-*-*-* > } > > > Then, I type: xt5250 dsp01 > > and xt5250 automatically resizes to use those fonts. Of course, you'll > need to find fonts that work well for you... try the 'xlsfonts' command > or 'xfontsel' to see what fonts you have on your system. When you find > a font that you like, set it in your ~/.tn5250rc, just like I did in the > example above. > > > > > > Secondly I've tryed a screen in 27x132 mode and when go from a 80 to a > > 132 screen, the size of the screen change immediately but the part of > > the screen between 80th and 132th row stay black until I press "page > > down" or "page up" button. Will this bug fix in the next version ? > > I've done some looking into this issue, and it appears that for some > reason the width of the screen according to curses doesn't update > immediately. > > Here's an experimental patch you can try to see if it solves that problem > for you... > > --- cursesterm.c 2001/09/03 08:06:53 1.35 > +++ cursesterm.c 2001/09/03 18:00:49 > @@ -616,6 +616,12 @@ > } > This->data->last_width = tn5250_display_width(display); > This->data->last_height = tn5250_display_height(display); > + for (x=0; x<10; x++) { > + refresh (); > + if (tn5250_display_width(display)==curses_terminal_width(This)-1) > + break; > + usleep(10000); > + } > } > attrset(A_NORMAL); > getmaxyx(stdscr, my, mx); > > > > > > Thanks by advance. > > > > PS : Sorry for my english, I'm french ! > > > > Hope that helps! > >
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.