#! /bin/csh -f

setenv LIBPATH /usr/lpp/X11/Motif1.2/lib:/usr/lib:/lib

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

if ($?DISPLAY) then
  $p/$bin/ibm/xed  $argv  &
else
  $p/$bin/ibm/xed  $argv
endif
