view etc/editclient.sh @ 4768:0f5bee973a7b

Etags: use memmove instead of strcpy to move characters within a string. See <870180fe0912080852t1073137ence150b6d267c43c9@mail.gmail.com> in xemacs-patches.
author Jerry James <james@xemacs.org>
date Wed, 09 Dec 2009 09:50:36 -0700
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