Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!husc6!rutgers!paul.rutgers.edu!henglein From: henglein@paul.rutgers.edu (Fritz Henglein) Newsgroups: comp.windows.x Subject: xfig Keywords: no popup menus Message-ID: Date: 8 Nov 88 19:57:55 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 33 I have just received X11R3, and I have tried to install one of the two figure drawing programs, xfig and xpic, included in part 1 of the user contributed software, unfortunately unsuccessfully in both cases. More specifically, xfig contains the line extern XrmDatabase XtDefaultDB; in main.c; I couldn't find such a thing as an XtDefaultDB anywhere in the whole distribution, though. After nulling XtDefaultDB, xfig started up and drew some nice figures, but pressing the right mouse button in the canvas area, which is supposed to make a menu pop up with all sorts of essential options, would invariably cause a segmentation error. The rather suspicious definition of the routine set_popupmenu in the file popup.c is set_popupmenu(event) INPUTEVENT *event; { } If somebody knows what the definition of this procedure really ought to be and if somebody could tell me, more generally, how to get xfig to work on a Sun3/SunOS3.5 system, I'd be most thankful. Please forgive my general ignorance about the internals of the X windows system (I program in SETL). Also, since I don't read comp.windows.x regularly, I would appreciate a direct email response very much. Thank you very much in advance, Fritz Henglein (henglein@{nyu.edu, acf2.nyu.edu, paul.rutgers.edu})