view etc/editclient.sh @ 2524:c634f2d588e8

[xemacs-hg @ 2005-01-28 01:54:47 by ben] Fixes to xemacs.mak xemacs.mak: Use filename only when calling makeinfo, or it chokes on index generation. xemacs.mak: Generate separate .pdb and .map files for temacs/xemacs; may make profiling possible.
author ben
date Fri, 28 Jan 2005 01:54:47 +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