int
main (int argc, char **argv)
{
- int *view_width_p, *view_length_p;
struct terminal_opts *terminal_opts;
struct argv_parser *parser;
the_source_stream = create_source_stream ();
prompt_init ();
readln_initialize ();
- terminal_init (&view_width_p, &view_length_p);
- settings_init (view_width_p, view_length_p);
+ settings_init ();
+ terminal_check_size ();
random_init ();
the_dataset = create_dataset ();
"a cascade of dependent command failures."));
getl_abort_noninteractive (the_source_stream);
}
- else
- check_msg_count (the_source_stream);
+ else if (msg_ui_too_many_errors ())
+ getl_abort_noninteractive (the_source_stream);
}
clean_up ();
- return any_errors ();
+ return msg_ui_any_errors ();
}
\f