Technical article 110814

How do I restrict xterm window resizing on the SCO OpenServer 5.x desktop?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5

Written · Last revised

Problem

Certain applications do not have the proper look or function when the xterm window on the desktop is resized from the default. How can I restrict xterm window resizing?

Solution

There are two ways to restrict xterm window resizing: globally, and individually.

Global Restriction:
-  To globally restrict xterm window resizing on the desktop,
append the following two lines to the end of the
/usr/lib/X11/app-defaults/Pmwm file:
*XTerm*clientDecoration:        -resizeh
*XTerm*clientFunctions:         -resize

This assumes that the default window manager, pmwm, the Panorama window manager, is being used.

Individual Restriction:
-  To restrict xterm window resizing on the desktop for an
individual, create a file in their $HOME directory called:
.Xdefaults-hostname

and populate it with the same two lines shown above. Note that "hostname" in the filename should be the system name of the host that the individual is working on.

Example path to .Xdefaults-hostname:
/usr/john/.Xdefaults-hostname

The changes will take effect upon the next graphical login.

See also

Manual pages: xterm(XC), resize(XC)

From the Xinuos technical article database, record 110814. Reproduced with permission. The original is at www.sco.com/ta/110814, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.