Operating System - HP-UX
1843342 Members
3243 Online
110214 Solutions
New Discussion

Re: How can I set the hpterm defaults in CDE?

 
SOLVED
Go to solution
Gram Ludlow
Frequent Advisor

How can I set the hpterm defaults in CDE?

I'm trying to figure out how to set the default behavior of the Hpterm window in CDE.

I'm running HPUX 11.00 on sever systems. On my main workstation, the hpterm windows have a scrollbar and a large line buffer. On others, it has no scrollbar and the default buffer (visible+1).

I read man hpterm, it mentions all the settings for the widget, but fails to explain where these settings can be found and modified.

Any help would be great! Thanks in advance.
Turning and turning in the widening gyre,
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: How can I set the hpterm defaults in CDE?

Hi Gram:

You will need to modify or create a resources file 'HPterm' in /usr/lib/X11/app-defaults.
The exact spelling is important!!

The file should have this entry:
*scrollBar: True

The file should be owned by bin:bin and have permissions 644.

Note: This will set the system wide values but individuals can override their definitions.
You may have to restart your session for the change to take effect.

Regards, Clay

If it ain't broke, I can fix that.
Alex Glennie
Honored Contributor

Re: How can I set the hpterm defaults in CDE?

...Or on a per user basis : Vi $HOME/.Xdefaults :

HPterm*saveLines : ###

.... or run "hpterm -sl ###" from the command line.

nb *saveLines : ### should affect all terminal clients who have a savelines resource eg dtterm & xterm too !