view etc/editclient.sh @ 342:b036ce23deaa

Added tag r21-1-0 for changeset 2538ab34df21
author cvs
date Mon, 13 Aug 2007 10:52:06 +0200
parents 966663fcf606
children 74fd4e045ea6
line wrap: on
line source

#!/bin/sh
if gnuclient -batch -eval t >/dev/null 2>&1
then
  exec gnuclient ${1+"$@"}
else
  xemacs -unmapped -f gnuserv-start &
  until gnuclient -batch -eval t >/dev/null 2>&1
  do
     sleep 1
  done
  exec gnuclient ${1+"$@"}
fi