summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8163f29)
I'm assuming this is not a valid concern anymore.
int distout (char *, char *, char *);
void replout (FILE *, char *, char *, struct msgs *, int,
int, char *, char *, char *, int);
int distout (char *, char *, char *);
void replout (FILE *, char *, char *, struct msgs *, int,
int, char *, char *, char *, int);
int sc_length(void);
int sc_width(void);
int build_form (char *, char *, int *, char *, char *, char *, char *,
int sc_length(void);
int sc_width(void);
int build_form (char *, char *, int *, char *, char *, char *, char *,
static int initLI = 0;
static int initCO = 0;
static int initLI = 0;
static int initCO = 0;
-static int HC = 0; /* are we on a hardcopy terminal? */
static int LI = 40; /* number of lines */
static int CO = 80; /* number of colums */
static char *CL = NULL; /* termcap string to clear screen */
static int LI = 40; /* number of lines */
static int CO = 80; /* number of colums */
static char *CL = NULL; /* termcap string to clear screen */
speedcode = cfgetospeed(&tio);
speedcode = cfgetospeed(&tio);
- HC = tgetflag ("hc");
-
if (!initCO && (CO = tgetnum ("co")) <= 0)
CO = 80;
if (!initLI && (LI = tgetnum ("li")) <= 0)
if (!initCO && (CO = tgetnum ("co")) <= 0)
CO = 80;
if (!initLI && (LI = tgetnum ("li")) <= 0)
-/*
- * Is this a hardcopy terminal?
- */
-
-int
-sc_hardcopy(void)
-{
- read_termcap();
- return HC;
-}
-
folder = getenv ("mhfolder");
if (isatty (fileno (stdout))) {
folder = getenv ("mhfolder");
if (isatty (fileno (stdout))) {
- if (!nomore && !sc_hardcopy() && moreproc && *moreproc != '\0') {
+ if (!nomore && moreproc && *moreproc != '\0') {
if (mhl_action) {
SIGNAL (SIGINT, SIG_IGN);
SIGNAL2 (SIGQUIT, quitser);
if (mhl_action) {
SIGNAL (SIGINT, SIG_IGN);
SIGNAL2 (SIGQUIT, quitser);