- * termsbr.c -- termcap support
- *
- * This code is Copyright (c) 2002, by the authors of nmh. See the
- * COPYRIGHT file in the root directory of the nmh distribution for
- * complete copyright information.
- */
+** termsbr.c -- termcap support
+**
+** This code is Copyright (c) 2002, by the authors of nmh. See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
- * These variables are sometimes defined in,
- * and needed by the termcap library.
- */
+** These variables are sometimes defined in,
+** and needed by the termcap library.
+*/
- speedcode = ioctl(fileno(stdout), TCGETA, &tio) != NOTOK ? tio.c_cflag & CBAUD : 0;
+ speedcode = ioctl(fileno(stdout), TCGETA, &tio) != NOTOK ?
+ tio.c_cflag & CBAUD : 0;
- CL = tgetstr ("cl", &cp);
- if ((bp = tgetstr ("pc", &cp)))
+ CL = tgetstr("cl", &cp);
+ if ((bp = tgetstr("pc", &cp)))
- if (tgetnum ("sg") <= 0) {
- SE = tgetstr ("se", &cp);
- SO = tgetstr ("so", &cp);
+ if (tgetnum("sg") <= 0) {
+ SE = tgetstr("se", &cp);
+ SO = tgetstr("so", &cp);