view etc/editclient.sh @ 1198:c1e69bcf8d07

[xemacs-hg @ 2003-01-10 14:12:40 by youngs] 2003-01-08 Andy Piper <andy@xemacs.org> * unexcw.c (copy_executable_and_dump_data_section): Set the stack reserve size during unexec().
author youngs
date Fri, 10 Jan 2003 14:12:41 +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