Ghostview 1.5 - dxwm and ncdwm problem
Last updated July 26, 1995.
GHOSTVIEW 1.5: NOTICE TO USERS OF DXWM (DECTERM WINDOW MANAGER)
OR NCDWM (NCD WINDOW MANAGER)
There is a known problem with Ghostview 1.5 and these 2 window
managers:
Symptom: When running ghostview 1.5, ncdwm and dxwm can get
confused when resizing the window, making it
extremely small or making it go away altogether.
This can occur when using the "magnification" menu
to shrink the size of the document displayed.
Solution: If you are using dxwm or ncdwm window managers, you
can specify the -ncdwm flag for ghostview, which fixes
this problem. This flag is documented in the man page
for ghostview. For example:
% ghostview -ncdwm myfile.ps
Note that you may receive messages in the launching
window about the "Window Manager being confused", but
the window will stay a reasonable size.
DO NOT use this flag if you are running mwm (Motif
window manager), as it causes mwm to be confused.
The twm (Tom's window manager) seems unaffected by the bug
as well as the fix.
Automating: If you use dxwm or ncdwm and wish to automate the use
of this flag, you can do it in 3 ways:
a) In your home directory .Xdefaults file, add the
following lines:
! To prevent tiny window when resizing with ghostview
! 1.5 and dxwm or ncdwm window managers:
!
*Ghostview.ncdwm: True
!
This change will take affect the next time you read
your .Xdefaults file. (via login or xrdb command)
b) Use an alias in your .login or .cshrc file. For example:
alias ghostview ghostview -ncdwm
c) IF YOU USE XMOSAIC, you will also want to add the
following line in your home directory's .mailcap file,
to ensure that xmosaic also uses the required -ncdwm
flag:
application/postscript; ghostview -ncdwm %s
dps@physics.ucsb.edu