home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 15992 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  3.3 KB

  1. Xref: sparky comp.windows.x:15992 comp.unix.aix:9263
  2. Newsgroups: comp.windows.x,comp.unix.aix
  3. 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
  4. From: tmcconne@sedona.intel.com (Tom McConnell)
  5. Subject: Re: tvtwm fails with X11.5 on rs6000 (AIX 3.1.6)
  6. Message-ID: <1992Sep1.181408.13945@ichips.intel.com>
  7. Originator: tmcconne@sedona
  8. Sender: tmcconne@sedona (Tom McConnell)
  9. Organization: Intel Corporation
  10. References:  <1992Aug31.220433.15663@murdoch.acc.Virginia.EDU>
  11. Date: Tue, 1 Sep 1992 18:14:08 GMT
  12. Lines: 69
  13.  
  14.  
  15. In article <1992Aug31.220433.15663@murdoch.acc.Virginia.EDU>, scl@sasha.acc.Virginia.EDU (Steve Losen) writes:
  16. > I built X11.5 on a rs6000 running 3.1.6.  I got the latest source
  17. > for tvtwm (patchlevel 7) and compiled it, but it doesn't work right.
  18. > I was running a MIT X11.4 server on a Sun sparc, but running tvtwm
  19. > and all the other clients on the rs6000.
  20. > Symptom:  tvtwm decorates the windows with titlebars, but I don't
  21. > get any menus when I click on the root window.  Nor does the panner
  22. > appear.  I can iconify/uniconify windows, move them and resize them
  23. > using the titlebar, so I know tvtwm is running.  I got no syntax errors
  24. > from the .tvtwmrc file.  An older version of tvtwm (patchlevel 4)
  25. > compiled under X11.4 runs fine on the rs6000 with this .tvtwmrc.
  26. > I tried compiling both with and without the xpm library (which I
  27. > have built under X11.5).  Neither version worked.
  28. > Has anyone seen this problem and/or have some idea what's wrong?
  29. > I am trying to put together an X11.5 environment for our rs6000
  30. > users, many of whom consider tvtwm essential.
  31. > --
  32. > Steve Losen                     scl@virginia.edu
  33. > University of Virginia Academic Computing Center
  34.  
  35.   I run tvtwm, patch level 7, with X11R5, patch level [12-16], and it works
  36. fine. I run on: IBM RS/6000's (AIX 3.1.6, AIX 3.2); DEC VAXstation 3100 (ultrix
  37. 3.1, ultrix 4.2); Sun SPARC (SunOS 4.1, SunOS 4.1.2); Sun 386i (SunOS 4.0.2);
  38. NCR 3350 (SVR4). Suffice to say there does not appear to be an operating system
  39. dependancy :)
  40.  
  41.   As of version 7, tvtwm runs the .tvtwmrc file through m4. It may be that the
  42. .tvtwmrc file you have is not compatible with m4. Two common complaints that m4
  43. has are:
  44.  
  45.     1. An m4 keyword appears out of (m4) context in the .tvtwmrc file. For
  46.       instance, "include" is an m4 keyword.
  47.  
  48.     2. You use backquotes somewhere in the .tvtwmrc. One of the default "quote"
  49.       characters for m4 is the backquote.
  50.  
  51.   You can check to see if m4 is breaking by running a little test:
  52.  
  53.     1. Start tvtwm with the "-k" option. This will generate an include file for
  54.       m4. The file will be called /tmp/twmrc$$ ($$ is variable).
  55.  
  56.     2. Copy your .tvtwmrc file to a new file, call it fred :)
  57.  
  58.     3. Inlcude the /tmp/twmrc$$ file at the beginning of fred.
  59.  
  60.     4. Run m4 on fred, and capture the output:
  61.  
  62.         % m4 fred >& fred.out
  63.  
  64.     5. Make sure that m4 does not generate any errors.
  65.  
  66.     6. "diff" fred.out with fred and make sure the differences make sense.
  67.  
  68.   If this doesn't fix it, let me know.
  69.  
  70.     Cheers,
  71.  
  72.     Tom McConnell
  73. -- 
  74.  Tom McConnell          |     Internet: tmcconne@sedona.intel.com
  75.  Intel, Corp. C3-21     |     Phone: (602)-554-8229
  76.  5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
  77.  Chandler, AZ  85226    | their right mind would claim them.
  78.