view etc/editclient.sh @ 917:259c80d93e3b

[xemacs-hg @ 2002-07-11 18:41:26 by stephent] doc autodetect of modules <pssn429an1.fsf@diannao.ittc.ku.edu>
author stephent
date Thu, 11 Jul 2002 18:41:27 +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