X and mystic geometry problem

• 10-01-2007, 12:31 AM
unix
X and mystic geometry problem
Whenever I launch xterm, I get a geometry of 80x25, because I set
so in my X resource. However, whenever I pin-point where I want to
put it, with -geometry +/-x+/-y, I get a geometry of 80x24 -- i.e.,
one line shorter than normal. Why is that?

Proof:

\$ xterm &

\$ xwininfo | grep geometry
-geometry 80x25+137+137

\$ xterm -geometry +14+14 &

\$ xwininfo | grep geometry
-geometry 80x24+14+14

Anybody knows how to fix it?

Thanks

--
*niX Power Tools Project: [url]http://xpt.sourceforge.net/[/url]
- All free contribution & collection
• 10-01-2007, 12:31 AM
unix
Re: X and mystic geometry problem
* Tong * <sun_tong@users.sourceforge.net> wrote:[color=blue]
>Whenever I launch xterm, I get a geometry of 80x25, because I set
>so in my X resource. However, whenever I pin-point where I want to
>put it, with -geometry +/-x+/-y, I get a geometry of 80x24 -- i.e.,
>one line shorter than normal. Why is that?
>
>Proof:
>
>\$ xterm &
>
>\$ xwininfo | grep geometry
> -geometry 80x25+137+137
>
>\$ xterm -geometry +14+14 &
>
>\$ xwininfo | grep geometry
> -geometry 80x24+14+14
>
>Anybody knows how to fix it?[/color]

A variation of this problem came up a couple of weeks ago in cwx.

Xterm (for some unknown reason) thinks it can do a better job at
resource management than the Xt wm shell widget -- trouble is that it
can't. So, if you repeated your experiment on a properly written Xt
app, you would get the behaviour that you expected.

I think Thomas Dickey, the xterm maintainer, is looking at the problem.

• 10-01-2007, 12:31 AM
unix
Re: X and mystic geometry problem
Kip Rugger <kbr@pangea.ca> wrote:
[color=blue]
> A variation of this problem came up a couple of weeks ago in cwx.[/color]
[color=blue]
> Xterm (for some unknown reason) thinks it can do a better job at
> resource management than the Xt wm shell widget -- trouble is that it
> can't. So, if you repeated your experiment on a properly written Xt
> app, you would get the behaviour that you expected.[/color]
[color=blue]
> I think Thomas Dickey, the xterm maintainer, is looking at the problem.[/color]

yes.

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