view etc/editclient.sh @ 2824:f39be22beaf1

[xemacs-hg @ 2005-06-23 11:48:46 by crestani] * dumper.c (pdump_load_finish): Use EMACS_INT for elt_count.
author crestani
date Thu, 23 Jun 2005 11:48: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