From: Karl.Rossing@Federated.CA
Date: Fri May 24 2002 - 15:35:12 EDT
Hi,
I have wordperfect running on Solaris 8. I'm trying to get the shift/ctrl
keys to work with exceed.
I'm using a wrapper script to start an xterm. The problem with the script
is that only the 2nd xterm's shift/ctrl keys work. Not the first initial
one. This is kinda anoying.
Abyone have any sugestions?
Thanks
Karl
Here is the script
#########################33
#!/bin/ksh
if type xterm >/dev/null 2>&1; then
XTERM=$(which xterm)
elif [ -x /usr/X/bin/xterm ]; then
XTERM=/usr/X/bin/xterm
elif [ -x /usr/bin/X11/xterm ]; then
XTERM=/usr/bin/X11/xterm
elif [ -x /usr/X11R6/bin/xterm ]; then
XTERM=/usr/X11R6/bin/xterm
else
print "Can't find the xterm binary!"
exit 1
fi
if [ $# -gt 0 ]; then
export DISPLAY=$1:0.0
elif [ -z "$DISPLAY" ]; then
if [ $# -eq 0 ]; then
REMNODE="$(who am i 2>/dev/null | perl -ape '$_ = $F[5];
s/\(|\)//g; s/:.*//')"
[ -z "$REMNODE" ] &&\
REMNODE="$(who am i -l 2>/dev/null | perl -ape '$_ = $F[5];
s/\(|\)//g; s/:.*//')"
else
REMNODE=$1
fi
export DISPLAY=$REMNODE:0.0
fi
HOSTNAME=${HOSTNAME:-$(hostname|sed -e 's/\..*//')}
WPTERM=wpxterm
export WPTERM
# From http://kb.corel.com/kbdocs/wpunix/WP51UNX/WP51UNX_640881.htm
/usr/openwin/bin/xrdb -merge /opt/wp7/shlib10/WPXterm
$XTERM -ls -name wpx >/dev/null 2>&1 &
XTERMPID=$!
until ps -p $XTERMPID >/dev/null 2>&1; do sleep 1; done
exit 0
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:22 EDT