* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
/* this loads the capability entry, then sets LINES and COLS */
if (setupterm(name, fileno(ofp), &errret) == ERR) {
result = 0;
/* this loads the capability entry, then sets LINES and COLS */
if (setupterm(name, fileno(ofp), &errret) == ERR) {
result = 0;
if (_nc_setupscreen(LINES, COLS, ofp, filter_mode, slk_format) == ERR) {
_nc_set_screen(current);
result = 0;
if (_nc_setupscreen(LINES, COLS, ofp, filter_mode, slk_format) == ERR) {
_nc_set_screen(current);
result = 0;