view etc/editclient.sh @ 959:87e011e66a78

[xemacs-hg @ 2002-08-12 07:45:36 by youngs] 2002-08-12 Simon Josefsson <jas@extundo.com> * lispref/building.texi (Pure Storage): purecopy is a no-op.
author youngs
date Mon, 12 Aug 2002 07:45:38 +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