view etc/editclient.sh @ 1070:989ddde6705d

[xemacs-hg @ 2002-10-24 16:19:39 by youngs] 2002-10-25 Stephen J. Turnbull <stephen@xemacs.org> * configure.in (Check for POSIX functions): New section head. getaddrinfo is detected on HP-UX 11.XX, but appears to be non-functional. Disable it. Based on work by Darryl Okahata.
author youngs
date Thu, 24 Oct 2002 16:21:17 +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