Home
last modified time | relevance | path

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

123

/freebsd-12.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.in1208 #define bkgd(ch) wbkgd(stdscr,(ch))
1211 #define clear() wclear(stdscr)
1215 #define delch() wdelch(stdscr)
1218 #define erase() werase(stdscr)
1219 #define getch() wgetch(stdscr)
1221 #define inch() winch(stdscr)
1225 #define insch(c) winsch(stdscr,(c))
1230 #define instr(s) winstr(stdscr,(s))
1232 #define refresh() wrefresh(stdscr)
1233 #define scrl(n) wscrl(stdscr,(n))
[all …]
/freebsd-12.1/contrib/nvi/cl/
H A Dcl_funcs.c47 win = CLSP(sp) ? CLSP(sp) : stdscr; in addstr4()
112 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_attr()
265 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_clrtoeol()
290 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_cursor()
320 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_deleteln()
449 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_insertln()
505 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_move()
551 getyx(stdscr, y, x); in cl_refresh()
562 (void)wmove(stdscr, y, x); in cl_refresh()
769 (void)keypad(stdscr, FALSE); in cl_suspend()
[all …]
H A Dcl_screen.c57 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_screen()
281 idlok(stdscr, 1); /* Use hardware insert/delete line. */ in cl_vi_init()
284 (void)keypad(stdscr, TRUE); in cl_vi_init()
391 (void)keypad(stdscr, FALSE); in cl_vi_end()
/freebsd-12.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()
524 getyx(stdscr, cury, curx); in main()
525 getmaxyx(stdscr, maxy, maxx); in main()
/freebsd-12.1/contrib/ncurses/ncurses/base/
H A Dlib_scanw.c65 code = vwscanw(stdscr, fmt, ap); in scanw()
91 code = (move(y, x) == OK) ? vwscanw(stdscr, fmt, ap) : ERR; in mvscanw()
H A Dlib_newwin.c69 } else if (window_is(stdscr)) { in remove_window_from_screen()
70 remove_window(stdscr); in remove_window_from_screen()
80 } else if (window_is(stdscr)) { in remove_window_from_screen()
81 remove_window(stdscr); in remove_window_from_screen()
H A Dlib_printw.c59 code = vwprintw(stdscr, fmt, argp); in NCURSES_EXPORT()
102 code = vwprintw(stdscr, fmt, argp); in mvprintw()
H A Dlib_set_term.c79 stdscr = StdScreen(newSP); in NCURSES_EXPORT()
88 stdscr = 0; in NCURSES_EXPORT()
204 stdscr = 0; in delscreen()
680 stdscr = StdScreen(sp); in NCURSES_SP_NAME()
H A Dlib_initscr.c99 result = stdscr; in NCURSES_EXPORT()
/freebsd-12.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()
1519 result = stdscr; in window_at_cell()
2046 touchwin(stdscr); in dlg_del_window()
2047 wnoutrefresh(stdscr); in dlg_del_window()
2218 (void) wclrtoeol(stdscr); in dlg_item_help()
2223 getyx(stdscr, y, x); in dlg_item_help()
[all …]
H A Dmixedgauge.c299 nodelay(stdscr, TRUE); in dlg_begin_mixedgauge()
364 nodelay(stdscr, FALSE); in dlg_finish_mixedgauge()
H A Dtrace.c63 while (top != 0 && top != stdscr) { in dlg_trace_win()
/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dlib_data.c53 NCURSES_PUBLIC_VAR(stdscr) (void) in NCURSES_EXPORT()
68 NCURSES_EXPORT_VAR(WINDOW *) stdscr = 0;
/freebsd-12.1/tools/tools/ath/athratestats/
H A Dmain.c386 nodelay(stdscr, 1); in main()
387 intrflush(stdscr, FALSE); in main()
388 keypad(stdscr, TRUE); in main()
/freebsd-12.1/contrib/ncurses/form/
H A Dfrm_win.c87 result = (f->win ? f->win : stdscr); in form_win()
/freebsd-12.1/lib/libdpv/
H A Dstatus.c91 attrs = getattrs(stdscr); in status_printf()
/freebsd-12.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-12.1/contrib/netbsd-tests/lib/libcurses/slave/
H A Dslave.c129 stdscr); in process_commands()
/freebsd-12.1/usr.bin/systat/
H A Dswap.c71 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 Dicmp.c93 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); in openicmp()
H A Dicmp6.c92 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); in openicmp6()
/freebsd-12.1/usr.sbin/pmcstat/
H A Dpmcstat.c1309 nodelay(stdscr, 1); in main()
1310 intrflush(stdscr, FALSE); in main()
1311 keypad(stdscr, TRUE); in main()
1314 getmaxyx(stdscr, in main()
/freebsd-12.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