view etc/editclient.sh @ 2079:9402c85dcf6f

[xemacs-hg @ 2004-05-14 15:35:28 by james] Second LTDL patch due to the still unknown problem preventing the first commit from committing the stuff in the top-level directory.
author james
date Fri, 14 May 2004 15:35:31 +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