Reformated comments and long lines
[mmh] / uip / termsbr.c
index ce1420c..f2b0a53 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * 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.
+*/
 
 #include <h/mh.h>
 
@@ -42,9 +42,9 @@
 #endif
 
 /*
- * These variables are sometimes defined in,
- * and needed by the termcap library.
- */
+** These variables are sometimes defined in,
+** and needed by the termcap library.
+*/
 #ifdef HAVE_OSPEED
 # ifdef MUST_DEFINE_OSPEED
 extern short ospeed;
@@ -99,8 +99,8 @@ read_termcap(void)
                return;
 
 /*
- * If possible, we let tgetent allocate its own termcap buffer
- */
+** If possible, we let tgetent allocate its own termcap buffer
+*/
 #ifdef TGETENT_ACCEPTS_NULL
        if (tgetent (NULL, term) != TGETENT_SUCCESS)
                return;
@@ -113,9 +113,11 @@ read_termcap(void)
        speedcode = cfgetospeed(&tio);
 #else
 # ifdef HAVE_TERMIO_H
-       speedcode = ioctl(fileno(stdout), TCGETA, &tio) != NOTOK ? tio.c_cflag & CBAUD : 0;
+       speedcode = ioctl(fileno(stdout), TCGETA, &tio) != NOTOK ?
+                       tio.c_cflag & CBAUD : 0;
 # else
-       speedcode = ioctl(fileno(stdout), TIOCGETP, (char *) &tio) != NOTOK ? tio.sg_ospeed : 0;
+       speedcode = ioctl(fileno(stdout), TIOCGETP, (char *) &tio) != NOTOK ?
+                       tio.sg_ospeed : 0;
 # endif
 #endif
 
@@ -198,8 +200,8 @@ clear_screen (void)
 
 
 /*
- * print in standout mode
- */
+** print in standout mode
+*/
 int
 SOprintf (char *fmt, ...)
 {
@@ -221,8 +223,8 @@ SOprintf (char *fmt, ...)
 }
 
 /*
- * Is this a hardcopy terminal?
- */
+** Is this a hardcopy terminal?
+*/
 
 int
 sc_hardcopy(void)