view etc/editclient.sh @ 3302:3d54e5f2dfb0

[xemacs-hg @ 2006-03-26 13:05:14 by stephent] Make {en,de}code-coding-region interactive commands. <877j6hnyuj.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Sun, 26 Mar 2006 13:05:17 +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