view etc/editclient.sh @ 857:b5278486690c

[xemacs-hg @ 2002-05-31 07:14:51 by michaels] 2002-05-30 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de> * code-process.el (call-process): Ensure that the argument to `symbol-value-in-buffer' is a buffer even if `buffer' is a string.
author michaels
date Fri, 31 May 2002 07:14: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