Home
last modified time | relevance | path

Searched refs:stdscr (Results 1 – 25 of 230) sorted by relevance

12345678910

/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dclrbot.c58 __m_trace("clrtobot(void) from (%d, %d)", stdscr->_cury, stdscr->_curx); in clrtobot()
61 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtobot()
63 stdscr, stdscr->_cury, x, stdscr->_maxy-1, stdscr->_maxx-1 in clrtobot()
H A Dclreol.c58 __m_trace("clrtoeol(void) from (%d, %d)", stdscr->_cury, stdscr->_curx); in clrtoeol()
61 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtoeol()
63 stdscr, stdscr->_cury, x, stdscr->_cury, stdscr->_maxx-1 in clrtoeol()
H A Dattr_on.c51 stdscr->_fg._at |= at;
63 stdscr->_fg._at &= ~at;
75 stdscr->_fg._co = co;
76 stdscr->_fg._at = at;
88 stdscr->_fg._co = co;
101 *at = stdscr->_fg._at;
104 *co = stdscr->_fg._co;
116 stdscr->_fg._at |= WA_STANDOUT;
128 stdscr->_fg._at = WA_NORMAL;
/titanic_41/usr/src/ucbhead/
H A Dcurses.h101 extern WINDOW *stdscr, *curscr;
108 #define addch(ch) VOID(waddch(stdscr, ch))
109 #define getch() VOID(wgetch(stdscr))
110 #define addstr(str) VOID(waddstr(stdscr, str))
111 #define getstr(str) VOID(wgetstr(stdscr, str))
112 #define move(y, x) VOID(wmove(stdscr, y, x))
113 #define clear() VOID(wclear(stdscr))
114 #define erase() VOID(werase(stdscr))
115 #define clrtobot() VOID(wclrtobot(stdscr))
116 #define clrtoeol() VOID(wclrtoeol(stdscr))
[all …]
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dclrbot.c60 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtobot()
61 value = __m_cc_erase(stdscr, in clrtobot()
62 stdscr->_cury, x, stdscr->_maxy - 1, stdscr->_maxx - 1); in clrtobot()
H A Dclreol.c60 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtoeol()
61 value = __m_cc_erase(stdscr, in clrtoeol()
62 stdscr->_cury, x, stdscr->_cury, stdscr->_maxx - 1); in clrtoeol()
H A Dattr_on.c54 (void) wattr_on(stdscr, at, opts); in attr_on()
64 (void) wattr_off(stdscr, at, opts); in attr_off()
74 (void) wattr_set(stdscr, at, co, opts); in attr_set()
84 (void) wcolor_set(stdscr, co, opts); in color_set()
94 (void) wattr_get(stdscr, at, co, opts); in attr_get()
105 (void) wstandout(stdscr); in standout()
116 (void) wstandend(stdscr); in standend()
H A Daddnstr.c56 code = waddnstr(stdscr, str, n); in addnstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnstr()
69 code = waddnstr(stdscr, str, n); in mvaddnstr()
94 code = waddnstr(stdscr, str, -1); in addstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvaddstr()
107 code = waddnstr(stdscr, str, -1); in mvaddstr()
H A Dgetnstr.c56 code = wgetnstr(stdscr, str, n); in getnstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvgetnstr()
69 code = wgetnstr(stdscr, str, n); in mvgetnstr()
94 code = wgetnstr(stdscr, str, -1); in getstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvgetstr()
107 code = wgetnstr(stdscr, str, -1); in mvgetstr()
H A Dhln.c56 code = whline(stdscr, h, n); in hline()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvhline()
69 code = whline(stdscr, h, n); in mvhline()
94 code = wvline(stdscr, v, n); in vline()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvvline()
107 code = wvline(stdscr, v, n); in mvvline()
H A Dhln_st.c56 code = whline_set(stdscr, h, n); in hline_set()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvhline_set()
69 code = whline_set(stdscr, h, n); in mvhline_set()
94 code = wvline_set(stdscr, v, n); in vline_set()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvvline_set()
107 code = wvline_set(stdscr, v, n); in mvvline_set()
H A Dinsnstr.c56 code = winsnstr(stdscr, mbs, n); in insnstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinsnstr()
69 code = winsnstr(stdscr, mbs, n); in mvinsnstr()
94 code = winsnstr(stdscr, mbs, -1); in insstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvinsstr()
107 code = winsnstr(stdscr, mbs, -1); in mvinsstr()
H A Daddchn.c56 code = waddchnstr(stdscr, chs, n); in addchnstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvaddchnstr()
69 code = waddchnstr(stdscr, chs, n); in mvaddchnstr()
94 code = waddchnstr(stdscr, chs, -1); in addchstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvaddchstr()
107 code = waddchnstr(stdscr, chs, -1); in mvaddchstr()
H A Daddnws.c56 code = waddnwstr(stdscr, wcs, n); in addnwstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnwstr()
69 code = waddnwstr(stdscr, wcs, n); in mvaddnwstr()
94 code = waddnwstr(stdscr, wcs, -1); in addwstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvaddwstr()
107 code = waddnwstr(stdscr, wcs, -1); in mvaddwstr()
H A Daddwchn.c56 code = wadd_wchnstr(stdscr, ccs, n); in add_wchnstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvadd_wchnstr()
69 code = wadd_wchnstr(stdscr, ccs, n); in mvadd_wchnstr()
94 code = wadd_wchnstr(stdscr, ccs, -1); in add_wchstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvadd_wchstr()
107 code = wadd_wchnstr(stdscr, ccs, -1); in mvadd_wchstr()
H A Dgetn_ws.c56 code = wgetn_wstr(stdscr, wis, n); in getn_wstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvgetn_wstr()
69 code = wgetn_wstr(stdscr, wis, n); in mvgetn_wstr()
94 code = wgetn_wstr(stdscr, wis, -1); in get_wstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvget_wstr()
107 code = wgetn_wstr(stdscr, wis, -1); in mvget_wstr()
H A Din_wchn.c56 code = win_wchnstr(stdscr, ccs, n); in in_wchnstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvin_wchnstr()
69 code = win_wchnstr(stdscr, ccs, n); in mvin_wchnstr()
94 code = win_wchnstr(stdscr, ccs, -1); in in_wchstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvin_wchstr()
107 code = win_wchnstr(stdscr, ccs, -1); in mvin_wchstr()
H A Dinchn.c56 code = winchnstr(stdscr, chs, n); in inchnstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinchnstr()
69 code = winchnstr(stdscr, chs, n); in mvinchnstr()
94 code = winchnstr(stdscr, chs, -1); in inchstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvinchstr()
107 code = winchnstr(stdscr, chs, -1); in mvinchstr()
H A Dins_nws.c56 code = wins_nwstr(stdscr, wcs, n); in ins_nwstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvins_nwstr()
69 code = wins_nwstr(stdscr, wcs, n); in mvins_nwstr()
94 code = wins_nwstr(stdscr, wcs, -1); in ins_wstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvins_wstr()
107 code = wins_nwstr(stdscr, wcs, -1); in mvins_wstr()
H A Dinnstr.c58 code = winnstr(stdscr, s, n); in innstr()
70 if ((code = wmove(stdscr, y, x)) == OK) in mvinnstr()
71 code = winnstr(stdscr, s, n); in mvinnstr()
96 code = winnstr(stdscr, s, -1); in instr()
108 if ((code = wmove(stdscr, y, x)) == OK) in mvinstr()
109 code = winnstr(stdscr, s, -1); in mvinstr()
H A Dinnwstr.c58 code = winnwstr(stdscr, wcs, n); in innwstr()
70 if ((code = wmove(stdscr, y, x)) == OK) in mvinnwstr()
71 code = winnwstr(stdscr, wcs, n); in mvinnwstr()
96 code = winnwstr(stdscr, wcs, -1); in inwstr()
108 if ((code = wmove(stdscr, y, x)) == OK) in mvinwstr()
109 code = winnwstr(stdscr, wcs, -1); in mvinwstr()
H A Dmove.c54 if (y < 0 || stdscr->_maxy <= y || x < 0 || stdscr->_maxx <= x) in move()
57 stdscr->_cury = (short) y; in move()
58 stdscr->_curx = (short) x; in move()
/titanic_41/usr/src/lib/libxcurses/h/
H A Dcurses.h365 extern WINDOW *curscr, *stdscr;
834 #define addch(ch) waddch(stdscr,ch)
838 #define add_wch(cp) wadd_wch(stdscr,cp)
842 #define addchnstr(chs,n) waddchnstr(stdscr,chs,n)
843 #define addchstr(chs) waddchstr(stdscr,chs)
850 #define add_wchnstr(cp,n) wadd_wchnstr(stdscr,cp,n)
851 #define add_wchstr(cp) wadd_wchstr(stdscr,cp)
858 #define addnstr(s,n) waddnstr(stdscr,s,n)
859 #define addstr(s) waddstr(stdscr,s)
866 #define addnwstr(wcs,n) waddnwstr(stdscr,wcs,n)
[all …]
/titanic_41/usr/src/lib/libxcurses2/h/
H A Dcurses.h349 extern WINDOW *curscr, *stdscr;
735 #define addch(ch) waddch(stdscr, ch)
740 #define add_wch(cp) wadd_wch(stdscr, cp)
745 #define addchnstr(chs, n) waddchnstr(stdscr, chs, n)
746 #define addchstr(chs) waddchstr(stdscr, chs)
762 #define add_wchnstr(cp, n) wadd_wchnstr(stdscr, cp, n)
763 #define add_wchstr(cp) wadd_wchstr(stdscr, cp)
779 #define addnstr(s, n) waddnstr(stdscr, s, n)
780 #define addstr(s) waddstr(stdscr, s)
794 #define addnwstr(wcs, n) waddnwstr(stdscr, wcs, n)
[all …]
/titanic_41/usr/src/ucblib/libcurses/
H A Dinitscr.c70 if (stdscr != NULL) { in initscr()
72 fprintf(outf, "INITSCR: stdscr = 0%o\n", stdscr); in initscr()
74 (void) delwin(stdscr); in initscr()
76 stdscr = newwin(LINES, COLS, 0, 0); in initscr()
77 return (stdscr); in initscr()

12345678910