Created
December 30, 2020 15:29
-
-
Save ngsctt/d6e42b886f3b12a939549d51528a2bda to your computer and use it in GitHub Desktop.
Patch file for GNU Screen, based on https://gist.github.com/yujinakayama/4608863 and http://www.opensource.apple.com/source/screen/screen-16/patches/config.h.in.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- acconfig.h 2020-02-06 07:09:38.000000000 +1100 | |
+++ acconfig.h 2020-12-28 18:16:28.000000000 +1100 | |
@@ -191,14 +191,14 @@ | |
* If screen is installed with permissions to update /etc/utmp (such | |
* as if it is installed set-uid root), define UTMPOK. | |
*/ | |
-#define UTMPOK | |
+#undef UTMPOK | |
/* Set LOGINDEFAULT to one (1) | |
* if you want entries added to /etc/utmp by default, else set it to | |
* zero (0). | |
* LOGINDEFAULT will be one (1) whenever LOGOUTOK is undefined! | |
*/ | |
-#define LOGINDEFAULT 1 | |
+#undef LOGINDEFAULT | |
/* Set LOGOUTOK to one (1) | |
* if you want the user to be able to log her/his windows out. | |
@@ -214,7 +214,7 @@ | |
* Set CAREFULUTMP to one (1) if you want that users have at least one | |
* window per screen session logged in. | |
*/ | |
-#define LOGOUTOK 1 | |
+#undef LOGOUTOK | |
#undef CAREFULUTMP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment