Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/ncurses/include/
H A Dcurses.wide233 #define add_wch(c) wadd_wch(stdscr,(c))
237 #define addwstr(wstr) waddwstr(stdscr,(wstr))
238 #define bkgrnd(c) wbkgrnd(stdscr,(c))
239 #define bkgrndset(c) wbkgrndset(stdscr,(c))
243 #define get_wch(c) wget_wch(stdscr,(c))
244 #define get_wstr(t) wget_wstr(stdscr,(t))
248 #define in_wch(c) win_wch(stdscr,(c))
250 #define in_wchstr(c) win_wchstr(stdscr,(c))
253 #define ins_wch(c) wins_wch(stdscr,(c))
254 #define ins_wstr(t) wins_wstr(stdscr,(t))
[all …]
H A Dcurses.h.in1266 #define bkgd(ch) wbkgd(stdscr,(ch))
1269 #define clear() wclear(stdscr)
1273 #define delch() wdelch(stdscr)
1276 #define erase() werase(stdscr)
1277 #define getch() wgetch(stdscr)
1279 #define inch() winch(stdscr)
1283 #define insch(c) winsch(stdscr,(c))
1288 #define instr(s) winstr(stdscr,(s))
1290 #define refresh() wrefresh(stdscr)
1291 #define scrl(n) wscrl(stdscr,(n))
[all …]
/freebsd-13.1/contrib/nvi/cl/
H A Dcl_funcs.c43 win = CLSP(sp) ? CLSP(sp) : stdscr; in addstr4()
108 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_attr()
261 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_clrtoeol()
286 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_cursor()
316 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_deleteln()
445 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_insertln()
501 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_move()
547 getyx(stdscr, y, x); in cl_refresh()
558 (void)wmove(stdscr, y, x); in cl_refresh()
765 (void)keypad(stdscr, FALSE); in cl_suspend()
[all …]
H A Dcl_screen.c53 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_screen()
277 idlok(stdscr, 1); /* Use hardware insert/delete line. */ in cl_vi_init()
280 (void)keypad(stdscr, TRUE); in cl_vi_init()
387 (void)keypad(stdscr, FALSE); in cl_vi_end()
/freebsd-13.1/usr.sbin/gstat/
H A Dgstat.c215 nodelay(stdscr, 1); in main()
216 intrflush(stdscr, FALSE); in main()
217 keypad(stdscr, TRUE); in main()
245 getyx(stdscr, cury, curx); in main()
246 getmaxyx(stdscr, maxy, maxx); in main()
332 getyx(stdscr, cury, curx); in main()
525 getyx(stdscr, cury, curx); in main()
526 getmaxyx(stdscr, maxy, maxx); in main()
/freebsd-13.1/contrib/ncurses/ncurses/base/
H A Dlib_scanw.c85 code = vw_scanw(stdscr, fmt, ap); in scanw()
111 code = (move(y, x) == OK) ? vw_scanw(stdscr, fmt, ap) : ERR; in mvscanw()
H A Dlib_newwin.c70 } else if (window_is(stdscr)) { in remove_window_from_screen()
71 remove_window(stdscr); in remove_window_from_screen()
81 } else if (window_is(stdscr)) { in remove_window_from_screen()
82 remove_window(stdscr); in remove_window_from_screen()
H A Dlib_printw.c60 code = vw_printw(stdscr, fmt, argp); in NCURSES_EXPORT()
104 code = vw_printw(stdscr, fmt, argp); in mvprintw()
H A Dlib_initscr.c107 result = stdscr; in NCURSES_EXPORT()
H A Dlib_set_term.c79 stdscr = StdScreen(newSP); in NCURSES_EXPORT()
88 stdscr = 0; in NCURSES_EXPORT()
211 stdscr = 0; in delscreen()
717 stdscr = StdScreen(sp); in NCURSES_SP_NAME()
/freebsd-13.1/contrib/dialog/
H A Dutil.c197 (void) wmove(stdscr, 0, 1); in dlg_put_backtitle()
200 (void) waddch(stdscr, ' '); in dlg_put_backtitle()
201 (void) wmove(stdscr, 1, 1); in dlg_put_backtitle()
206 (void) wnoutrefresh(stdscr); in dlg_put_backtitle()
424 (void) keypad(stdscr, TRUE); in init_dialog()
1557 result = stdscr; in window_at_cell()
2089 touchwin(stdscr); in dlg_del_window()
2090 wnoutrefresh(stdscr); in dlg_del_window()
2289 (void) wclrtoeol(stdscr); in dlg_item_help()
2294 getyx(stdscr, y, x); in dlg_item_help()
[all …]
H A Dmixedgauge.c301 nodelay(stdscr, TRUE); in dlg_begin_mixedgauge()
366 nodelay(stdscr, FALSE); in dlg_finish_mixedgauge()
H A Dtrace.c97 while (top != 0 && top != stdscr) { in dlg_trace_win()
/freebsd-13.1/contrib/ncurses/ncurses/tinfo/
H A Dlib_data.c54 NCURSES_PUBLIC_VAR(stdscr) (void) in NCURSES_EXPORT()
69 NCURSES_EXPORT_VAR(WINDOW *) stdscr = 0;
/freebsd-13.1/tools/tools/ath/athratestats/
H A Dmain.c393 nodelay(stdscr, 1); in main()
394 intrflush(stdscr, FALSE); in main()
395 keypad(stdscr, TRUE); in main()
/freebsd-13.1/contrib/ncurses/form/
H A Dfrm_win.c88 result = (f->win ? f->win : stdscr); in form_win()
/freebsd-13.1/lib/libdpv/
H A Dstatus.c91 attrs = getattrs(stdscr); in status_printf()
/freebsd-13.1/usr.bin/systat/
H A Dswap.c67 return (subwin(stdscr, LINES - 3 - 1, 0, MAINWIN_ROW, 0)); in openswap()
H A Dpigs.c73 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); in openpigs()
H A Dicmp6.c92 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); in openicmp6()
H A Dicmp.c93 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); in openicmp()
/freebsd-13.1/contrib/netbsd-tests/lib/libcurses/slave/
H A Dslave.c129 stdscr); in process_commands()
/freebsd-13.1/sys/teken/demo/
H A Dteken_demo.c124 getyx(stdscr, y, x); in printchar()
241 keypad(stdscr, value ? TRUE : FALSE); in test_param()
/freebsd-13.1/usr.sbin/pmcstat/
H A Dpmcstat.c1315 nodelay(stdscr, 1); in main()
1316 intrflush(stdscr, FALSE); in main()
1317 keypad(stdscr, TRUE); in main()
1320 getmaxyx(stdscr, in main()
/freebsd-13.1/contrib/ee/
H A Dnew_curse.c88 WINDOW *stdscr; variable
761 copy_window(stdscr, local_std);
764 delwin(stdscr);
767 stdscr = local_std;
1013 stdscr = newwin(LINES, COLS, 0, 0); in initscr()
1015 wmove(stdscr, 0, 0); in initscr()
1016 werase(stdscr); in initscr()
2361 in_char = wgetch(stdscr);
2815 keypad(stdscr, FALSE); in endwin()
2819 delwin(stdscr); in endwin()

123