[2354] in Athena Bugs

home help back first fref pref prev next nref lref last post

ProChart breaks on 6.2 (and up) machines

daemon@ATHENA.MIT.EDU (Chris VanHaren (Athena User Consultant))
Fri Jun 9 18:15:53 1989

To: bugs@ATHENA.MIT.EDU
From: Chris VanHaren (Athena User Consultant) <vanharen@ATHENA.MIT.EDU>
Date: Fri, 09 Jun 89 18:15:27 EDT
I believe this was reported before, but I don't know if anything came of
it.  Due to the equals-sign geom. spec. for xterm no longer being
supported, and the loss of a font, the prochart shell-script on the
prochart locker no longer works.  I have come up with a quick fix to the
shell script to correct this.  It involves checking for release number,
and if it is 6.0R, it executes the old command (this can be removed when
everything has been safely updated).  Otherwise, it executes an xterm
using font 'fixed' and uses the '-geometry' flag and a different sized
window.  The window needs to be this large since the graphics in it use
a width of about 600 pixels.  Here are the diffs:

diff /mit/vanharen/Prochart/prochart /mit/prochart/prochart
==============================================================================
38d37
<       cd $wdir
40,47c39
<         if (`tail -1 /etc/version | awk '{print $5}'` == "6.0R" ) then
<
<           xterm =80x50+50+50 -fn vtsingle -n xprochart -e /bin/sh -c \
<               "/bin/echo -n "";$bindir/xprochart11 $*"
<         else
<           xterm -geometry 107x50+50+50 -fn fixed -n xprochart -e /bin/sh \
<                -c "/bin/echo -n "";$bindir/xprochart11 $*"
<         endif
---
>       cd $wdir;xterm =80x50+50+50 -fn vtsingle -n xprochart -e /bin/sh -c "/bi
n/echo -n "";$bindir/xprochart11 $*"
==============================================================================

The diff's do not read well out of context, as there are embedded escape
characters in the file.  I think these are used to give the icon name to
the xterm.  If you like, you can steal the shell script directly from my
NFS directory:  /mit/vanharen/Prochart/prochart

Please install this as soon as possible so that as few users have to
deal with this as possible.
					    Thanks,
						Chris VanHaren

home help back first fref pref prev next nref lref last post