usr.bin/tn3270/ctlr/inbound.c
/* BackTab() - sets cursor to the start of the most recent field */
sets cursor to the start of the most recent field
sets cursor to the start of the most recent field
static void
BackTab()
{
    register int i;
    i = ScreenDec(CursorAddress);
    for (;;) {
	if (IsStartField(ScreenDec(i)) && IsUnProtected(i)) {
	    CursorAddress = i;
	    break;
	}
	if (i == CursorAddress) {
	    CursorAddress = SetBufferAddress(0,0);
	    break;
	}
	i = ScreenDec(i);
    }
}
static void BackTab ( ) { register int i ; i = ScreenDec ( CursorAddress ) ; for ( ; ; ) { if ( IsStartField ( ScreenDec ( i ) ) && IsUnProtected ( i ) ) { CursorAddress = i ; break ; } if ( i == CursorAddress ) { CursorAddress = SetBufferAddress ( 0 , 0 ) ; break ; } i = ScreenDec ( i ) ; } }
BackTab() - sets cursor to the start of the most recent field
BackTab () - sets cursor to the start of the most recent field