This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with tty size in xterm


On Wed, 29 Sep 2004, Thomas Wolff wrote:

> I recently reported the bug below.
> Now I've come across an issue that might be related and maybe this is
> an additional hint; it's Debian bug #202497:
> 	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=202497

Probably not.  What he's trying to describe is a timing issue with the pty
(which transmits the SIGWINCH to tell the shell how large the window is).

Positioning of the window itself is an entirely different matter
(independent of the pty).


>
> Thomas Wolff
>
>
> > When an xterm is started that has about as many rows as fit on the screen,
> > it may get positioned so that its bottom is beyond the screen bottom.
> > In this case, the tty gets the wrong information about the window size.
> >
> > For example, the following windows shortcut on a 1024x768 screen resolution:
> > D:\cygwin\usr\X11R6\bin\run.exe D:\cygwin\bin\xterm.exe -display localhost:0 -ls  -u8 -fn 10x20 -fw -misc-fixed-medium-r-normal-ko-20-200-75-75-c-200-iso10646-1 -geo 80x36
> > makes the tty pretend to have 35 rows.
> >
> > With -geo 80x33 it works.
> >
> > After a window resize, it also always works.
> >
> > More symptoms:
> >
> > Actually the problem does not seem to depend on screen vs. window size
> > but rather on the actual initial position of the window:
> > Using the "working" setup (-geo 80x33) and starting a number of
> > windows, which get positioned a little bit lower every time, the
> > problem eventually shows up again
> >
> > On the other hand, on a 1600x1200 screen resolution, the problem
> > may also occurs, even if the window is fully visible.
> >
> > Thomas Wolff
>

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]