view etc/editclient.sh @ 2151:f33f1487208d

[xemacs-hg @ 2004-06-25 21:24:36 by youngs] 2004-06-26 Steve Youngs <steve@youngs.au.com> * package-get.el (package-get-info-name-array): New. (package-get-info-info-array): New. (package-get-info): Use them, adding completion. (package-get-list-packages-where): Add completion.
author youngs
date Fri, 25 Jun 2004 21:24:36 +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