#! /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

if ( $?DISPLAY ) then
  $p/$bin/alpha/xed -kedit  $argv  &
else
  $p/$bin/alpha/xed -kedit  $argv
endif
