home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11473 < prev    next >
Encoding:
Text File  |  1992-11-10  |  2.6 KB  |  70 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!news.tek.com!psgrain!charnel!rat!usc!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!uchinews!geosun.uchicago.edu!valdes
  3. From: valdes@geosun.uchicago.edu (John Valdes)
  4. Subject: Minor X11 problems (AIX 3.2.0)
  5. Message-ID: <1992Nov10.185015.14098@midway.uchicago.edu>
  6. Keywords: X, xrdb, xterm
  7. Sender: news@uchinews.uchicago.edu (News System)
  8. Organization: Department of the Geophysical Sciences, University of Chicago
  9. Date: Tue, 10 Nov 1992 18:50:15 GMT
  10. Lines: 58
  11.  
  12. Hello all,
  13.  
  14. I've been configuring X11R4 (the version that came with AIX 3.2.0), but
  15. have encountered some minor problems.  I wrote a script to start the X
  16. server and a few default clients (ala startx), but while the X server
  17. always comes up fine, occasionally some of the clients (in particular,
  18. xrdb) never do.  For example, consider the following which is taken
  19. from a script which starts the default X clients:
  20.  
  21. ...
  22.  
  23. #
  24. # Load default resources
  25. #
  26.  
  27. if [ -f $HOME/.Xdefaults ]; then
  28.     xrdb -load $HOME/.Xdefaults
  29. else
  30.     xrdb -load $XHOME/lib/Xdefaults  # XHOME == /usr/lpp/X11, which as already
  31. fi                                   #   been defined elsewhere
  32.  
  33. #
  34. # Start default clients
  35. #
  36.  
  37. aixterm &
  38. xclock -geometry 100x100-5+5 &
  39.  
  40. # Start up window manager last
  41.  
  42. mwm
  43.  
  44.  
  45. The problem I've been having with this is that xrdb runs, buts doesn't
  46. load the resources from the appropriate file.  Aixterm, xclock and mwm
  47. all start properly, however.  If I run xrdb manually from the aixterm
  48. that starts up, though, xrdb works fine.  The problem occurs
  49. regardless of when xrdb is run; if I start aixterm and xclock before
  50. xrdb, aixterm and xclock start, but xrdb still fails to run properly.
  51.  
  52. Another problem I've encountered is with xterm (not aixterm).  If I start
  53. an xterm in the script above, the xterm will start up, but the <ENTER>
  54. key on the HFT does not function properly.  I have to type 'reset ^J'
  55. (I have to use ^J, control-J, to enter the command) in order for the
  56. <ENTER> key to function properly.  The same problem occurs if the xterm
  57. is started from mwm's root menu.  If I start the xterm on a command
  58. line from within another [ai]xterm, the xterm functions properly.
  59.  
  60. Anyone have a similar experience, and more importantly, anyone know
  61. how to fix it?  The system is running AIX 3.2.0, X11rte 1.2 with
  62. updates U402023, U402376, U402470, U402659, U402819 applied.  I'm
  63. using the xterm and xrdb executables that came with the OS (that is,
  64. not executables compiled from source in /usr/lpp/X11/Xamples).
  65.  
  66. Thanks for any assistance.
  67.  
  68. John Valdes
  69. valdes@geosun.uchicago.edu
  70.