change cls_cursor to use a minimatch
m
m