view etc/editclient.sh @ 1187:6f18092b3b3c

[xemacs-hg @ 2003-01-05 05:13:26 by youngs] XEmacs 21.5.10 "burdock" is released.
author youngs
date Sun, 05 Jan 2003 05:13:45 +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