view etc/editclient.sh @ 924:1b114504fa80

[xemacs-hg @ 2002-07-16 08:18:35 by didierv] fix case problem in replace-in-string
author didierv
date Tue, 16 Jul 2002 08:18:36 +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