annotate etc/editclient.sh @ 269:b2472a1930f2 r20-5b33

Import from CVS: tag r20-5b33
author cvs
date Mon, 13 Aug 2007 10:27:19 +0200
parents 966663fcf606
children 74fd4e045ea6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
267
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
1 #!/bin/sh
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
2 if gnuclient -batch -eval t >/dev/null 2>&1
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
3 then
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
4 exec gnuclient ${1+"$@"}
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
5 else
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
6 xemacs -unmapped -f gnuserv-start &
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
7 until gnuclient -batch -eval t >/dev/null 2>&1
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
8 do
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
9 sleep 1
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
10 done
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
11 exec gnuclient ${1+"$@"}
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
12 fi
966663fcf606 Import from CVS: tag r20-5b32
cvs
parents:
diff changeset
13