home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- 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
- From: valdes@geosun.uchicago.edu (John Valdes)
- Subject: Minor X11 problems (AIX 3.2.0)
- Message-ID: <1992Nov10.185015.14098@midway.uchicago.edu>
- Keywords: X, xrdb, xterm
- Sender: news@uchinews.uchicago.edu (News System)
- Organization: Department of the Geophysical Sciences, University of Chicago
- Date: Tue, 10 Nov 1992 18:50:15 GMT
- Lines: 58
-
- Hello all,
-
- I've been configuring X11R4 (the version that came with AIX 3.2.0), but
- have encountered some minor problems. I wrote a script to start the X
- server and a few default clients (ala startx), but while the X server
- always comes up fine, occasionally some of the clients (in particular,
- xrdb) never do. For example, consider the following which is taken
- from a script which starts the default X clients:
-
- ...
-
- #
- # Load default resources
- #
-
- if [ -f $HOME/.Xdefaults ]; then
- xrdb -load $HOME/.Xdefaults
- else
- xrdb -load $XHOME/lib/Xdefaults # XHOME == /usr/lpp/X11, which as already
- fi # been defined elsewhere
-
- #
- # Start default clients
- #
-
- aixterm &
- xclock -geometry 100x100-5+5 &
-
- # Start up window manager last
-
- mwm
-
-
- The problem I've been having with this is that xrdb runs, buts doesn't
- load the resources from the appropriate file. Aixterm, xclock and mwm
- all start properly, however. If I run xrdb manually from the aixterm
- that starts up, though, xrdb works fine. The problem occurs
- regardless of when xrdb is run; if I start aixterm and xclock before
- xrdb, aixterm and xclock start, but xrdb still fails to run properly.
-
- Another problem I've encountered is with xterm (not aixterm). If I start
- an xterm in the script above, the xterm will start up, but the <ENTER>
- key on the HFT does not function properly. I have to type 'reset ^J'
- (I have to use ^J, control-J, to enter the command) in order for the
- <ENTER> key to function properly. The same problem occurs if the xterm
- is started from mwm's root menu. If I start the xterm on a command
- line from within another [ai]xterm, the xterm functions properly.
-
- Anyone have a similar experience, and more importantly, anyone know
- how to fix it? The system is running AIX 3.2.0, X11rte 1.2 with
- updates U402023, U402376, U402470, U402659, U402819 applied. I'm
- using the xterm and xrdb executables that came with the OS (that is,
- not executables compiled from source in /usr/lpp/X11/Xamples).
-
- Thanks for any assistance.
-
- John Valdes
- valdes@geosun.uchicago.edu
-