view etc/editclient.sh @ 1959:b10161763edf

[xemacs-hg @ 2004-03-20 12:51:25 by adrian] xemacs-21.5: Typo and copycat fix for etc/sample.init.el -------------------- ChangeLog entries follow: -------------------- etc/ChangeLog addition: 2004-03-20 Adrian Aichner <adrian@xemacs.org> * sample.init.el: Typo and copycat fix.
author adrian
date Sat, 20 Mar 2004 12:51:25 +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