Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses Get rid of the evil trailing spaces and tabs.



details:   https://anonhg.NetBSD.org/src/rev/dae36dbdac2c
branches:  trunk
changeset: 474116:dae36dbdac2c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Jun 28 13:32:43 1999 +0000

description:
Get rid of the evil trailing spaces and tabs.

diffstat:

 lib/libcurses/Makefile   |   4 ++--
 lib/libcurses/addbytes.c |   8 ++++----
 lib/libcurses/cr_put.c   |   6 +++---
 lib/libcurses/curses.3   |   4 ++--
 lib/libcurses/curses.c   |  10 +++++-----
 lib/libcurses/curses.h   |  10 +++++-----
 lib/libcurses/getch.c    |  12 ++++++------
 lib/libcurses/initscr.c  |   6 +++---
 lib/libcurses/setterm.c  |   6 +++---
 lib/libcurses/tty.c      |   6 +++---
 10 files changed, 36 insertions(+), 36 deletions(-)

diffs (297 lines):

diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/Makefile
--- a/lib/libcurses/Makefile    Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/Makefile    Mon Jun 28 13:32:43 1999 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile,v 1.20 1999/04/13 14:08:17 mrg Exp $
+#      $NetBSD: Makefile,v 1.21 1999/06/28 13:32:43 simonb Exp $
 #      @(#)Makefile    8.2 (Berkeley) 1/2/94
 
 CPPFLAGS+=#-DTFILE=\"/dev/ttyp0\"
-CPPFLAGS+=-D_CURSES_PRIVATE -I${.CURDIR} 
+CPPFLAGS+=-D_CURSES_PRIVATE -I${.CURDIR}
 LIB=   curses
 SRCS=  addbytes.c addch.c addnstr.c attributes.c bell.c box.c clear.c \
        clrtobot.c clrtoeol.c cr_put.c ctrace.c cur_hash.c curses.c delch.c \
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/addbytes.c
--- a/lib/libcurses/addbytes.c  Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/addbytes.c  Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: addbytes.c,v 1.13 1999/04/13 14:08:17 mrg Exp $        */
+/*     $NetBSD: addbytes.c,v 1.14 1999/06/28 13:32:43 simonb Exp $     */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)addbytes.c 8.4 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: addbytes.c,v 1.13 1999/04/13 14:08:17 mrg Exp $");
+__RCSID("$NetBSD: addbytes.c,v 1.14 1999/06/28 13:32:43 simonb Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -82,7 +82,7 @@
 #ifdef DEBUG
                        __CTRACE("ADDBYTES(%0.2o, %d, %d)\n", win, y, x);
 #endif
-                       
+
                        lp = win->lines[y];
                        if (lp->flags & __ISPASTEOL) {
                                lp->flags &= ~__ISPASTEOL;
@@ -103,7 +103,7 @@
                                if (c == '\n')
                                        break;
                        }
-                               
+
                        attributes = '\0';
                        if (win->flags & __WSTANDOUT || attr & __STANDOUT)
                                attributes |= __STANDOUT;
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/cr_put.c
--- a/lib/libcurses/cr_put.c    Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/cr_put.c    Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cr_put.c,v 1.12 1999/04/13 14:08:17 mrg Exp $  */
+/*     $NetBSD: cr_put.c,v 1.13 1999/06/28 13:32:43 simonb Exp $       */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)cr_put.c   8.3 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: cr_put.c,v 1.12 1999/04/13 14:08:17 mrg Exp $");
+__RCSID("$NetBSD: cr_put.c,v 1.13 1999/06/28 13:32:43 simonb Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -144,7 +144,7 @@
                         * list this won't work.  We should probably have an
                         * sc capability but sf will generally take the place
                         * if it works.
-                        * 
+                        *
                         * Superbee glitch: in the middle of the screen have to
                         * use esc B (down) because linefeed screws up in
                         * "Efficient Paging" (what a joke) mode (which is
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/curses.3
--- a/lib/libcurses/curses.3    Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/curses.3    Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: curses.3,v 1.13 1999/04/13 14:08:17 mrg Exp $
+.\"    $NetBSD: curses.3,v 1.14 1999/06/28 13:32:43 simonb Exp $
 .\"
 .\" Copyright (c) 1985, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -224,5 +224,5 @@
 .Sh HISTORY
 The
 .Nm
-package appeared in 
+package appeared in
 .Bx 4.0 .
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/curses.c
--- a/lib/libcurses/curses.c    Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/curses.c    Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses.c,v 1.10 1999/04/13 14:08:17 mrg Exp $  */
+/*     $NetBSD: curses.c,v 1.11 1999/06/28 13:32:43 simonb Exp $       */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)curses.c   8.3 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: curses.c,v 1.10 1999/04/13 14:08:17 mrg Exp $");
+__RCSID("$NetBSD: curses.c,v 1.11 1999/06/28 13:32:43 simonb Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -48,9 +48,9 @@
 int    __echoit = 1;                   /* If stty indicates ECHO. */
 int    __pfast;
 int    __rawmode = 0;                  /* If stty indicates RAW mode. */
-int    __noqch = 0;                    /* 
-                                        * If terminal doesn't have 
-                                        * insert/delete line capabilities 
+int    __noqch = 0;                    /*
+                                        * If terminal doesn't have
+                                        * insert/delete line capabilities
                                         * for quick change on refresh.
                                         */
 char   AM, BS, CA, DA, EO, HC, IN, MI, MS, NC, NS, OS, PC, UL, XB, XN,
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/curses.h
--- a/lib/libcurses/curses.h    Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/curses.h    Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses.h,v 1.23 1999/06/28 12:32:07 simonb Exp $       */
+/*     $NetBSD: curses.h,v 1.24 1999/06/28 13:32:43 simonb Exp $       */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -107,9 +107,9 @@
 #define    KEY_BACKSPACE  0x107    /* Backspace */
 
 /* First function key (block of 64 follow) */
-#define    KEY_F0         0x108    
+#define    KEY_F0         0x108
 /* Function defining other function key values*/
-#define    KEY_F(n)       (KEY_F0+(n))  
+#define    KEY_F(n)       (KEY_F0+(n))
 
 #define    KEY_DL         0x148    /* Delete Line */
 #define    KEY_IL         0x149    /* Insert Line*/
@@ -216,7 +216,7 @@
  * A line is an array of __LDATA structures pointed to by the 'line' pointer.
  *
  * IMPORTANT: the __LDATA structure must NOT induce any padding, so if new
- * fields are added -- padding fields with *constant values* should ensure 
+ * fields are added -- padding fields with *constant values* should ensure
  * that the compiler will not generate any padding when storing an array of
  *  __LDATA structures.  This is to enable consistent use of memcmp, and memcpy
  * for comparing and copying arrays.
@@ -270,7 +270,7 @@
 #define        __SCROLLOK      0x00020         /* Scrolling ok. */
 #define        __CLEAROK       0x00040         /* Clear on next refresh. */
 #define        __WSTANDOUT     0x00080         /* Standout window */
-#define        __LEAVEOK       0x00100         /* If curser left */    
+#define        __LEAVEOK       0x00100         /* If curser left */
 #define        __WUNDERSCORE   0x00200         /* Underscored window */
 #define        __WREVERSE      0x00400         /* Reverse video window */
 #define        __WBLINK        0x00800         /* Blinking window */
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/getch.c
--- a/lib/libcurses/getch.c     Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/getch.c     Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getch.c,v 1.13 1999/06/15 04:50:28 simonb Exp $        */
+/*     $NetBSD: getch.c,v 1.14 1999/06/28 13:32:43 simonb Exp $        */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)getch.c    8.2 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: getch.c,v 1.13 1999/06/15 04:50:28 simonb Exp $");
+__RCSID("$NetBSD: getch.c,v 1.14 1999/06/28 13:32:43 simonb Exp $");
 #endif
 #endif                                 /* not lint */
 
@@ -212,14 +212,14 @@
 
                                /* need for next key */
                                the_key->value.next = new_keymap();
-                               
+
                                /* put into key array */
                                if ((current->key = realloc(current->key, (current->count + 1) * sizeof(key_entry_t *))) == NULL) {
                                        fprintf(stderr,
                                                "Could not malloc for key entry\n");
                                        exit(1);
                                }
-                               
+
                                current->key[current->count++] = the_key;
 
                        }
@@ -285,7 +285,7 @@
                perror("Could not malloc first key ent");
                exit(1);
        }
-                                                       
+
        return (new_map);
 }
 
@@ -371,7 +371,7 @@
                                return ERR;
                        if ((to || delay) && (__notimeout() == ERR))
                                        return ERR;
-                               
+
                        k = (unsigned int) c;
 #ifdef DEBUG
                        __CTRACE("inkey (state assembling) got '%s'\n", unctrl(k));
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/initscr.c
--- a/lib/libcurses/initscr.c   Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/initscr.c   Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: initscr.c,v 1.10 1999/04/13 14:08:18 mrg Exp $ */
+/*     $NetBSD: initscr.c,v 1.11 1999/06/28 13:32:43 simonb Exp $      */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)initscr.c  8.2 (Berkeley) 5/4/94";
 #else
-__RCSID("$NetBSD: initscr.c,v 1.10 1999/04/13 14:08:18 mrg Exp $");
+__RCSID("$NetBSD: initscr.c,v 1.11 1999/06/28 13:32:43 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -75,7 +75,7 @@
                return (NULL);
 
        /* Need either homing or cursor motion for refreshes */
-       if (!HO && !CM) 
+       if (!HO && !CM)
                return (NULL);
 
        if (curscr != NULL)
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/setterm.c
--- a/lib/libcurses/setterm.c   Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/setterm.c   Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setterm.c,v 1.11 1999/04/13 14:08:19 mrg Exp $ */
+/*     $NetBSD: setterm.c,v 1.12 1999/06/28 13:32:43 simonb Exp $      */
 
 /*
  * Copyright (c) 1981, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)setterm.c  8.8 (Berkeley) 10/25/94";
 #else
-__RCSID("$NetBSD: setterm.c,v 1.11 1999/04/13 14:08:19 mrg Exp $");
+__RCSID("$NetBSD: setterm.c,v 1.12 1999/06/28 13:32:43 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -196,7 +196,7 @@
                __CTRACE("%2.2s = %s\n", namp, *fp[-1] ? "TRUE" : "FALSE");
 #endif
                namp += 2;
-               
+
        } while (*namp);
        namp = "ALbcblbtcdceclcmcrcsdcDLdmdoedeik0k1k2k3k4k5k6k7k8k9hoicimipkdkekhklkrkskullmambmdmemhmkmpmrndnlpcrcscseSFsoSRtatetiucueupusvbvsvealdlsfsrALDLUPDOLERI";
        sp = sstrs;
diff -r 226aa987679b -r dae36dbdac2c lib/libcurses/tty.c
--- a/lib/libcurses/tty.c       Mon Jun 28 13:27:24 1999 +0000
+++ b/lib/libcurses/tty.c       Mon Jun 28 13:32:43 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tty.c,v 1.11 1999/04/13 14:08:19 mrg Exp $     */
+/*     $NetBSD: tty.c,v 1.12 1999/06/28 13:32:43 simonb Exp $  */
 
 /*-
  * Copyright (c) 1992, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)tty.c      8.6 (Berkeley) 1/10/95";
 #else
-__RCSID("$NetBSD: tty.c,v 1.11 1999/04/13 14:08:19 mrg Exp $");
+__RCSID("$NetBSD: tty.c,v 1.12 1999/06/28 13:32:43 simonb Exp $");
 #endif
 #endif                         /* not lint */
 
@@ -338,7 +338,7 @@
        rawt.c_lflag &= ~ECHO;
        cbreakt.c_lflag &= ~ECHO;
        __baset.c_lflag &= ~ECHO;
-       
+
        __echoit = 0;
        return (tcsetattr(STDIN_FILENO, __tcaction ?
            TCSASOFT | TCSADRAIN : TCSADRAIN, curt) ? ERR : OK);



Home | Main Index | Thread Index | Old Index