view etc/editclient.sh @ 2594:bafa01f3cb06

[xemacs-hg @ 2005-02-18 06:26:31 by stephent] XEmacs 21.5.19 "chives" is released.
author stephent
date Fri, 18 Feb 2005 06:31:22 +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