view etc/editclient.sh @ 1617:000fb15e7f54

[xemacs-hg @ 2003-08-12 06:36:38 by stephent] improve lucid option doc <87wudje62i.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Tue, 12 Aug 2003 06:36:38 +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