view etc/editclient.sh @ 909:a703d313962d

[xemacs-hg @ 2002-07-09 11:55:35 by michaels] 2002-07-08 Mike Sperber <mike@xemacs.org> * ralloc.c (init_ralloc): Allocate properly for pdump. * emacs.c (main_1): Revert init_ralloc patch in favor of an easier-to-understand solution.
author michaels
date Tue, 09 Jul 2002 11:55:36 +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