Subject: Re: WP8 for Linux?
To: Peter Seebach <seebs@plethora.net>
From: None <rmcm@compsoft.com.au>
List: current-users
Date: 02/16/2000 14:37:52
works well - example wrapper below.

Peter Seebach writes:
 > Anyone gotten this running?  It looks like it installs a whole bunch of
 > files, and I'm not sure which, if any, is the "real" executable, or how I'd
 > coerce them into finding their various parts.  Mostly installs stuff in
 > /usr/lib/wp8, it appears.
 > 
 > -s

-- 
Rex McMaster                       rex@mcmaster.wattle.id.au
                     http://www.compsoft.com.au/~rmcm/pgp-pk

#!/bin/sh
#
# wrapper to start WordPerfect 8
#

WPHOME=/emul/linux/opt/wp8
EXEDIR=${WPHOME}/wpbin

WPBINEXE=$EXEDIR
EXEDIR=${WPHOME}/wplib

export WPBINEXE EXEDIR

# kill off old processes - single user version

PROCS="`ps ax | egrep \"${WPHOME}/wpbin/xwp|${WPHOME}/shbin10/wpexc\" | grep -v egrep | awk '{print $1}'`"
if test -n "$PROCS"; then \
        kill $PROCS; \
fi

$WPBINEXE/xwp $*

# kill off old processes - single user version
sleep 2
PROCS="`ps ax | egrep \"${WPHOME}/wpbin/xwp|${WPHOME}/shbin10/wpexc\" | grep -v egrep | awk '{print $1}'`"
if test -n "$PROCS"; then \
        kill $PROCS; \
fi