|
Hi, all
LuaTut, the Pascal clone of lua.c, does exit
quitely whenever ctrl-C is pressed, no message other than "^C". I had to comment
out the signal functions in the docall function. There is no Pascal equivalent
for them. Pascal has its own mechanism to catch those signals.
If the purpose of the signal function
is to catch ctrl-C signals and it is only one reason, won't it be good idea
to move the signal functions inside of the pcall function and add a new
status code for the user interrupt, say LUA_USERINT, to the other error
codes?
Thanks.
Geo
|