view etc/editclient.sh @ 991:a28c97bd4634

[xemacs-hg @ 2002-09-03 05:36:51 by scop] 2002-09-02 Ville Skyttä <ville.skytta@xemacs.org> * bytecomp-runtime.el (make-obsolete): Docstring argument nit. (make-obsolete-variable): Ditto. (make-compatible): Ditto. (make-compatible-variable): Ditto.
author scop
date Tue, 03 Sep 2002 05:36:52 +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