view etc/editclient.sh @ 1696:7032283c28db

[xemacs-hg @ 2003-09-19 15:56:52 by youngs] 2003-09-20 Steve Youngs <youngs@xemacs.org> * configure: Re-generate after Martin's configure.in patch. 2003-09-20 Martin Buchholz <martin@xemacs.org> * configure.in: XEmacs failed to build on Solaris9. Solaris9 comes with /usr/demo/SOUND, but no headers or libraries therein.
author youngs
date Fri, 19 Sep 2003 15:56:54 +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