SCCS-vsn: lib/libcurses/addbytes.c 5.17
SCCS-vsn: lib/libcurses/cr_put.c 5.16
SCCS-vsn: lib/libcurses/scroll.c 5.11
-static char sccsid[] = "@(#)addbytes.c 5.16 (Berkeley) %G%";
+static char sccsid[] = "@(#)addbytes.c 5.17 (Berkeley) %G%";
#endif /* not lint */
#include <curses.h>
#endif /* not lint */
#include <curses.h>
SYNCH_OUT;
wclrtoeol(win);
SYNCH_IN;
SYNCH_OUT;
wclrtoeol(win);
SYNCH_IN;
- if (origtermio.c_oflag & ONLCR)
+ if (__orig_termios.c_oflag & ONLCR)
x = 0;
goto newline;
case '\r':
x = 0;
goto newline;
case '\r':
-static char sccsid[] = "@(#)cr_put.c 5.15 (Berkeley) %G%";
+static char sccsid[] = "@(#)cr_put.c 5.16 (Berkeley) %G%";
#endif /* not lint */
#include <curses.h>
#endif /* not lint */
#include <curses.h>
* If we will later need a \n which will turn into a \r\n by the
* system or the terminal, then don't bother to try to \r.
*/
* If we will later need a \n which will turn into a \r\n by the
* system or the terminal, then don't bother to try to \r.
*/
- if ((!(origtermio.c_oflag & ONLCR) || !__pfast) && outline < destline)
+ if ((!(__orig_termios.c_oflag & ONLCR) ||
+ !__pfast) && outline < destline)
plodput('\n');
if (plodcnt < 0)
goto out;
plodput('\n');
if (plodcnt < 0)
goto out;
- if (!(origtermio.c_oflag & ONLCR) || __pfast == 0)
+ if (!(__orig_termios.c_oflag & ONLCR) || __pfast == 0)
-static char sccsid[] = "@(#)scroll.c 5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)scroll.c 5.11 (Berkeley) %G%";
#endif /* not lint */
#include <curses.h>
#endif /* not lint */
#include <curses.h>
if (win == curscr) {
putchar('\n');
if (win == curscr) {
putchar('\n');
- if (origtermio.c_oflag & ONLCR)
+ if (__orig_termios.c_oflag & ONLCR)
win->curx = 0;
#ifdef DEBUG
__TRACE("scroll: win == curscr\n");
win->curx = 0;
#ifdef DEBUG
__TRACE("scroll: win == curscr\n");