view etc/editclient.sh @ 1384:72bc4b7c2480

[xemacs-hg @ 2003-03-26 04:32:18 by james] More Andrew Begel stuff, because CVS won't commit the top level and src stuff at the same time.
author james
date Wed, 26 Mar 2003 04:32:18 +0000
parents 3ecd8885ac67
children
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