method

set!

set!(cursor)
public

Set the cursor and interrupt the job if necessary.