#!/bin/sh
# Copyright (C) 2004  G. Lamprecht, W. Lotz, R. Weibezahn; IWD, Bremen University

######################################################################

# display commands:
echo "$*"

######################################################################

# run commands:
$* 

######################################################################

# some systems need "catch'ed version" of exec xterm call
  if [ "$1" = "ispell" ]
  then
      mes1=""
      mes2=""
      #mes1="(if error box comes up after deleting this window"
      #mes2=" select a catch'ed version of exec xterm call in spellcheck.tcl)"
  else
      mes1=""
      mes2=""
  fi
  echo

# confirm after command termination:
# alternatively:
      echo
      echo "proceed by <return> in this widget"
      echo; echo "$mes1"; echo "$mes2"
      read  antwort
# or:
      # echo
      # echo "automatic proceeding after 3 seconds!"
      # echo; echo "$mes1"; echo "$mes2"
      # sleep 3

######################################################################
