view etc/editclient.sh @ 1045:ae9378e1cde3

[xemacs-hg @ 2002-10-10 14:47:21 by stephent] recommend texinfo 4.2 <87adlm5p6c.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 10 Oct 2002 14:47: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