Operating System - HP-UX
1833847 Members
2287 Online
110063 Solutions
New Discussion

Re: How to set more lines in one window while using XWindows CDE?

 
SOLVED
Go to solution
Jack_27
Advisor

How to set more lines in one window while using XWindows CDE?

Hi,

I wanted to enlarged the display window while using the XWindows,but little useful stuff was gotten and the window still kept the same size after I tried some commands such as "stty rows 2000"...

Any comments?
Thanks.

Jack
7 REPLIES 7
T G Manikandan
Honored Contributor
Solution

Re: How to set more lines in one window while using XWindows CDE?

You can try doing this

Edit your
$HOME/.Xdefaults

Dtterm*geometry: 80x24

you can change the right hand column to enlarge the size of the window.
you can also use the style manager for the same


Thanks
Alex Glennie
Honored Contributor

Re: How to set more lines in one window while using XWindows CDE?

try dtterm -geometry WxH ?

where W=width
H=height

see man 1 dtterm .

can be set via a resource too

dtterm*geometry :

in the users $HOME/.Xdefaults file ... if it does not exist simply create one : log out of X then back in for the change to take effect.

Nb you may also be interested in the savelines
and scrollbar resources too .... again set in similar way .... man page has all available resources listed ...

xterm and hpterm work in exactly the same way
Jack_27
Advisor

Re: How to set more lines in one window while using XWindows CDE?

Alex and TG

Thanks for your comments.It does work well.
However I met the error infor below after added the relevant line in my .Xdefaults.

Warning: Shell widget "dtterm" has an invalid geometry specification: "80x240 "
Warning: Shell widget "dtterm" has an invalid geometry specification: "80x240 "
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Shell widget "popup_Window" has an invalid geometry specification: "80x240 "
Warning: Shell widget "popup_Edit" has an invalid geometry specification: "80x240 "
Warning: Shell widget "popup_Options" has an invalid geometry specification: "80x240 "
Warning: Shell widget "popup_Window Size" has an invalid geometry specification: "80x240 "
Warning: Shell widget "popup_Help" has an invalid geometry specification: "80x240 "
Warning: Shell widget "popup_menu_popup" has an invalid geometry specification: "80x240 "
Warning: Shell widget "dtterm" has an invalid geometry specification: "80x240 "
Warning: Shell widget "dtterm" has an invalid geometry specification: "80x240 "
T G Manikandan
Honored Contributor

Re: How to set more lines in one window while using XWindows CDE?

check for the latest run-time patch

check this patch
PHSS_20864
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_20864&context=hpux:800:11:00

latest
PHSS_25194

Hope it fixes it
Alex Glennie
Honored Contributor

Re: How to set more lines in one window while using XWindows CDE?

I'd also suggest PHSS_27230 s700_800 11.00 or it's O/S equivalent X/Motif 32bit Runtime Periodic Patch

as the error you report sounds as if dtksh maybe involved here : from patch text ->

9. RowColumn Widget size is not resized on X11R6,MOTIF2.1. amongst others ......

Also the dt-interface errors suggest your CDE session is running remtotely .... ie not local to the hpux system but on a PC or Xterminal.

If this is true you may find setting up xfs (a font server) on the hpux system will resolve these warnings : try a quick search on this forum as the setup details for xfs have been documented a lot .... if you still can't find the details get back in touch and I'll post them again if needed .....


ps if the patches don't resolve the problem, can you detail O/S , what you do to generate them and on what H/W and/or S/W is involved as it will help ....
Wodisch_1
Honored Contributor

Re: How to set more lines in one window while using XWindows CDE?

Hi Jack,

are you certain you want a windows with 240 LINES???
Aren't you asking for a scrollbar to scroll back up to 240 lines?
The "dtterm" *wants* its windows to fit into your root-window (read: your screen), and I seriously doubt you have a root-window of that size! (I use 1600x1280 pixels and "dtterm" with 160x72 characters, but that's it - kind of).
So try:

dtterm -fn 9x16 -sb -sl 1000 -geom 80x25

and see wether that's what you need (you can scroll back a thousand miles, ahm, lines).

FWIW,
Wodisch
Jack_27
Advisor

Re: How to set more lines in one window while using XWindows CDE?

Hi,my friends

I've just found the patch needed then suggested our sys administrator have a try with it.
However he's busy fixing other problems and I could use the command to set the window size now,thus maybe I will find a idle server to install these patches and test them in my spare time.

Thank all of you.

Jack