[comp.windows.x] Help with xrdb?

mike@octel.UUCP (Michael D. Crawford) (09/08/89)

I am having trouble, either with xrdb, or with xterm, when starting up X with
xinit.  What seems to happen is that all the xterms started in my .xinitrc
file ignore the properties database.  Any xterms I start up later, whether 
from a shell command, or from a menu selection under uwm, seem to work
properly.

This is on a Sun 3/60 running SunOS 4.0.1, with the vanilla X11R3 tape from
MIT.

here is my .Xdefaults file:

*titeInhibit:	on

This is to inhibit use of the ti and te termcap strings that switch xterm
to an alternate display buffer.  I understand that if no program name is
given, the resource is given to all programs.

Here are the pertinent parts of my .xinitrc:

#!/bin/sh
# This is a bourne-shell script to initialize X-Windows. (~/.xinitrc)

PATH=/usr/bin/X11:$PATH ; export PATH
DISPLAY=`hostname`:0.0; export DISPLAY	# Set default display (to monochrome)

# General stuff
xrdb -display $DISPLAY -load /c/mike/.Xdefaults
xhost + > /dev/null &			# Let anyone create windows here
xset m 3 2				# Make the mouse track nonlinearly

# Set up utilities for primary screen
uwm &							# Window manager

xterm -geometry 80x55+495+5 -e gnuemacs -nw &

rsh octela -n -l root /usr/bin/X11/xterm -ls -n Octela \
	-display $DISPLAY -geometry 80x24+1+1 \
	'>&/dev/null' '</dev/null &' > /dev/null

# Note -- this one isn't run in background; must exit for X to quit:
xterm -ls -C -geometry 80x43+1-5 -n login		# Login window




-- 
Michael David Crawford			Consulting for:
Oddball Enterprises			Octel Communications Corp
694 Nobel Drive				890 Tasman Drive
Santa Cruz, CA 95060			Milpitas CA 95035
uunet!apple!vsi1!octel!mike
CI$ 72377,623

Ain't got no cache, ain't no file, ain't got no disk to make you smile,
Don`t worry, be happy!