#!/bin/sh #Tag 0x006A0010 # File: acadr12_server # ###### ###### # # #### # # # # #### # # ## #### # # # # # # ## # # # # # # # # # # # # ###### # # # # # # # #### ###### # # # #### # # # # # # # # # # # ###### # # # # # # # # ## # # # # # # # # # # # ###### #### # # #### #### # # # #### # # # # ----------------------------------------------------------- # This shell script is designed to provide the server-side # of an AutoCAD R12 application client-server solution in # conjunction with the 'acadr12_client' script. This script # (i.e. acadr12_server) is placed on the application server # in a location accessible on the executable search path of any # users that will be accessing the server. The client script # (i.e. acadr12_client) must likewise be accessible from each # client workstation wishing to access the server. # ----------------------------------------------------------- # # ------------------------------------------------------------- # Change ACADBASE to AutoCAD Installation directory (if needed) # ------------------------------------------------------------- ACADBASE=/usr/acad # ------------------------------------------------------------- # Settings to redirect the AutoCAD displays back to the client: # ------------------------------------------------------------- DISPLAY=$REMOTEHOST:0 ACADDISPLAY=$REMOTEHOST:0 ACADTEXTDISPLAY=$REMOTEHOST:0 ACADTOOLDISPLAY=$REMOTEHOST:0 export DISPLAY ACADDISPLAY ACADTEXTDISPLAY ACADTOOLDISPLAY # ------------------------------------------------------------- # Settings for the AutoCAD shell window # ------------------------------------------------------------- XWSH="/usr/sbin/xwsh -fn fixed -geometry 80x25+0-0 -title ACADclient -icontitle ACADclient -iconic -holdonerror" export XWSH # --------------------------------- # Invoke AutoCAD R12 with arguments # --------------------------------- $XWSH -e $ACADBASE/acad/acadr12 $*