Home
last modified time | relevance | path

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

12345678910

/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dclrbot.c56 __m_trace("clrtobot(void) from (%d, %d)", stdscr->_cury, stdscr->_curx); in clrtobot()
59 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtobot()
61 stdscr, stdscr->_cury, x, stdscr->_maxy-1, stdscr->_maxx-1 in clrtobot()
H A Dclreol.c56 __m_trace("clrtoeol(void) from (%d, %d)", stdscr->_cury, stdscr->_curx); in clrtoeol()
59 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtoeol()
61 stdscr, stdscr->_cury, x, stdscr->_cury, stdscr->_maxx-1 in clrtoeol()
H A Dattr_on.c49 stdscr->_fg._at |= at;
61 stdscr->_fg._at &= ~at;
73 stdscr->_fg._co = co;
74 stdscr->_fg._at = at;
86 stdscr->_fg._co = co;
99 *at = stdscr->_fg._at;
102 *co = stdscr->_fg._co;
114 stdscr->_fg._at |= WA_STANDOUT;
126 stdscr->_fg._at = WA_NORMAL;
/illumos-gate/usr/src/ucbhead/
H A Dcurses.h99 extern WINDOW *stdscr, *curscr;
106 #define addch(ch) VOID(waddch(stdscr, ch))
107 #define getch() VOID(wgetch(stdscr))
108 #define addstr(str) VOID(waddstr(stdscr, str))
109 #define getstr(str) VOID(wgetstr(stdscr, str))
110 #define move(y, x) VOID(wmove(stdscr, y, x))
111 #define clear() VOID(wclear(stdscr))
112 #define erase() VOID(werase(stdscr))
113 #define clrtobot() VOID(wclrtobot(stdscr))
114 #define clrtoeol() VOID(wclrtoeol(stdscr))
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dclrbot.c58 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtobot()
59 value = __m_cc_erase(stdscr, in clrtobot()
60 stdscr->_cury, x, stdscr->_maxy - 1, stdscr->_maxx - 1); in clrtobot()
H A Dclreol.c58 x = __m_cc_first(stdscr, stdscr->_cury, stdscr->_curx); in clrtoeol()
59 value = __m_cc_erase(stdscr, in clrtoeol()
60 stdscr->_cury, x, stdscr->_cury, stdscr->_maxx - 1); in clrtoeol()
H A Dattr_on.c52 (void) wattr_on(stdscr, at, opts); in attr_on()
62 (void) wattr_off(stdscr, at, opts); in attr_off()
72 (void) wattr_set(stdscr, at, co, opts); in attr_set()
82 (void) wcolor_set(stdscr, co, opts); in color_set()
92 (void) wattr_get(stdscr, at, co, opts); in attr_get()
103 (void) wstandout(stdscr); in standout()
114 (void) wstandend(stdscr); in standend()
H A Daddnstr.c54 code = waddnstr(stdscr, str, n); in addnstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnstr()
67 code = waddnstr(stdscr, str, n); in mvaddnstr()
92 code = waddnstr(stdscr, str, -1); in addstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvaddstr()
105 code = waddnstr(stdscr, str, -1); in mvaddstr()
H A Dgetnstr.c54 code = wgetnstr(stdscr, str, n); in getnstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvgetnstr()
67 code = wgetnstr(stdscr, str, n); in mvgetnstr()
92 code = wgetnstr(stdscr, str, -1); in getstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvgetstr()
105 code = wgetnstr(stdscr, str, -1); in mvgetstr()
H A Dhln.c54 code = whline(stdscr, h, n); in hline()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvhline()
67 code = whline(stdscr, h, n); in mvhline()
92 code = wvline(stdscr, v, n); in vline()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvvline()
105 code = wvline(stdscr, v, n); in mvvline()
H A Dhln_st.c54 code = whline_set(stdscr, h, n); in hline_set()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvhline_set()
67 code = whline_set(stdscr, h, n); in mvhline_set()
92 code = wvline_set(stdscr, v, n); in vline_set()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvvline_set()
105 code = wvline_set(stdscr, v, n); in mvvline_set()
H A Dinsnstr.c54 code = winsnstr(stdscr, mbs, n); in insnstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvinsnstr()
67 code = winsnstr(stdscr, mbs, n); in mvinsnstr()
92 code = winsnstr(stdscr, mbs, -1); in insstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvinsstr()
105 code = winsnstr(stdscr, mbs, -1); in mvinsstr()
H A Daddchn.c54 code = waddchnstr(stdscr, chs, n); in addchnstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvaddchnstr()
67 code = waddchnstr(stdscr, chs, n); in mvaddchnstr()
92 code = waddchnstr(stdscr, chs, -1); in addchstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvaddchstr()
105 code = waddchnstr(stdscr, chs, -1); in mvaddchstr()
H A Daddnws.c54 code = waddnwstr(stdscr, wcs, n); in addnwstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvaddnwstr()
67 code = waddnwstr(stdscr, wcs, n); in mvaddnwstr()
92 code = waddnwstr(stdscr, wcs, -1); in addwstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvaddwstr()
105 code = waddnwstr(stdscr, wcs, -1); in mvaddwstr()
H A Daddwchn.c54 code = wadd_wchnstr(stdscr, ccs, n); in add_wchnstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvadd_wchnstr()
67 code = wadd_wchnstr(stdscr, ccs, n); in mvadd_wchnstr()
92 code = wadd_wchnstr(stdscr, ccs, -1); in add_wchstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvadd_wchstr()
105 code = wadd_wchnstr(stdscr, ccs, -1); in mvadd_wchstr()
H A Dgetn_ws.c54 code = wgetn_wstr(stdscr, wis, n); in getn_wstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvgetn_wstr()
67 code = wgetn_wstr(stdscr, wis, n); in mvgetn_wstr()
92 code = wgetn_wstr(stdscr, wis, -1); in get_wstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvget_wstr()
105 code = wgetn_wstr(stdscr, wis, -1); in mvget_wstr()
H A Din_wchn.c54 code = win_wchnstr(stdscr, ccs, n); in in_wchnstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvin_wchnstr()
67 code = win_wchnstr(stdscr, ccs, n); in mvin_wchnstr()
92 code = win_wchnstr(stdscr, ccs, -1); in in_wchstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvin_wchstr()
105 code = win_wchnstr(stdscr, ccs, -1); in mvin_wchstr()
H A Dinchn.c54 code = winchnstr(stdscr, chs, n); in inchnstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvinchnstr()
67 code = winchnstr(stdscr, chs, n); in mvinchnstr()
92 code = winchnstr(stdscr, chs, -1); in inchstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvinchstr()
105 code = winchnstr(stdscr, chs, -1); in mvinchstr()
H A Dins_nws.c54 code = wins_nwstr(stdscr, wcs, n); in ins_nwstr()
66 if ((code = wmove(stdscr, y, x)) == OK) in mvins_nwstr()
67 code = wins_nwstr(stdscr, wcs, n); in mvins_nwstr()
92 code = wins_nwstr(stdscr, wcs, -1); in ins_wstr()
104 if ((code = wmove(stdscr, y, x)) == OK) in mvins_wstr()
105 code = wins_nwstr(stdscr, wcs, -1); in mvins_wstr()
H A Dinnstr.c56 code = winnstr(stdscr, s, n); in innstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinnstr()
69 code = winnstr(stdscr, s, n); in mvinnstr()
94 code = winnstr(stdscr, s, -1); in instr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvinstr()
107 code = winnstr(stdscr, s, -1); in mvinstr()
H A Dinnwstr.c56 code = winnwstr(stdscr, wcs, n); in innwstr()
68 if ((code = wmove(stdscr, y, x)) == OK) in mvinnwstr()
69 code = winnwstr(stdscr, wcs, n); in mvinnwstr()
94 code = winnwstr(stdscr, wcs, -1); in inwstr()
106 if ((code = wmove(stdscr, y, x)) == OK) in mvinwstr()
107 code = winnwstr(stdscr, wcs, -1); in mvinwstr()
/illumos-gate/usr/src/lib/libxcurses2/h/
H A Dcurses.h347 extern WINDOW *curscr, *stdscr;
733 #define addch(ch) waddch(stdscr, ch)
738 #define add_wch(cp) wadd_wch(stdscr, cp)
743 #define addchnstr(chs, n) waddchnstr(stdscr, chs, n)
744 #define addchstr(chs) waddchstr(stdscr, chs)
760 #define add_wchnstr(cp, n) wadd_wchnstr(stdscr, cp, n)
761 #define add_wchstr(cp) wadd_wchstr(stdscr, cp)
777 #define addnstr(s, n) waddnstr(stdscr, s, n)
778 #define addstr(s) waddstr(stdscr, s)
792 #define addnwstr(wcs, n) waddnwstr(stdscr, wcs, n)
[all …]
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcurses.h363 extern WINDOW *curscr, *stdscr;
832 #define addch(ch) waddch(stdscr,ch)
836 #define add_wch(cp) wadd_wch(stdscr,cp)
840 #define addchnstr(chs,n) waddchnstr(stdscr,chs,n)
841 #define addchstr(chs) waddchstr(stdscr,chs)
848 #define add_wchnstr(cp,n) wadd_wchnstr(stdscr,cp,n)
849 #define add_wchstr(cp) wadd_wchstr(stdscr,cp)
856 #define addnstr(s,n) waddnstr(stdscr,s,n)
857 #define addstr(s) waddstr(stdscr,s)
864 #define addnwstr(wcs,n) waddnwstr(stdscr,wcs,n)
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcurses.ed224 extern WINDOW *stdscr, *curscr;
898 /* pseudo functions for stdscr */
899 #define addch(ch) waddch(stdscr, ch)
900 #define addnstr(s, n) waddnstr(stdscr, s, n)
901 #define addstr(str) waddstr(stdscr, str)
902 #define attroff(at) wattroff(stdscr, at)
903 #define attron(at) wattron(stdscr, at)
904 #define attrset(at) wattrset(stdscr, at)
905 #define bkgd(c) wbkgd(stdscr, c)
907 wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
[all …]
/illumos-gate/usr/src/ucblib/libcurses/
H A Dinitscr.c68 if (stdscr != NULL) { in initscr()
70 fprintf(outf, "INITSCR: stdscr = 0%o\n", stdscr); in initscr()
72 (void) delwin(stdscr); in initscr()
74 stdscr = newwin(LINES, COLS, 0, 0); in initscr()
75 return (stdscr); in initscr()

12345678910