view etc/editclient.sh @ 2949:4b7e0ff1958a

[xemacs-hg @ 2005-09-25 21:40:17 by adrian] xemacs-21.5-clean: Fix variable reference in lispref/compile.texi -------------------- ChangeLog entries follow: -------------------- man/ChangeLog addition: 2005-09-25 Adrian Aichner <adrian@xemacs.org> * lispref/compile.texi (Compilation Options): Supply missing argument to @var{}, using same SYMBOL as in variable docstring of `byte-compile-print-gensym'.
author adrian
date Sun, 25 Sep 2005 21:40:19 +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