view etc/editclient.sh @ 2830:d7505a1267a4

[xemacs-hg @ 2005-06-26 19:05:05 by aidan] Couple of build fixes--that'll teach me to spend the weekend doing something other than hacking XEmacs.
author aidan
date Sun, 26 Jun 2005 19:05:07 +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