view etc/editclient.sh @ 2114:2e4be8dd02fc

[xemacs-hg @ 2004-06-06 12:35:44 by malcolmp] extw-Xt.c (_XT_WAIT_FOR_SOMETHING): Fix: complete macro renaming: #define.
author malcolmp
date Sun, 06 Jun 2004 12:35: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