view etc/editclient.sh @ 845:77624ff6e2da

[xemacs-hg @ 2002-05-16 15:11:22 by stephent] docs <87d6vwrv2k.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 16 May 2002 15:11:23 +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