Operating System - HP-UX
1826415 Members
3774 Online
109692 Solutions
New Discussion

Re: dtterm geometry issues

 
Dan Holm
Occasional Contributor

dtterm geometry issues

When I create a dtterm with the -geometry option or equivalent X resource, the height is always one line greater than what I specify. Then, if I create a new window from that terminal using Window/New, the height is always three less than what I specify.

So, for example, if I issue:

/usr/dt/bin/dtterm -geometry 100x40

The resulting window is 100x41. If I then use Window/New to create a new window, the geometry of that second window is 100x37.

I've installed every X, CDE, and Motif patch I can find in ITRC, but the behavior doesn't change. Any ideas?

My OS revision as shown by uname is HP-UX B.11.11 U 9000/785.

Thanks,
Dan
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: dtterm geometry issues

This may be a limitation of fonts or the TERM being used.

I can't see every possible combination working right or accounted for in the driver design.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Biswajit Tripathy
Honored Contributor

Re: dtterm geometry issues

Hmm.. interesting.

My observation is a little different tho'. When I run
"dtterm -geometry 100x40", I get a window with
100x40 size (as expected). But when I create
another one using menu option "New", I _always_
get the new windown with same columns, but with
# of lines less than original by 3. So if I open first
window with geometry 80x35, the second one will
have geometry of 80x32. This goes up till line is 49.
After that, executing dtterm with 80x50 (or > 50)
geometry opens a window of geometry 80x49
always. The second window (opened by option
"New") also maximizes at 49.

Another interesting fact is, you don't see any of
these if you open dtterm without "-geometry"
(which defaults to 80x24), but if you open dtterm
with "- geometry 80x24" at command line, problem
shows up.

Appears to be a bug with dtterm.

- Biswajit
:-)
Christian Deutsch_1
Esteemed Contributor

Re: dtterm geometry issues

Dear Dan,

As far as window geometries go, I can certainly recommend to download and use the gnome from the HP-UX website. You can configure gnome to save window geometries by window title, which comes in very handy for me.

Kind regards, Christian
Yeshua loves you!