home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / 15728 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.8 KB  |  47 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!cs.utexas.edu!convex!poorman
  3. From: poorman@convex.com (Peter Poorman)
  4. Subject: Re: xterm popup menu strangeness
  5. Message-ID: <poorman.714941947@convex.convex.com>
  6. Sender: usenet@convex.com (news access account)
  7. Nntp-Posting-Host: swatc1.convex.com
  8. Organization: CONVEX Computer Corporation, Richardson, Tx., USA
  9. References: <1992Aug26.172950.1002@cbnewsj.cb.att.com> <2232@fnnews.fnal.gov>
  10. Date: Thu, 27 Aug 1992 18:59:07 GMT
  11. X-Disclaimer: This message was written by a user at CONVEX Computer
  12.               Corp. The opinions expressed are those of the user and
  13.               not necessarily those of CONVEX.
  14. Lines: 31
  15.  
  16. In article <1992Aug26.172950.1002@cbnewsj.cb.att.com>, dbw@cbnewsj.cb.att.com (david.b.wood) writes:
  17. > On my xterm (direct from the X11R5 distribution) the popup menus don't
  18. > work correctly.  All I get with ctrl-leftbutton is a little box big
  19. > enough for the "Main" title, and nothing else.  The other two popups
  20. > do the same thing, except no text at all.
  21.  
  22. In <2232@fnnews.fnal.gov> shah@fnsony.fnal.gov (Hemant Shah) writes:
  23.  
  24. >I had similar problem with xterm. I turned out that I had set the size of
  25. >xterm in my .Xdefaults file 
  26. >Example:
  27. >      XTerm*geometry:                80x40
  28.  
  29. >when I removed this line from my .Xdefaults file and added '-geometry' option
  30. >on command line the problem was gone.
  31.  
  32. You're on the right track.
  33.  
  34. When you say "xterm*geometry" you're changing the geometry of EVERYTHING
  35. in xterm, including the pop-up menus.  Since the sizes of the popups are
  36. in pixels, not characters, they end up very small.
  37.  
  38. The fix is to specify the geometry for the vt100 widget, rather than a 
  39. global xterm geometry.  For example:
  40.  
  41.     XTerm*vt100.geometry: 80x40
  42.  
  43. This leaves the rest of xterm with the default geometry.
  44.  
  45. -- Pete Poorman
  46.    poorman@convex.com
  47.