view etc/editclient.sh @ 658:6693b6f85480

[xemacs-hg @ 2001-09-09 19:47:59 by adrian] [PATCH APPROVE COMMIT] xemacs-21.5: Correct link to snapshots in FAQ (Q1.0.9) <ofok8851.fsf@ecf.teradyne.com>
author adrian
date Sun, 09 Sep 2001 19:48:01 +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