Home
last modified time | relevance | path

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

123

/freebsd/contrib/ncurses/include/
H A Dcurses.wide235 #define add_wch(c) wadd_wch(stdscr,(c))
236 #define add_wchnstr(str,n) wadd_wchnstr(stdscr,(str),(n))
237 #define add_wchstr(str) wadd_wchstr(stdscr,(str))
238 #define addnwstr(wstr,n) waddnwstr(stdscr,(wstr),(n))
239 #define addwstr(wstr) waddwstr(stdscr,(wstr))
240 #define bkgrnd(c) wbkgrnd(stdscr,(c))
241 #define bkgrndset(c) wbkgrndset(stdscr,(c))
242 #define border_set(l,r,t,b,tl,tr,bl,br) wborder_set(stdscr,(l),(r),(t),(b),tl,tr,bl,br)
244 #define echo_wchar(c) wecho_wchar(stdscr,(c))
245 #define get_wch(c) wget_wch(stdscr,(c))
[all …]
H A Dcurses.h.in1199 #define getnstr(s, n) wgetnstr(stdscr, s, (n))
1255 #define border(ls, rs, ts, bs, tl, tr, bl, br) wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
1256 #define hline(ch, n) whline(stdscr, ch, (n))
1257 #define vline(ch, n) wvline(stdscr, ch, (n))
1280 #define addch(ch) waddch(stdscr,(ch))
1281 #define addchnstr(str,n) waddchnstr(stdscr,(str),(n))
1282 #define addchstr(str) waddchstr(stdscr,(str))
1283 #define addnstr(str,n) waddnstr(stdscr,(str),(n))
1284 #define addstr(str) waddnstr(stdscr,(str),-1)
1285 #define attr_get(ap,cp,o) wattr_get(stdscr,(ap),(cp),(o))
[all …]
/freebsd/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()
371 tsp->cl_private = subwin(stdscr, tsp->rows, tsp->cols, in cl_discard()
445 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_insertln()
501 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_move()
528 win = CLSP(sp) ? CLSP(sp) : stdscr; in cl_refresh()
547 getyx(stdscr, y, x); in cl_refresh()
[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/usr.sbin/gstat/
H A Dgstat.c213 nodelay(stdscr, 1); in main()
214 intrflush(stdscr, FALSE); in main()
215 keypad(stdscr, TRUE); in main()
243 getyx(stdscr, cury, curx); in main()
244 getmaxyx(stdscr, maxy, maxx); in main()
330 getyx(stdscr, cury, curx); in main()
543 getyx(stdscr, cury, curx); in main()
544 getmaxyx(stdscr, maxy, maxx); in main()
/freebsd/contrib/dialog/
H A Dutil.c223 dlg_attrset(stdscr, screen_attr); in dlg_put_backtitle()
224 (void) wmove(stdscr, 0, 1); in dlg_put_backtitle()
225 dlg_print_text(stdscr, dialog_vars.backtitle, COLS - 2, &attr); in dlg_put_backtitle()
227 (void) waddch(stdscr, ' '); in dlg_put_backtitle()
228 (void) wmove(stdscr, 1, 1); in dlg_put_backtitle()
230 (void) waddch(stdscr, dlg_boxchar(ACS_HLINE)); in dlg_put_backtitle()
233 (void) wnoutrefresh(stdscr); in dlg_put_backtitle()
257 dlg_attr_clear(stdscr, LINES, COLS, screen_attr); in dlg_clear()
424 (void) keypad(stdscr, TRUE); in init_dialog()
645 werase(stdscr); in end_dialog()
[all …]
H A Dmixedgauge.c304 nodelay(stdscr, TRUE); in dlg_begin_mixedgauge()
369 nodelay(stdscr, FALSE); in dlg_finish_mixedgauge()
/freebsd/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_set_term.c89 stdscr = StdScreen(newSP); in NCURSES_EXPORT()
98 stdscr = 0; in NCURSES_EXPORT()
237 stdscr = 0; in delscreen()
763 stdscr = StdScreen(sp); in NCURSES_SP_NAME()
H A Dlib_initscr.c106 result = stdscr; in NCURSES_EXPORT()
/freebsd/tools/tools/ath/athratestats/
H A Dmain.c391 nodelay(stdscr, 1); in main()
392 intrflush(stdscr, FALSE); in main()
393 keypad(stdscr, TRUE); in main()
/freebsd/contrib/bsddialog/lib/
H A Dlib_util.h71 #define SCREENLINES (getmaxy(stdscr))
72 #define SCREENCOLS (getmaxx(stdscr))
H A Dlibbsddialog.c49 error += keypad(stdscr, TRUE); in bsddialog_init_notheme()
/freebsd/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/contrib/ncurses/form/
H A Dfrm_win.c88 result = (f->win ? f->win : stdscr); in form_win()
/freebsd/lib/libdpv/
H A Dstatus.c89 attrs = getattrs(stdscr); in status_printf()
/freebsd/contrib/ncurses/panel/
H A Dp_new.c97 InitUser(stdscr); in root_panel()
/freebsd/usr.bin/systat/
H A Dswap.c61 return (subwin(stdscr, LINES - 3 - 1, 0, MAINWIN_ROW, 0)); in openswap()
H A Dpigs.c65 return (subwin(stdscr, LINES-3-1, 0, MAINWIN_ROW, 0)); in openpigs()
/freebsd/sys/teken/demo/
H A Dteken_demo.c122 getyx(stdscr, y, x); in printchar()
239 keypad(stdscr, value ? TRUE : FALSE); in test_param()
/freebsd/contrib/netbsd-tests/lib/libcurses/slave/
H A Dslave.c129 stdscr); in process_commands()
/freebsd/usr.sbin/pmcstat/
H A Dpmcstat.c1322 nodelay(stdscr, 1); in main()
1323 intrflush(stdscr, FALSE); in main()
1324 keypad(stdscr, TRUE); in main()
1327 getmaxyx(stdscr, in main()
/freebsd/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