taglinefilesource code
width570arch/sparc/kernel/sys_sunos.casmlinkage int sunos_select(int width, fd_set *inp, fd_set *outp, fd_set *exp, struct timeval *tvp)
width574arch/sparc/kernel/sys_sunos.creturn sys_select (width, inp, outp, exp, tvp);
width99scripts/lxdialog/checklist.cprint_buttons( WINDOW *dialog, int height, int width, int selected)
width101scripts/lxdialog/checklist.cint x = width / 2 - 11;
width116scripts/lxdialog/checklist.cdialog_checklist (const char *title, const char *prompt, int height, int width,
width144scripts/lxdialog/checklist.cx = (COLS - width) / 2;
width147scripts/lxdialog/checklist.cdraw_shadow (stdscr, y, x, height, width);
width149scripts/lxdialog/checklist.cdialog = newwin (height, width, y, x);
width152scripts/lxdialog/checklist.cdraw_box (dialog, 0, 0, height, width, dialog_attr, border_attr);
width155scripts/lxdialog/checklist.cfor (i = 0; i < width - 2; i++)
width162scripts/lxdialog/checklist.cmvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' ');
width168scripts/lxdialog/checklist.cprint_autowrap (dialog, prompt, width - 2, 1, 3);
width170scripts/lxdialog/checklist.clist_width = width - 6;
width172scripts/lxdialog/checklist.cbox_x = (width - list_width) / 2 - 1;
width200scripts/lxdialog/checklist.cprint_buttons(dialog, height, width, 0);
width293scripts/lxdialog/checklist.cprint_buttons(dialog, height, width, button);
width125scripts/lxdialog/dialog.hvoid attr_clear (WINDOW * win, int height, int width, chtype attr);
width128scripts/lxdialog/dialog.hvoid print_autowrap (WINDOW * win, const char *prompt, int width, int y, int x);
width130scripts/lxdialog/dialog.hvoid draw_box (WINDOW * win, int y, int x, int height, int width, chtype box,
width132scripts/lxdialog/dialog.hvoid draw_shadow (WINDOW * win, int y, int x, int height, int width);
width135scripts/lxdialog/dialog.hint dialog_yesno (const char *title, const char *prompt, int height, int width);
width137scripts/lxdialog/dialog.hint width, int pause);
width138scripts/lxdialog/dialog.hint dialog_textbox (const char *title, const char *file, int height, int width);
width139scripts/lxdialog/dialog.hint dialog_menu (const char *title, const char *prompt, int height, int width,
width143scripts/lxdialog/dialog.hint width, int list_height, int item_no,
width147scripts/lxdialog/dialog.hint width, const char *init);
width148scripts/lxdialog/dialog.hint dialog_guage (const char *title, const char *prompt, int height, int width,
width30scripts/lxdialog/inputbox.cprint_buttons(WINDOW *dialog, int height, int width, int selected)
width32scripts/lxdialog/inputbox.cint x = width / 2 - 11;
width46scripts/lxdialog/inputbox.cdialog_inputbox (const char *title, const char *prompt, int height, int width,
width55scripts/lxdialog/inputbox.cx = (COLS - width) / 2;
width59scripts/lxdialog/inputbox.cdraw_shadow (stdscr, y, x, height, width);
width61scripts/lxdialog/inputbox.cdialog = newwin (height, width, y, x);
width64scripts/lxdialog/inputbox.cdraw_box (dialog, 0, 0, height, width, dialog_attr, border_attr);
width67scripts/lxdialog/inputbox.cfor (i = 0; i < width - 2; i++)
width74scripts/lxdialog/inputbox.cmvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' ');
width80scripts/lxdialog/inputbox.cprint_autowrap (dialog, prompt, width - 2, 1, 3);
width83scripts/lxdialog/inputbox.cbox_width = width - 6;
width86scripts/lxdialog/inputbox.cbox_x = (width - box_width) / 2;
width90scripts/lxdialog/inputbox.cprint_buttons(dialog, height, width, 0);
width184scripts/lxdialog/inputbox.cprint_buttons(dialog, height, width, 1);
width188scripts/lxdialog/inputbox.cprint_buttons(dialog, height, width, 0);
width194scripts/lxdialog/inputbox.cprint_buttons(dialog, height, width, 0);
width204scripts/lxdialog/inputbox.cprint_buttons(dialog, height, width, 0);
width208scripts/lxdialog/inputbox.cprint_buttons(dialog, height, width, 1);
width212scripts/lxdialog/inputbox.cprint_buttons(dialog, height, width, 0);
width101scripts/lxdialog/menubox.cprint_buttons (WINDOW *win, int height, int width, int selected)
width103scripts/lxdialog/menubox.cint x = width / 2 - 16;
width118scripts/lxdialog/menubox.cdialog_menu (const char *title, const char *prompt, int height, int width,
width130scripts/lxdialog/menubox.cx = (COLS - width) / 2;
width133scripts/lxdialog/menubox.cdraw_shadow (stdscr, y, x, height, width);
width135scripts/lxdialog/menubox.cdialog = newwin (height, width, y, x);
width138scripts/lxdialog/menubox.cdraw_box (dialog, 0, 0, height, width, dialog_attr, border_attr);
width141scripts/lxdialog/menubox.cfor (i = 0; i < width - 2; i++)
width148scripts/lxdialog/menubox.cmvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' ');
width154scripts/lxdialog/menubox.cprint_autowrap (dialog, prompt, width - 2, 1, 3);
width156scripts/lxdialog/menubox.cmenu_width = width - 6;
width158scripts/lxdialog/menubox.cbox_x = (width - menu_width) / 2 - 1;
width197scripts/lxdialog/menubox.cprint_buttons (dialog, height, width, 0);
width308scripts/lxdialog/menubox.cprint_buttons(dialog, height, width, button);
width29scripts/lxdialog/msgbox.cdialog_msgbox (const char *title, const char *prompt, int height, int width,
width36scripts/lxdialog/msgbox.cx = (COLS - width) / 2;
width39scripts/lxdialog/msgbox.cdraw_shadow (stdscr, y, x, height, width);
width41scripts/lxdialog/msgbox.cdialog = newwin (height, width, y, x);
width44scripts/lxdialog/msgbox.cdraw_box (dialog, 0, 0, height, width, dialog_attr, border_attr);
width48scripts/lxdialog/msgbox.cmvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' ');
width53scripts/lxdialog/msgbox.cprint_autowrap (dialog, prompt, width - 2, 1, 2);
width58scripts/lxdialog/msgbox.cfor (i = 0; i < width - 2; i++)
width64scripts/lxdialog/msgbox.cheight - 2, width / 2 - 4, TRUE);
width25scripts/lxdialog/textbox.cstatic void print_page (WINDOW * win, int height, int width);
width26scripts/lxdialog/textbox.cstatic void print_line (WINDOW * win, int row, int width);
width28scripts/lxdialog/textbox.cstatic void print_position (WINDOW * win, int height, int width);
width38scripts/lxdialog/textbox.cdialog_textbox (const char *title, const char *file, int height, int width)
width82scripts/lxdialog/textbox.cx = (COLS - width) / 2;
width86scripts/lxdialog/textbox.cdraw_shadow (stdscr, y, x, height, width);
width88scripts/lxdialog/textbox.cdialog = newwin (height, width, y, x);
width92scripts/lxdialog/textbox.ctext = subwin (dialog, height - 4, width - 2, y + 1, x + 1);
width97scripts/lxdialog/textbox.cdraw_box (dialog, 0, 0, height, width, dialog_attr, border_attr);
width101scripts/lxdialog/textbox.cfor (i = 0; i < width - 2; i++)
width108scripts/lxdialog/textbox.cmvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' ');
width112scripts/lxdialog/textbox.cprint_button (dialog, " Exit ", height - 2, width / 2 - 4, TRUE);
width117scripts/lxdialog/textbox.cattr_clear (text, height - 4, width - 2, dialog_attr);
width118scripts/lxdialog/textbox.cprint_page (text, height - 4, width - 2);
width119scripts/lxdialog/textbox.cprint_position (dialog, height, width);
width161scripts/lxdialog/textbox.cprint_page (text, height - 4, width - 2);
width162scripts/lxdialog/textbox.cprint_position (dialog, height, width);
width195scripts/lxdialog/textbox.cprint_page (text, height - 4, width - 2);
width196scripts/lxdialog/textbox.cprint_position (dialog, height, width);
width219scripts/lxdialog/textbox.cprint_line (text, 0, width - 2);
width230scripts/lxdialog/textbox.cprint_position (dialog, height, width);
width241scripts/lxdialog/textbox.cprint_page (text, height - 4, width - 2);
width242scripts/lxdialog/textbox.cprint_position (dialog, height, width);
width254scripts/lxdialog/textbox.cprint_line (text, height - 5, width - 2);
width256scripts/lxdialog/textbox.cprint_position (dialog, height, width);
width267scripts/lxdialog/textbox.cprint_page (text, height - 4, width - 2);
width268scripts/lxdialog/textbox.cprint_position (dialog, height, width);
width285scripts/lxdialog/textbox.cprint_page (text, height - 4, width - 2);
width297scripts/lxdialog/textbox.cprint_page (text, height - 4, width - 2);
width430scripts/lxdialog/textbox.cprint_page (WINDOW * win, int height, int width)
width436scripts/lxdialog/textbox.cprint_line (win, i, width);
width449scripts/lxdialog/textbox.cprint_line (WINDOW * win, int row, int width)
width458scripts/lxdialog/textbox.cwaddnstr (win, line, MIN (strlen (line), width - 2));
width462scripts/lxdialog/textbox.cfor (i = 0; i < width - x; i++)
width523scripts/lxdialog/textbox.cprint_position (WINDOW * win, int height, int width)
width535scripts/lxdialog/textbox.cwmove (win, height - 3, width - 9);
width112scripts/lxdialog/util.cattr_clear (WINDOW * win, int height, int width, chtype attr)
width119scripts/lxdialog/util.cfor (j = 0; j < width; j++)
width198scripts/lxdialog/util.cprint_autowrap (WINDOW * win, const char *prompt, int width, int y, int x)
width215scripts/lxdialog/util.cif (prompt_len <= width - x * 2) {  /* If prompt is short */
width216scripts/lxdialog/util.cwmove (win, y, (width - prompt_len) / 2);
width231scripts/lxdialog/util.croom = width - cur_x;
width286scripts/lxdialog/util.cdraw_box (WINDOW * win, int y, int x, int height, int width,
width294scripts/lxdialog/util.cfor (j = 0; j < width; j++)
width299scripts/lxdialog/util.celse if (!i && j == width - 1)
width301scripts/lxdialog/util.celse if (i == height - 1 && j == width - 1)
width309scripts/lxdialog/util.celse if (j == width - 1)
width321scripts/lxdialog/util.cdraw_shadow (WINDOW * win, int y, int x, int height, int width)
width328scripts/lxdialog/util.cfor (i = 0; i < width; i++)
width331scripts/lxdialog/util.cwmove (win, i, x + width);
width28scripts/lxdialog/yesno.cprint_buttons(WINDOW *dialog, int height, int width, int selected)
width30scripts/lxdialog/yesno.cint x = width / 2 - 10;
width44scripts/lxdialog/yesno.cdialog_yesno (const char *title, const char *prompt, int height, int width)
width50scripts/lxdialog/yesno.cx = (COLS - width) / 2;
width53scripts/lxdialog/yesno.cdraw_shadow (stdscr, y, x, height, width);
width55scripts/lxdialog/yesno.cdialog = newwin (height, width, y, x);
width58scripts/lxdialog/yesno.cdraw_box (dialog, 0, 0, height, width, dialog_attr, border_attr);
width61scripts/lxdialog/yesno.cfor (i = 0; i < width - 2; i++)
width68scripts/lxdialog/yesno.cmvwaddch (dialog, 0, (width - strlen(title))/2 - 1, ' ');
width74scripts/lxdialog/yesno.cprint_autowrap (dialog, prompt, width - 2, 1, 3);
width76scripts/lxdialog/yesno.cprint_buttons(dialog, height, width, 0);
width96scripts/lxdialog/yesno.cprint_buttons(dialog, height, width, button);