view etc/editclient.sh @ 703:db1ced2998c3

[xemacs-hg @ 2001-12-18 22:14:55 by janv] Mug shot of Jan Vroonhof
author janv
date Tue, 18 Dec 2001 22:15:26 +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