view etc/editclient.sh @ 3734:e1f65870f845

[xemacs-hg @ 2006-12-11 10:04:27 by aidan] 2006-12-11 Aidan Kehoe <kehoea@parhasard.net> * glyphs-eimage.c (png_warning_func): * glyphs-eimage.c (png_instantiate): * glyphs-eimage.c (tiff_warning_func): Decode external binary data as such before passing it to warn_when_safe().
author aidan
date Mon, 11 Dec 2006 10:04:30 +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