>I would like to allow the user to interrup a long query
>by pressing escape.
>
>Anyone know how to do this?
How about:
SET ESCAPE ON
select ...
SET ESCAPE OFF
You will want to know whether the user indeed pressed escape; I am not sure, but I think this might be done with lastkey().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)