view etc/editclient.sh @ 682:e558c78d22f8

[xemacs-hg @ 2001-12-02 15:27:37 by youngs] 2001-12-03 Steve Youngs <youngs@xemacs.org> * package-get.el (package-get-update-base-from-buffer): Add autoload for 'mc-verify'.
author youngs
date Sun, 02 Dec 2001 15:27: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