diff options
Diffstat (limited to 'app/xterm/vms.c')
-rw-r--r-- | app/xterm/vms.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/app/xterm/vms.c b/app/xterm/vms.c index 155cdb41b..4c4631b81 100644 --- a/app/xterm/vms.c +++ b/app/xterm/vms.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/programs/xterm/vms.c,v 1.2 2003/10/27 01:07:58 dickey Exp $ */ +/* $XTermId: vms.c,v 1.11 2009/11/28 14:58:09 tom Exp $ */ /* vms.c * @@ -77,14 +77,14 @@ struct mem_region TT_BUF_STRUCT *end; } ret_addr; -int read_stopped = FALSE; -int write_stopped = FALSE; +int read_stopped = False; +int write_stopped = False; int tt_width; int tt_length; int tt_changed; -int tt_pasting=FALSE; /* drm */ -int tt_new_output=FALSE; /* Cleared by flushlog(), set whenever something new +int tt_pasting=False; /* drm */ +int tt_new_output=False; /* Cleared by flushlog(), set whenever something new goes to the screen through tt_write */ int trnlnm(char *in,int id,char *out); @@ -148,7 +148,7 @@ void spawn (void) int status; static $DESCRIPTOR (dtime, "0 00:00:00.01"); static int delta[2]; - register TScreen *screen = &term->screen; + register TScreen *screen = TScreenOf(term); static struct IOSB iosb; static unsigned int flags; static unsigned int uic; @@ -483,7 +483,7 @@ void tt_start_read(void) } else { - read_stopped = TRUE; + read_stopped = True; } return; } @@ -511,7 +511,7 @@ int tt_read(char *buffer) len = read_buff->length; memmove(buffer,&read_buff->data,len); freeBuff(read_buff); - tt_new_output=TRUE; /* DRM something will be written */ + tt_new_output=True; /* DRM something will be written */ } else CloseDown(status); @@ -526,7 +526,7 @@ int tt_read(char *buffer) static void send_xon(void) { - write_stopped = FALSE; + write_stopped = False; } @@ -535,7 +535,7 @@ static void send_xon(void) */ static void send_xoff(void) { - write_stopped = TRUE; + write_stopped = True; } @@ -567,18 +567,18 @@ static void char_change(void) * Dont do anything if in Tek mode */ - if(!(term->screen.TekEmu)) + if(!(TScreenOf(term)->TekEmu)) { status = sys$qiow(0,tt_chan,IO$_SENSEMODE,0,0,0,&tt_mode,8,0,0,0,0); if(!(status & SS$_NORMAL)) CloseDown(status); - if((term->screen.max_row != tt_mode.length) || - (term->screen.max_col != tt_mode.page_width)) + if((TScreenOf(term)->max_row != tt_mode.length) || + (TScreenOf(term)->max_col != tt_mode.page_width)) { tt_length = tt_mode.length; tt_width = tt_mode.page_width; - tt_changed = TRUE; + tt_changed = True; } } @@ -606,7 +606,7 @@ static void freeBuff (TT_BUF_STRUCT *buff_addr) &buff_addr->status, VMS_TERM_BUFFER_SIZE); if (status & SS$_NORMAL) { - read_stopped = FALSE; + read_stopped = False; } else { |