view etc/editclient.sh @ 5110:b24cf478a45e

make test backtraces smaller -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2010-03-06 Ben Wing <ben@xemacs.org> * test-harness.el: * test-harness.el (test-harness-backtrace): New. * test-harness.el (test-harness-assertion-failure-do-debug): * test-harness.el (test-harness-unexpected-error-do-debug): Use the print settings from edebug.el to make backtraces not be so huge.
author Ben Wing <ben@xemacs.org>
date Sat, 06 Mar 2010 21:13:19 -0600
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