screen-devel
[Top][All Lists]
Advanced

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

[screen-devel] [PATCH] consolidate formatting


From: René Genz
Subject: [screen-devel] [PATCH] consolidate formatting
Date: Mon, 17 Aug 2020 00:03:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Icedove/68.9.0

---
 src/.iscreenrc         |  4 ++--
 src/ChangeLog          |  2 +-
 src/doc/screen.texinfo | 16 ++++++++--------
 src/search.c           |  4 ++--
 src/term.c             |  2 +-
 src/termcap.c          |  2 +-
 6 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/.iscreenrc b/src/.iscreenrc
index 802afbd..f197581 100644
--- a/src/.iscreenrc
+++ b/src/.iscreenrc
@@ -19,7 +19,7 @@ echo -n "booting screen"
 # let it flash, not horn!
 #vbell on                          # "vbell" don't work any longer, sorry.
 #vbell_msg "  Wuff,  Wuff!!  "     # this is the default message
-#bell "Bimmmel No. %"            # sounds the bell and shows a message
+#bell "Bimmmel No. %"            # sounds the bell and shows a message
 
 # we want to login all windows we create.
 #login on                  # "login", "nologin" don't work any longer, sorry 2.
@@ -156,7 +156,7 @@ bind k              #wow! I even amange to type ^Ak by 
accident.
 #bind K kill
 
 echo -n "."
-#screen 1:faui43          # My good old <nr>:<alias> syntax
+#screen 1:faui43           # My good old <nr>:<alias> syntax
 #screen -k faui43          # The way Wayne Davison thinks about it.
 #screen -ln -k faui43      # this one not logged in.
 #screen -ln 2:faui09 rlogin faui09 -l jnweiger
diff --git a/src/ChangeLog b/src/ChangeLog
index 8872074..3bfe3c3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -301,7 +301,7 @@ ScrollRegion() bug fixed which caused slow scrolling if AL
 or DL was used.
 
 Pyramid and Ultrix support added. (Tim and Larry)
-  
+
 ENVIRONMENT support.
   /local/etc/screenrc checks for $SYSSCREENRC
   $HOME/.screenrc checks for $ISCREENRC and $SCREENRC
diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo
index 18689a1..fe1b282 100644
--- a/src/doc/screen.texinfo
+++ b/src/doc/screen.texinfo
@@ -1794,14 +1794,14 @@ described here.
 @menu
 * Multiuser::                  Enable / Disable multiuser mode.
 * Acladd::                     Enable a specific user.
-* Aclchg::                      Change a users permissions.
+* Aclchg::                     Change a user's permissions.
 * Acldel::                     Disable a specific user.
 * Aclgrp::                     Grant a user permissions to other users.
 * Displays::                   List all active users at their displays.
 * Umask::                      Predefine access to new windows.
-* Wall::                        Write a message to all users.
-* Writelock::                   Grant exclusive window access.
-* Su::                          Substitute user.
+* Wall::                       Write a message to all users.
+* Writelock::                  Grant exclusive window access.
+* Su::                 Substitute user.
 @end menu
 
 @node Multiuser, Acladd,  , Multiuser Session
@@ -2408,10 +2408,10 @@ terminal emulation itself.
 @menu
 * Naming Windows::             Control the name of the window
 * Console::                    See the host's console messages
-* Kill::                        Destroy an unwanted window
-* Login::                       Control @file{/etc/utmp} logging
-* Mode::                        Control the file mode of the pty
-* Monitor::                     Watch for activity or inactivity in a window
+* Kill::                       Destroy an unwanted window
+* Login::                      Control @file{/etc/utmp} logging
+* Mode::                       Control the file mode of the PTY
+* Monitor::                    Watch for activity or inactivity in a window
 * Windows::                    List the active windows
 * Hardstatus::                 Set a window's hardstatus line
 @end menu
diff --git a/src/search.c b/src/search.c
index 071ff0c..96da0e8 100644
--- a/src/search.c
+++ b/src/search.c
@@ -241,13 +241,13 @@ static void is_process(char *p, size_t len, void *data)
        switch (*p) {
        case '\007':            /* CTRL-G */
                pos = markdata->isstartpos;
-        /*FALLTHROUGH*/ case '\033':   /* ESC */
+        /* FALLTHROUGH */ case '\033': /* ESC */
                *p = 0;
                break;
        case '\013':            /* CTRL-K */
        case '\027':            /* CTRL-W */
                markdata->isistrl = 1;
-        /*FALLTHROUGH*/ case '\b':
+        /* FALLTHROUGH */ case '\b':
        case '\177':
                if (markdata->isistrl == 0)
                        return;
diff --git a/src/term.c b/src/term.c
index ec8c6b3..4191eee 100644
--- a/src/term.c
+++ b/src/term.c
@@ -38,7 +38,7 @@ struct term term[T_N] =
   { "li", T_NUM  },
   { "co", T_NUM  },
 
-/* terminal types*/
+/* terminal types */
   { "hc", T_FLG  },
   { "os", T_FLG  },
   { "ns", T_FLG  },
diff --git a/src/termcap.c b/src/termcap.c
index b49818b..0e904e3 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -125,7 +125,7 @@ int InitTermcap(int width, int height)
                        break;
                default:
                        Panic(0, "Illegal tc type in entry #%d", i);
-                /*NOTREACHED*/}
+                /* NOTREACHED */}
        }
 
        /*
-- 
2.28.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]