usr.bin/tn3270/ctlr/inbound.c
/* Tab() - sets cursor to the start of the next unprotected field */
sets cursor to the start of the next unprotected field
sets cursor to the start of the next unprotected field
static void
Tab()
{
    register int i, j;
    i = CursorAddress;
    j = WhereAttrByte(CursorAddress);
    do {
	if (IsStartField(i) && IsUnProtected(ScreenInc(i))) {
	    break;
	}
	i = FieldInc(i);
    } while (i != j);
    if (IsStartField(i) && IsUnProtected(ScreenInc(i))) {
	CursorAddress = ScreenInc(i);
    } else {
	CursorAddress = SetBufferAddress(0,0);
    }
}
static void Tab ( ) { register int i , j ; i = CursorAddress ; j = WhereAttrByte ( CursorAddress ) ; do { if ( IsStartField ( i ) && IsUnProtected ( ScreenInc ( i ) ) ) { break ; } i = FieldInc ( i ) ; } while ( i != j ) ; if ( IsStartField ( i ) && IsUnProtected ( ScreenInc ( i ) ) ) { CursorAddress = ScreenInc ( i ) ; } else { CursorAddress = SetBufferAddress ( 0 , 0 ) ; } }
Tab() - sets cursor to the start of the next unprotected field
Tab () - sets cursor to the start of the next unprotected field