view etc/editclient.sh @ 4338:528c4d906843

Sync config.guess and config.sub with the latest upstream versions. 2007-12-08 Jerry James <james@xemacs.org> * config.guess: * config.sub: Sync with the latest upstream versions.
author james@localhost.localdomain
date Tue, 18 Dec 2007 21:33:56 -0700
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