view etc/editclient.sh @ 3022:dd34bc8e9423

[xemacs-hg @ 2005-10-25 03:54:01 by ben] add support for `window-id' property in mswindows frame-msw.c: New function, like decode_x_frame. frame-msw.c: Add `window-id' property for MS Windows frames.
author ben
date Tue, 25 Oct 2005 03:54:03 +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