view etc/editclient.sh @ 1444:d9d4999d5f5c

[xemacs-hg @ 2003-05-02 06:25:02 by stephent] cygwin configure hax <87znm5uasy.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 02 May 2003 06:25:03 +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