X and mystic geometry problem

This is a discussion on X and mystic geometry problem within the X forums, part of the Help category; 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 ...

Go Back   Unix Linux Forum > Unix > Linux > Help > X

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-30-2007, 08:31 PM
Default 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

--
Tong (remove underscore(s) to reply)
*niX Power Tools Project: http://xpt.sourceforge.net/
- All free contribution & collection
Reply With Quote
  #2  
Old 09-30-2007, 08:31 PM
Default Re: X and mystic geometry problem

* Tong * wrote:
>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?


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.

Reply With Quote
  #3  
Old 09-30-2007, 08:31 PM
Default Re: X and mystic geometry problem

Kip Rugger wrote:

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


yes.


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

Thread Tools


All times are GMT -5. The time now is 11:54 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger