| 1 |
#!/bin/ksh |
| 2 |
# |
| 3 |
# This script is called when you click the "Edit" button in the |
| 4 |
# LongText display window (reached by double clicking on the |
| 5 |
# name of any longtext displayed in the tree display). |
| 6 |
# You should copy it to a directory on your PATH otherwise acedb |
| 7 |
# will not be able to find it (N.B. make sure that its executable). |
| 8 |
# |
| 9 |
# If you haven't got ksh on your system then just adapt this script. |
| 10 |
# |
| 11 |
# Change "xemacs" to the editor of your choice. |
| 12 |
# |
| 13 |
# |
| 14 |
|
| 15 |
donename="$1.done" |
| 16 |
|
| 17 |
xemacs -q $1 |
| 18 |
|
| 19 |
cp $1 $donename |
| 20 |
|
| 21 |
echo "***LongTextEnd***" >> $donename |
| 22 |
|
| 23 |
exit 0 |