diff options
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 23 |
1 files changed, 17 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* Copyright (c) 1993 +/* Copyright (c) 1993-2002 * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de) * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de) * Copyright (c) 1987 Oliver Laumann @@ -41,9 +41,10 @@ struct NewWindow int wrap; int Lflag; /* logging */ int slow; /* inter character milliseconds */ - int c1; int gr; - int kanji; + int c1; + int bce; + int encoding; char *hstatus; char *charset; }; @@ -154,7 +155,7 @@ struct win #ifdef MULTIUSER int w_wlock; /* WLOCK_AUTO, WLOCK_OFF, WLOCK_ON */ - struct user *w_wlockuser; /* NULL when unlocked or user who writes */ + struct acluser *w_wlockuser; /* NULL when unlocked or user who writes */ AclBits w_userbits[ACL_BITS_PER_WIN]; AclBits w_lio_notify; /* whom to tell when lastio+seconds < time() */ AclBits w_mon_notify; /* whom to tell monitor statis */ @@ -193,8 +194,12 @@ struct win char *w_hstatus; /* hardstatus line */ int w_gr; /* enable GR flag */ int w_c1; /* enable C1 flag */ -#ifdef KANJI - int w_kanji; /* for input and paste */ + int w_bce; /* enable backcol erase */ +#if 0 + int w_encoding; /* for input and paste */ +#endif + int w_decodestate; /* state of our input decoder */ +#ifdef DW_CHARS int w_mbcs; /* saved char for multibytes charset */ #endif char w_string[MAXSTR]; @@ -209,6 +214,10 @@ struct win int w_silence; /* silence status (Lloyd Zusman) */ char w_vbwait; char w_norefresh; /* dont redisplay when switching to that win */ +#ifdef RXVT_OSC + char w_xtermosc[4][MAXSTR]; /* special xterm/rxvt escapes */ +#endif + int w_mouse; /* mouse mode 0,9,1000 */ #ifdef HAVE_BRAILLE int w_bd_x, w_bd_y; /* Braille cursor position */ #endif @@ -228,6 +237,7 @@ struct win char *w_dir; /* directory for chdir */ char *w_term; /* TERM to be set instead of "screen" */ + int w_lflag; /* login flag */ slot_t w_slot; /* utmp slot */ #if defined (UTMPOK) struct utmp w_savut; /* utmp entry of this window */ @@ -249,6 +259,7 @@ struct win }; +#define w_encoding w_layer.l_encoding #define w_width w_layer.l_width #define w_height w_layer.l_height #define w_x w_layer.l_x |