view etc/editclient.sh @ 686:c82f9db998d7

[xemacs-hg @ 2001-12-03 18:02:47 by didierv] etc/NEWS: advertise `C-x r p' (replace-rectangle) in global map. rect.el, keydefs.el: autoload and bind `replace-rectangle' to `C-x r p'.
author didierv
date Mon, 03 Dec 2001 18:02:50 +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