view etc/editclient.sh @ 1689:1193b7458e43

[xemacs-hg @ 2003-09-16 06:49:49 by crestani] 2003-09-16 Marcus Crestani <crestani@informatik.uni-tuebingen.de> * xemacs.def.in.in: Add lrecord_memory_descriptions.
author crestani
date Tue, 16 Sep 2003 06:49:50 +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