#! /bin/csh -f
set noglob
 
 
if ( $?DISPLAY ) then
  set bin = 'mbin'          # MOTIF version
else
  set bin = 'cbin'          # CURSES version
endif
 
set a = $0
set b = $a:h
set c = $a:t
 
if ( $b == $c ) then
   set p = $cwd
else
   set p = $b
endif
 
$p/$bin/sgi/$c  $argv
