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))
111 #define clear() VOID(wclear(stdscr))
112 #define erase() VOID(werase(stdscr))
113 #define clrtobot() VOID(wclrtobot(stdscr))
114 #define clrtoeol() VOID(wclrtoeol(stdscr))
117 #define refresh() VOID(wrefresh(stdscr))
118 #define inch() VOID(winch(stdscr))
119 #define insch(c) VOID(winsch(stdscr, c))
[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 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 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 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/libxcurses/h/
H A Dcurses.h363 extern WINDOW *curscr, *stdscr;
832 #define addch(ch) waddch(stdscr,ch)
880 #define bkgd(ch) wbkgd(stdscr, ch)
906 #define clear() wclear(stdscr)
909 #define erase() werase(stdscr)
913 #define delch() wdelch(stdscr)
923 #define refresh() wrefresh(stdscr)
933 #define getch() wgetch(stdscr)
985 #define inch() winch(stdscr)
1010 #define instr(s) winstr(stdscr,s)
[all …]
/illumos-gate/usr/src/lib/libxcurses2/h/
H A Dcurses.h347 extern WINDOW *curscr, *stdscr;
733 #define addch(ch) waddch(stdscr, ch)
816 #define bkgd(ch) wbkgd(stdscr, ch)
850 #define clear() wclear(stdscr)
853 #define erase() werase(stdscr)
860 #define delch() wdelch(stdscr)
870 #define refresh() wrefresh(stdscr)
881 #define getch() wgetch(stdscr)
963 #define inch() winch(stdscr)
1007 #define instr(s) winstr(stdscr, s)
[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()
/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