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: -resizeThis 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-hostnameand 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-hostnameThe changes will take effect upon the next graphical login.
See also
Manual pages: xterm(XC), resize(XC)