[2975] in testers
sun4 8.0B: maple
daemon@ATHENA.MIT.EDU (Albert Dvornik)
Tue Jun 25 18:23:30 1996
To: swmaint@MIT.EDU
Cc: testers@MIT.EDU
Date: Tue, 25 Jun 1996 18:23:16 EDT
From: "Albert Dvornik" <bert@MIT.EDU>
System name: infocalypse
Type and version: SPARC/Classic 8.0B (2 update(s) to same version)
Display type: cgthree
What were you trying to do?
Run Maple on a Sparcstation running release 8.0.
What's wrong:
Maple pops up looking like Papa Smurf.
(It's small, blue, and not taking keyboard input.)
What should have happened:
It should have been large, gray/white, and taking keyboard input. =)
Please describe any suggestions for fixing this:
I ran Maple under truss, and it confirmed my suspicions that
it wasn't finding its app-defaults file correctly.
There are two reasons for this.
First of all, /mit/maple/X11_defaults.sun4m_54 doesn't exist
so the /mit/maple/X11_defaults link doesn't point anywhere.
(BTW, you may want to move this to arch/@sys/defaults, so it
doesn't clutter the top-level directory.)
Secondly, since X{,USER}SEARCHPATH are by default set in 8.0,
setting XAPPLRESDIR isn't enough to make the app-defaults
files found. /mit/maple/arch/sun4m_54/bin/start-maple doesn't
try setting X*FILESEARCHPATH; /mit/maple/scripts/start-maple
does it incorrectly, so XUSERFILESEARCHPATH is set only if it
wasn't already set. A better way would, for instance, be
something like
XUSERFILESEARCHPATH=\
${XUSERFILESEARCHPATH+${XUSERFILESEARCHPATH}:}${MAPLE}/X11_defaults/%N
export XUSERFILESEARCHPATH
Fixing this and creating a X11_defaults.@sys link will cause
Maple to use the app-defaults file under Solaris 2.4.