view etc/editclient.sh @ 5390:593d9f73a7e8

New FAQ Q2.5.7 on troubleshooting duplicate auto-autoloads. Nodes Top, Installation, Q2.5.6: Update menus and node links for Q2.5.7.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sat, 02 Apr 2011 17:04:38 +0900
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