TabNext (tabs, col) Tabs	tabs; int		col;
TabNext (Tabs tabs, int col)
TabNext (tabs, col)    Tabs	tabs;    int		col;{	register TScreen *screen = &term->screen;	if(screen->curses && screen->do_wrap && (term->flags & WRAPAROUND)) {		Index(screen, 1);		col = screen->cur_col = screen->do_wrap = 0;	}	for (++col; col<MAX_TABS; ++col)		if (TST_TAB(tabs,col))			return (col);	return (MAX_TABS - 1);}