view etc/editclient.sh @ 1736:92dd8587c485

[xemacs-hg @ 2003-10-10 10:51:09 by stephent] fix typo in fn name <871xtlnz8t.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 10 Oct 2003 10:51:11 +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