This commit was generated by cvs2svn to compensate for changes in r6453,
[chise/xemacs-chise.git-] / etc / editclient.sh
1 #!/bin/sh
2 if gnuclient -batch -eval t >/dev/null 2>&1; then
3   exec gnuclient ${1+"$@"}
4 else
5   xemacs -unmapped -f gnuserv-start &
6   until gnuclient -batch -eval t >/dev/null 2>&1
7   do
8      sleep 1
9   done
10   exec gnuclient ${1+"$@"}
11 fi
12