view etc/editclient.sh @ 3714:cee87f8de64b

[xemacs-hg @ 2006-11-30 07:29:34 by michaels] 2006-11-28 Mike Sperber <mike@xemacs.org> * files.el (revert-buffer-internal): Determine the coding system while still in the original buffer, rather than the new one.
author michaels
date Thu, 30 Nov 2006 07:29: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