View Raw SPL
/* gets the second cursor index position */
getcurpos2(w)
{
        return(curpos(w, 1, 2));
}