Searched refs:SP (Results 1 - 25 of 66) sorted by relevance

123

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dsetcurscreen.c50 SCREEN *rv = SP;
52 if (new != SP) {
59 SP = new;
61 (void) setcurterm(SP->tcap);
62 LINES = SP->lsize;
63 COLS = SP->csize;
64 TABSIZE = SP->tsize;
65 stdscr = SP->std_scr;
66 curscr = SP->cur_scr;
67 _virtscr = SP
[all...]
H A Dslk_noutref.c52 if (SP->slk == NULL)
55 if (SP->slk->_win && _slk_update())
56 (void) wnoutrefresh(SP->slk->_win);
H A Dslk_restore.c52 if (SP->slk) {
53 SP->slk->_changed = TRUE;
H A Dbaudrate.c55 return ((int) SP->baud);
H A Dgetsyx.c63 * that we need to access SP, which is normally not available in
70 if (SP->virt_scr->_leave)
73 *yp = _virtscr->_cury - SP->Yabove;
H A Dslk_atroff.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dslk_atron.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dslk_atrset.c56 if ((SP->slk == NULL) || ((win = SP->slk->_win) == NULL))
H A Dsetecho.c50 SP->fl_echoit = bf;
H A Dsetnonl.c50 SP->fl_nonl = bf;
H A Dkeypad.c58 if (bf && (!SP->kp_state)) {
60 (void) fflush(SP->term_file);
61 SP->kp_state = TRUE;
H A Dmouse.c51 SP->_trap_mbe = mbe;
53 (void) fflush(SP->term_file);
63 SP->_trap_mbe |= mbe;
64 (void) tputs(tparm_p1(get_mouse, (long) SP->_trap_mbe),
66 (void) fflush(SP->term_file);
76 SP->_trap_mbe &= ~mbe;
77 (void) tputs(tparm_p1(get_mouse, (long) SP->_trap_mbe),
79 (void) fflush(SP->term_file);
93 (void) fflush(SP->term_file);
133 SP
[all...]
H A Dendwin.c62 if (SP && (SP->fl_endwin == TRUE))
72 if (SP->fl_endwin) {
74 if (SP->fl_endwin == TRUE) {
76 if (SP->kp_state)
78 if (SP->fl_meta)
97 SP->fl_endwin = FALSE;
105 if (SP->fl_endwin == TRUE)
114 if (SP->fl_meta)
118 if (SP
[all...]
H A Dresetty.c51 if ((_BRS(SP->save_tty_bufs)) != 0) {
52 PROGTTYS = SP->save_tty_bufs;
56 fprintf(outf, "resetty(), file %x, SP %x, flags %x, "
57 "%x, %x, %x\n", cur_term->Filedes, SP,
62 } else if ((_BR(SP->save_tty_buf)) != 0) {
65 PROGTTY = SP->save_tty_buf;
69 fprintf(outf, "resetty(), file %x, SP %x, flags %x, "
70 "%x, %x, %x\n", cur_term->Filedes, SP,
83 if ((_BR(SP->save_tty_buf)) != 0) {
84 PROGTTY = SP
[all...]
H A Dnewscreen.c80 SCREEN *old = SP;
126 if ((SP = (SCREEN *) calloc(1, sizeof (SCREEN))) == NULL)
129 SP->term_file = outfptr;
130 SP->input_file = infptr;
138 SP->fl_echoit = 1;
146 * We use LINES instead of the SP variable and a local variable because
152 LINES = SP->lsize = lsize > 0 ? lsize : lines;
168 SP->baud = baud_convert[_BRS(PROGTTYS)];
170 SP->baud = baud_convert[_BR(PROGTTY)];
179 SP
[all...]
H A Dmeta.c72 if ((SP->fl_meta = bf) != 0)
76 (void) fflush(SP->term_file);
H A Dsetsyx.c62 SP->virt_scr->_leave = TRUE;
64 _virtscr->_cury = y + SP->Yabove;
H A Dwgetch.c65 fprintf(outf, "WGETCH: SP->fl_echoit = %c\n",
66 SP->fl_echoit ? 'T' : 'F');
68 win->_use_keypad, SP->kp_state);
69 fprintf(outf, "file %x fd %d\n", SP->input_file,
70 fileno(SP->input_file));
74 if (SP->fl_echoit && cur_term->_fl_rawmode == 0) {
90 (void) fflush(SP->term_file);
95 if (SP->fl_echoit && (inp < 0200) && (inp >= 0) && !(win->_flags &
104 if (inp == '\r' && !SP->fl_nonl)
H A Doutch.c71 unctrl(c&0177), SP, cur_term->Filedes, fileno(SP->term_file));
79 (void) putc((int)c, SP->term_file);
82 (void) putc((int)o, SP->term_file);
85 (void) putc((int)o, SP->term_file);
H A Dsavetty.c64 SP->save_tty_buf = PROGTTY;
66 SP->save_tty_bufs = PROGTTYS;
68 SP->save_tty_buf = PROGTTY;
73 fprintf(outf, "savetty(), file %x, SP %x, flags %x,%x,%x,%x\n",
74 cur_term->Filedes, SP, PROGTTYS.c_iflag, PROGTTYS.c_oflag,
78 fprintf(outf, "savetty(), file %x, SP %x, flags %x\n",
79 cur_term->Filedes, SP, PROGTTY.sg_flags);
H A Drestart.c61 int saveecho = SP->fl_echoit;
75 SP->fl_echoit = saveecho;
92 LINES = SP->lsize;
H A Dinitscr.c75 if (i_called_before && SP) {
76 delscreen(SP);
77 SP = NULL;
90 fprintf(outf, "initscr: term = %s\n", SP);
H A Dslk_label.c52 SLK_MAP *slk = SP->slk;
H A Dquick_echo.c66 (SPy > ((LINES + SP->Yabove) - 1)) || (SPx > (COLS - 1)) ||
67 (SP->slk && (SP->slk->_changed == TRUE))) {
93 if (SP->phys_irm)
99 (void) fflush(SP->term_file);
H A Dslk_refresh.c53 return (wrefresh(SP->slk->_win));
67 if ((slk = SP->slk) == NULL || (slk->_changed != TRUE))
90 (void) fflush(SP->term_file);

Completed in 75 milliseconds

123