Commit 1845b47f83b93f4089cdd7174bccec794061a07f

Authored by perry.werneck@gmail.com
1 parent aad915f4

Reincluindo suporte básico para scripts

Showing 1 changed file with 7 additions and 7 deletions   Show diff stats
@@ -1394,7 +1394,7 @@ Tab_action(Widget w unused, XEvent *event, String *params, Cardinal *num_params) @@ -1394,7 +1394,7 @@ Tab_action(Widget w unused, XEvent *event, String *params, Cardinal *num_params)
1394 } 1394 }
1395 */ 1395 */
1396 1396
1397 -LIB3270_KEY_ACTION( tab ) 1397 +LIB3270_ACTION( nextfield )
1398 { 1398 {
1399 1399
1400 // reset_idle_timer(); 1400 // reset_idle_timer();
@@ -1407,7 +1407,7 @@ LIB3270_KEY_ACTION( tab ) @@ -1407,7 +1407,7 @@ LIB3270_KEY_ACTION( tab )
1407 status_reset(hSession); 1407 status_reset(hSession);
1408 } else 1408 } else
1409 { 1409 {
1410 - ENQUEUE_ACTION(lib3270_tab); 1410 + ENQUEUE_ACTION(lib3270_nextfield);
1411 return 0; 1411 return 0;
1412 } 1412 }
1413 } 1413 }
@@ -1439,7 +1439,7 @@ LIB3270_EXPORT int lib3270_clear_operator_error(H3270 *hSession) @@ -1439,7 +1439,7 @@ LIB3270_EXPORT int lib3270_clear_operator_error(H3270 *hSession)
1439 /* 1439 /*
1440 * Tab backward to previous field. 1440 * Tab backward to previous field.
1441 */ 1441 */
1442 -LIB3270_KEY_ACTION( backtab ) 1442 +LIB3270_ACTION( previousfield )
1443 { 1443 {
1444 register int baddr, nbaddr; 1444 register int baddr, nbaddr;
1445 int sbaddr; 1445 int sbaddr;
@@ -1455,7 +1455,7 @@ LIB3270_KEY_ACTION( backtab ) @@ -1455,7 +1455,7 @@ LIB3270_KEY_ACTION( backtab )
1455 } 1455 }
1456 else 1456 else
1457 { 1457 {
1458 - ENQUEUE_ACTION(lib3270_backtab); 1458 + ENQUEUE_ACTION(lib3270_previousfield);
1459 return 0; 1459 return 0;
1460 } 1460 }
1461 } 1461 }
@@ -3020,7 +3020,7 @@ LIB3270_EXPORT int lib3270_emulate_input(H3270 *session, char *s, int len, int p @@ -3020,7 +3020,7 @@ LIB3270_EXPORT int lib3270_emulate_input(H3270 *session, char *s, int len, int p
3020 case '\r': /* ignored */ 3020 case '\r': /* ignored */
3021 break; 3021 break;
3022 case '\t': 3022 case '\t':
3023 - lib3270_tab(session); 3023 + lib3270_nextfield(session);
3024 skipped = False; 3024 skipped = False;
3025 break; 3025 break;
3026 case '\\': /* backslashes are NOT special when 3026 case '\\': /* backslashes are NOT special when
@@ -3106,12 +3106,12 @@ LIB3270_EXPORT int lib3270_emulate_input(H3270 *session, char *s, int len, int p @@ -3106,12 +3106,12 @@ LIB3270_EXPORT int lib3270_emulate_input(H3270 *session, char *s, int len, int p
3106 break; 3106 break;
3107 3107
3108 case 't': 3108 case 't':
3109 - lib3270_tab(session); 3109 + lib3270_nextfield(session);
3110 skipped = False; 3110 skipped = False;
3111 state = BASE; 3111 state = BASE;
3112 break; 3112 break;
3113 case 'T': 3113 case 'T':
3114 - lib3270_tab(session); 3114 + lib3270_nextfield(session);
3115 skipped = False; 3115 skipped = False;
3116 state = BASE; 3116 state = BASE;
3117 break; 3117 break;