Commit 829568e6de8fb3f7ce008cb6181b43e59e744b06
1 parent
f0298d3d
Exists in
master
and in
3 other branches
Movendo mais campos para a estrutura de sessão
Showing
4 changed files
with
10 additions
and
10 deletions
Show diff stats
appres.h
ctlr.c
... | ... | @@ -258,7 +258,7 @@ void ctlr_set_rows_cols(H3270 *session, int mn, int ovc, int ovr) |
258 | 258 | // Make sure that the current rows/cols are still 24x80. |
259 | 259 | session->cols = 80; |
260 | 260 | session->rows = 24; |
261 | - session->screen_alt = False; | |
261 | + session->screen_alt = 0; | |
262 | 262 | */ |
263 | 263 | |
264 | 264 | } | ... | ... |
glue.c
... | ... | @@ -133,7 +133,7 @@ static void initialize(void) |
133 | 133 | Trace("%s (init_calls: %d)",__FUNCTION__,init_calls); |
134 | 134 | |
135 | 135 | /* Set the defaults. */ |
136 | - appres.mono = False; | |
136 | +// appres.mono = False; | |
137 | 137 | // appres.extended = True; |
138 | 138 | |
139 | 139 | #if defined(C3270) /*[*/ |
... | ... | @@ -318,9 +318,9 @@ static const struct lib3270_option options[] = |
318 | 318 | // { OptLocalEncoding,OPT_STRING,False,ResLocalEncoding,offset(local_encoding), NULL }, |
319 | 319 | //#endif /*]*/ |
320 | 320 | { OptModel, OPT_STRING, False, ResKeymap, offset(model), N_( "Set terminal model (screen size)" ) }, |
321 | -#if !defined(_WIN32) /*[*/ | |
322 | - { OptMono, OPT_BOOLEAN, True, ResMono, offset(mono), N_( "Forces monochrome display" ) }, | |
323 | -#endif /*]*/ | |
321 | +// #if !defined(_WIN32) /*[*/ | |
322 | +// { OptMono, OPT_BOOLEAN, True, ResMono, offset(mono), N_( "Forces monochrome display" ) }, | |
323 | +// #endif /*]*/ | |
324 | 324 | // { OptOnce, OPT_BOOLEAN, True, ResOnce, offset(once), NULL }, |
325 | 325 | // { OptOversize, OPT_STRING, False, ResOversize, offset(oversize), N_( "Sets the screen dimensions to be larger than the default for the chosen model (COLSxROWS)." ) }, |
326 | 326 | { OptPort, OPT_STRING, False, ResPort, offset(port), N_( "The name of the default TCP port to connect" ) }, |
... | ... | @@ -429,9 +429,9 @@ static struct { |
429 | 429 | // { ResM3279, offset(m3279), XRM_BOOLEAN }, |
430 | 430 | // { ResModel, offset(model), XRM_STRING }, |
431 | 431 | // { ResModifiedSel, offset(modified_sel), XRM_BOOLEAN }, |
432 | -#if defined(C3270) && !defined(_WIN32) /*[*/ | |
433 | - { ResMono, offset(mono), XRM_BOOLEAN }, | |
434 | -#endif /*]*/ | |
432 | +//#if defined(C3270) && !defined(_WIN32) /*[*/ | |
433 | +// { ResMono, offset(mono), XRM_BOOLEAN }, | |
434 | +//#endif /*]*/ | |
435 | 435 | { ResNumericLock, offset(numeric_lock), XRM_BOOLEAN }, |
436 | 436 | { ResOerrLock, offset(oerr_lock), XRM_BOOLEAN }, |
437 | 437 | // { ResOversize, offset(oversize), XRM_STRING }, | ... | ... |