view etc/editclient.sh @ 4184:1b16ec86578c

[xemacs-hg @ 2007-09-25 21:21:08 by adrian] xemacs-21.5-clean: Add new mirrors in The Netherlands and China -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2007-09-25 Adrian Aichner <adrian@xemacs.org> * package-get.el (package-get-download-sites): Add new mirrors in The Netherlands and China. * package-get.el (package-get-pre-release-download-sites): Ditto.
author adrian
date Tue, 25 Sep 2007 21:21:10 +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