home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:15992 comp.unix.aix:9263
- Newsgroups: comp.windows.x,comp.unix.aix
- Path: sparky!uunet!sun-barr!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!eff!iWarp.intel.com|ichips!tmcconne
- From: tmcconne@sedona.intel.com (Tom McConnell)
- Subject: Re: tvtwm fails with X11.5 on rs6000 (AIX 3.1.6)
- Message-ID: <1992Sep1.181408.13945@ichips.intel.com>
- Originator: tmcconne@sedona
- Sender: tmcconne@sedona (Tom McConnell)
- Organization: Intel Corporation
- References: <1992Aug31.220433.15663@murdoch.acc.Virginia.EDU>
- Date: Tue, 1 Sep 1992 18:14:08 GMT
- Lines: 69
-
-
- In article <1992Aug31.220433.15663@murdoch.acc.Virginia.EDU>, scl@sasha.acc.Virginia.EDU (Steve Losen) writes:
- > I built X11.5 on a rs6000 running 3.1.6. I got the latest source
- > for tvtwm (patchlevel 7) and compiled it, but it doesn't work right.
- >
- > I was running a MIT X11.4 server on a Sun sparc, but running tvtwm
- > and all the other clients on the rs6000.
- >
- > Symptom: tvtwm decorates the windows with titlebars, but I don't
- > get any menus when I click on the root window. Nor does the panner
- > appear. I can iconify/uniconify windows, move them and resize them
- > using the titlebar, so I know tvtwm is running. I got no syntax errors
- > from the .tvtwmrc file. An older version of tvtwm (patchlevel 4)
- > compiled under X11.4 runs fine on the rs6000 with this .tvtwmrc.
- > I tried compiling both with and without the xpm library (which I
- > have built under X11.5). Neither version worked.
- >
- > Has anyone seen this problem and/or have some idea what's wrong?
- > I am trying to put together an X11.5 environment for our rs6000
- > users, many of whom consider tvtwm essential.
- >
- > --
- > Steve Losen scl@virginia.edu
- >
- > University of Virginia Academic Computing Center
-
- I run tvtwm, patch level 7, with X11R5, patch level [12-16], and it works
- fine. I run on: IBM RS/6000's (AIX 3.1.6, AIX 3.2); DEC VAXstation 3100 (ultrix
- 3.1, ultrix 4.2); Sun SPARC (SunOS 4.1, SunOS 4.1.2); Sun 386i (SunOS 4.0.2);
- NCR 3350 (SVR4). Suffice to say there does not appear to be an operating system
- dependancy :)
-
- As of version 7, tvtwm runs the .tvtwmrc file through m4. It may be that the
- .tvtwmrc file you have is not compatible with m4. Two common complaints that m4
- has are:
-
- 1. An m4 keyword appears out of (m4) context in the .tvtwmrc file. For
- instance, "include" is an m4 keyword.
-
- 2. You use backquotes somewhere in the .tvtwmrc. One of the default "quote"
- characters for m4 is the backquote.
-
- You can check to see if m4 is breaking by running a little test:
-
- 1. Start tvtwm with the "-k" option. This will generate an include file for
- m4. The file will be called /tmp/twmrc$$ ($$ is variable).
-
- 2. Copy your .tvtwmrc file to a new file, call it fred :)
-
- 3. Inlcude the /tmp/twmrc$$ file at the beginning of fred.
-
- 4. Run m4 on fred, and capture the output:
-
- % m4 fred >& fred.out
-
- 5. Make sure that m4 does not generate any errors.
-
- 6. "diff" fred.out with fred and make sure the differences make sense.
-
- If this doesn't fix it, let me know.
-
- Cheers,
-
- Tom McConnell
- --
- Tom McConnell | Internet: tmcconne@sedona.intel.com
- Intel, Corp. C3-21 | Phone: (602)-554-8229
- 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in
- Chandler, AZ 85226 | their right mind would claim them.
-