add cursor_fct.c and the file in Makefile
modif cursor
change