It's hot enough to boil a monkey's butt.
    --Dr. Mouth (CIUT 89.5FM Toronto)
[img(MGv)]

Home
MGv
   | Binaries
   | LessTif
   | Contributors
   | SGI Icons
   | Screenshots
Unix Shell
Palm Pilot
Miscellaneous
Source
Links

MGv: A Motif PostScript Viewer

MGv is a Motif PostScript viewer loosely based on Ghostview 1.5. MGv is distributed under the terms of the GNU General Public License. The current version is 3.1.5 and it is available in the following archives:
mgv-3.1.5.tar.gz
[740K]
The mgv source for 3.1.5. This release fixes some problems with the mark even/odd toolbar buttons.
mgv-3.1.5.ps.gz
[436K]
The PostScript manual for mgv 3.1.5. You don't need this but it seems silly releasing a PostScript viewing without a PostScript version of the manual. This file is formatted for US Letter paper.
mgv-3.1.5-a4.ps.gz
[435K]
The PostScript manual for mgv 3.1.5. You don't need this but it seems silly releasing a PostScript viewing without a PostScript version of the manual. This file is formatted for A4 paper.
mgv-3.1.5-sgi-icons.tar.gz
[34K]
SGI 4DWM icons for mgv. This archive contains three icons.
Recent fixes:
  • 3.1.5: fixed a problem with the mark even and mark odd toolbar buttons.
  • 3.1.4: fixed a window auto-sizing bug
  • 3.1.3: added a small work-around for a LessTif keyboard accelerator bug
  • 3.1.2: fixed another memory bug in the Netscape HTML help
  • 3.1.1: fixed a nasty memory corruption bug that was in 3.1.0
The History section of the manual contains a full list of changes starting at version 1.0.

If you're having problems getting mgv to link and you're getting complaints about ICE and/or SM functions, then you'll want one of these patches:

mgv-3.1.5-Makefile.in.diff
[1K]
A minor patch to mgv's Makefile.in for people having problems with the ICE and SM libraries from X11R6. The configure script was finding libICE and libSM but the Makefile.in wasn't set up to use them. If you're hacking mgv and you use automake, you probably want the other patch.
mgv-3.1.5-Makefile.am-in.diff
[1K]
A minor patch to mgv's Makefile.am and Makefile.in for people having problems with the ICE and SM libraries from X11R6. The configure script was finding libICE and libSM but the Makefile.in (which is generated from Makefile.am) wasn't set up to use them. If you're just building mgv, you probably want the other patch instead.
The problem seems to be pretty rare and I'm planning on another major release pretty soon so I'm not bothering with a new release to fix this little problem. If you're having problems with Xp functions (I think RedHat's Motif 2.1 on Linux is the only place where this will happen), then you'll want this patch:
mgv-3.1.5-configure.diff
[2K]
A minor patch to mgv's configure script for people using RedHat 5.1 with RedHat's Motif 2.1. RedHat's Motif seems to need the Xp and Xext libraries, these libraries come with XFree86 but mgv's configure wasn't looking for them. If you're not having any problems or you don't have RedHat's Motif 2.1, then don't use this patch.
All of these patches will be properly integrated in the next mgv release. Binaries for various systems are also available. The latest version uses GNU autoconf for compilation and installation support and adds a toolbar.

You will need X11R5 or X11R6, an ANSI C compiler with ANSI/POSIX libraries, and Motif 1.2 or higher or LessTif 0.82 or higher to compile mgv. The autoconf'ed mgv is known to work with the following systems:

  • FreeBSD 2.2.7-STABLE
  • HP-UX 9.05 with gcc
  • Linux/libc5 with Mootif
  • RedHat Linux 5.1 with LessTif 0.86
  • SGI Irix 6.2 with SGI's compiler
  • Sun Solaris 2.6 with gcc
and the old non-autoconf mgv worked the following systems:
  • AT&T MP-RAS running NCR Unix 3.0 with cc and gcc 2.7.2.
  • DEC Alpha running OSF/1 4.0 with cc and gcc 2.7.2
  • Encore UMAXV/m88k with gcc
  • FreeBSD 3.0
  • IBM running AIX 4.3/4.1/3.2.5 with gcc 2.7.2 and xlc
  • SCO 5.0 (elf) with cc
  • SGI Irix 5.3
  • Sequent Symmetry i586 running Dynix/ptx 4.0 with cc
  • Siemens-Nixdorf RM300 running Sinix 5.42 with c89
  • UnixWare 2.1.2 with cc
which should still work.

To run MGv, you will need GhostScript (version 3.33 or higher is recommended, 4.03 works too) which is available from the main GNU site and the GhostScript site.

If you want to see some screen shots, you'll have to go to a separate page.

The user's manual for MGv is available on-line or in the source distribution; if you actually use MGv, please install the HTML files locally.

Binaries

HP-UX binaries for MGv are available at the HP-UX Porting and Archive Center. Last time I checked, the HP Porting Center's MGv binaries were way out of date and the version they had was buggy so you should check another source (such as The Written Word) if you need binaries.

Binaries for various platforms are also available from The Written Word via FTP or on CD.

FreeBSD binaries are available from the ports section of the FreeBSD Homepage.

If anyone knows where binaries for other platforms are available, please let me know. The various binary distributions may be out of date but you can always build from the source.

MGv and LessTif

If you want to use MGv with LessTif, then you should use LessTif 0.83 or later. As of about 1998.07.05 I don't know of any problems that MGv has with LessTif (or vice versa). If you find any LessTif specific problems with MGv, send mail to the LessTif mailing list and/or me.

MGv Contributors

My apologies if I've missed anyone in this list.

SGI 4DWM Icons

Here are some icons for 4DWM users:
mgv.icon mgv.icon.2 mgv.icon.3
As far as I know they are the right size and in the right format. You'll have to figure out how to configure 4DWM to use them yourself since I don't have an SGI. You can also download all three at once:
mgv-3.1.5-sgi-icons.tar.gz
[34K]
SGI 4DWM icons for mgv. This archive contains three icons.
If you want the GIMP XCF files for these icons, just ask.

Screenshots

If you don't have Motif 2.0 or higher, then don't bother trying the backgroundPixmap things since they won't work and they might give you X-Protocol errors.

This is a plain MGv window:

[Screen Shot]


If you're into enlightenment then you might like this:

[Fancy Screen Shot]

To get this effect, you just set the following resources:

MGv*view*backgroundPixmap:        XmUNSPECIFIED_PIXMAP
MGv*backgroundPixmap:             tile.xpm
MGv*foreground:                   black
MGv*background:                   orange
MGv*mgv.foreground:               black
MGv*mgv.background:               white
MGv*XmText.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap: XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
and make sure the XPM file can be found (the easiest way to make sure it can be found is to use a full pathname); since text and list widgets don't deal with background pixmaps very well, there is no point in trying to use pixmaps with them.


If you worship the holy coffee bean, you might like this:

[Fancy Screen Shot]

To get this effect, you just set the following resources:

MGv*view*backgroundPixmap:        XmUNSPECIFIED_PIXMAP
MGv*backgroundPixmap:             java.xpm
MGv*foreground:                   Gold2
MGv*background:                   Gray14
MGv*mgv.foreground:               black
MGv*mgv.background:               white
MGv*XmText.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap: XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:      XmUNSPECIFIED_PIXMAP
I don't remember where I got the tiles.

If you want to experiment with other cool tiles, make sure you always set the backgroundPixmap to XmUNSPECIFIED_PIXMAP in the scrolled window (MGv*view*backgroundPixmap: XmUNSPECIFIED_PIXMAP); if you don't, you'll probably get an X-protocol error at start up. Of course this could be made much better by assigning different pixmaps to push buttons and different regions of the various dialogs. Maybe I'll have time to experiment a little more (if any one comes up with a really cool set of pixmaps, let me know).


[Fancy Screen Shot]
MGv*backgroundPixmap:              chunky.xpm
MGv*foreground:                    PapayaWhip
MGv*background:                    DarkSlateGray
MGv*mgv.foreground:                black
MGv*mgv.background:                white
MGv*XmText.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap:  XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmPushButton.backgroundPixmap: background8.xpm
MGv*XmPushButton.foreground:       Yellow
MGv*XmPushButton.background:       SaddleBrown
MGv*view*backgroundPixmap:         XmUNSPECIFIED_PIXMAP


[Fancy Screen Shot]
MGv*backgroundPixmap:              chunky.xpm
MGv*foreground:                    PapayaWhip
MGv*background:                    DarkSlateGray
MGv*mgv.foreground:                black
MGv*mgv.background:                white
MGv*XmText.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap:  XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmPushButton.backgroundPixmap: marble2.xpm
MGv*XmPushButton.foreground:       Black
MGv*XmPushButton.background:       Gray82
MGv*view*backgroundPixmap:         XmUNSPECIFIED_PIXMAP


[Fancy Screen Shot]
MGv*backgroundPixmap:              chunky.xpm
MGv*foreground:                    PapayaWhip
MGv*background:                    DarkSlateGray
MGv*mgv.foreground:                black
MGv*mgv.background:                white
MGv*XmText.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmTextField.backgroundPixmap:  XmUNSPECIFIED_PIXMAP
MGv*XmList.backgroundPixmap:       XmUNSPECIFIED_PIXMAP
MGv*XmPushButton.backgroundPixmap: redstcd.xpm
MGv*XmPushButton.foreground:       DeepSkyBlue2
MGv*XmPushButton.background:       Maroon4
MGv*view*backgroundPixmap:         XmUNSPECIFIED_PIXMAP

The backgroundPixmap resource only seems to work with Motif 2.0.1 but the addition of a String to Pixmap type converter that understood XPM files would probably fix this for other Motif versions.

Eric Howe
mu@trends.net
1999-05-25
16:40:18 UTC

Government is anarchy's way of making more anarchy.
    --Simon Moon ("The Schrödinger's Cat Trilogy", Robert Anton Wilson)
[img(MGv)]