view etc/editclient.sh @ 3816:bd7108edc555

[xemacs-hg @ 2007-02-06 19:36:46 by aidan] iso8859-2 is not the X11 charset registry for the iso8859-4 charset.
author aidan
date Tue, 06 Feb 2007 19:36:51 +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