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.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;
/illumos-gate/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))
113 #define clear() VOID(wclear(stdscr))
114 #define erase() VOID(werase(stdscr))
115 #define clrtobot() VOID(wclrtobot(stdscr))
116 #define clrtoeol() VOID(wclrtoeol(stdscr))
119 #define refresh() VOID(wrefresh(stdscr))
120 #define inch() VOID(winch(stdscr))
121 #define insch(c) VOID(winsch(stdscr, c))
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dcurses.h365 extern WINDOW *curscr, *stdscr;
834 #define addch(ch) waddch(stdscr,ch)
882 #define bkgd(ch) wbkgd(stdscr, ch)
908 #define clear() wclear(stdscr)
911 #define erase() werase(stdscr)
915 #define delch() wdelch(stdscr)
925 #define refresh() wrefresh(stdscr)
935 #define getch() wgetch(stdscr)
987 #define inch() winch(stdscr)
1012 #define instr(s) winstr(stdscr,s)
[all …]
/illumos-gate/usr/src/lib/libxcurses2/h/
H A Dcurses.h349 extern WINDOW *curscr, *stdscr;
735 #define addch(ch) waddch(stdscr, ch)
818 #define bkgd(ch) wbkgd(stdscr, ch)
852 #define clear() wclear(stdscr)
855 #define erase() werase(stdscr)
862 #define delch() wdelch(stdscr)
872 #define refresh() wrefresh(stdscr)
883 #define getch() wgetch(stdscr)
965 #define inch() winch(stdscr)
1009 #define instr(s) winstr(stdscr, s)
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcurses.ed1040 mvwaddch(stdscr, y, x, ch)
1046 mvwdelch(stdscr, y, x)
1048 mvwgetch(stdscr, y, x)
1052 mvwinch(stdscr, y, x)
1054 mvwinsch(stdscr, y, x, c)
1058 mvwinsstr(stdscr, y, x, s)
1079 mvwaddwch(stdscr, y, x, ch)
1089 mvwgetwch(stdscr, y, x)
1097 mvwinswch(stdscr, y, x, c)
1101 mvwinwch(stdscr, y, x)
[all …]

12345678910