view etc/editclient.sh @ 3286:b3ab8c197518

[xemacs-hg @ 2006-03-17 14:30:43 by stephent] eliminate bogus pointer to nowhere in x_font_instance_truename <874q1xgn5d.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 17 Mar 2006 14:30:45 +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