#! /bin/sh -f
#
#  Sample script for calling APL with SEDIT like translation tables
#

DYALOG=/usr/Xdyalog                             ; export DYALOG
PASSWD=??????????????                           ; export PASSWD
APLVERSION=RS:6.0.5:X                           ; export APLVERSION

: ${MAXWS=1024}                                 ; export MAXWS

: ${WSPATH=.:\
$HOME:\
/home/xed:\
$DYALOG/WS:\
$DYALOG/xflib}                                  ; export WSPATH


: ${TERMINFO=$DYALOG/terminfo}                  ; export TERMINFO


APLMAIN=aplmain         # normal interpreter task except for some machines :


: ${APLK=/home/xed/keyboard/XAPLIN.rs}          ; export APLK
: ${APLT=Xterm}                                 ; export APLT



exec $DYALOG/$APLMAIN $*                        # Run Dyalog APL.
