view etc/editclient.sh @ 884:0048cad4b034

[xemacs-hg @ 2002-06-27 21:35:52 by youngs] 2002-06-28 Steve Youngs <youngs@xemacs.org> * inline.c: Include device-impl.h, extents-impl.h, and frame-impl.h to pick up some error_check_* functions. Remove console.h, extents.h, and frame.h because the *-impl.h files include them.
author youngs
date Thu, 27 Jun 2002 21:35:53 +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