+ screen->widgets.boot_tty_l = widget_new_label(set, 0, 0,
+ _("Default tty:"));
+ screen->widgets.boot_tty_f = widget_new_select(set, 0, 0,
+ COLS - screen->field_x - 1);
+
+ for (i = 0; i < config->n_tty; i++){
+ found = config->boot_tty &&
+ strncmp(config->boot_tty, config->tty_list[i],
+ strlen(config->boot_tty)) == 0;
+ widget_select_add_option(screen->widgets.boot_tty_f, i,
+ config->tty_list[i], found);
+ }
+
+ tty = talloc_asprintf(screen, _("Current interface: %s"),
+ ttyname(STDIN_FILENO));
+ screen->widgets.current_tty_l = widget_new_label(set, 0 , 0, tty);
+