diff options
Diffstat (limited to 'lib/libcurses/tinfo/lib_raw.c')
-rw-r--r-- | lib/libcurses/tinfo/lib_raw.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcurses/tinfo/lib_raw.c b/lib/libcurses/tinfo/lib_raw.c index a9280a57edb..fc414144c3a 100644 --- a/lib/libcurses/tinfo/lib_raw.c +++ b/lib/libcurses/tinfo/lib_raw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lib_raw.c,v 1.1 1999/01/18 19:10:19 millert Exp $ */ +/* $OpenBSD: lib_raw.c,v 1.2 1999/03/11 21:03:57 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -51,7 +51,7 @@ #include <curses.priv.h> #include <term.h> /* cur_term */ -MODULE_ID("$From: lib_raw.c,v 1.2 1998/12/20 00:42:58 tom Exp $") +MODULE_ID("$From: lib_raw.c,v 1.3 1999/03/06 22:28:24 tom Exp $") #if defined(SVR4_TERMIO) && !defined(_POSIX_SOURCE) #define _POSIX_SOURCE @@ -82,7 +82,7 @@ int raw(void) if (SP != 0 && cur_term != 0) { SP->_raw = TRUE; - SP->_cbreak = TRUE; + SP->_cbreak = 1; #ifdef __EMX__ setmode(SP->_ifd, O_BINARY); @@ -107,7 +107,7 @@ int cbreak(void) { T((T_CALLED("cbreak()"))); - SP->_cbreak = TRUE; + SP->_cbreak = 1; #ifdef __EMX__ setmode(SP->_ifd, O_BINARY); @@ -151,7 +151,7 @@ int noraw(void) T((T_CALLED("noraw()"))); SP->_raw = FALSE; - SP->_cbreak = FALSE; + SP->_cbreak = 0; #ifdef __EMX__ setmode(SP->_ifd, O_TEXT); @@ -173,7 +173,7 @@ int nocbreak(void) { T((T_CALLED("nocbreak()"))); - SP->_cbreak = FALSE; + SP->_cbreak = 0; #ifdef __EMX__ setmode(SP->_ifd, O_TEXT); |