summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-os.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/screen/files/patch-os.h')
-rw-r--r--sysutils/screen/files/patch-os.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/screen/files/patch-os.h b/sysutils/screen/files/patch-os.h
new file mode 100644
index 000000000000..a03d22029f93
--- /dev/null
+++ b/sysutils/screen/files/patch-os.h
@@ -0,0 +1,19 @@
+--- os.h.orig 2024-07-27 07:09:11.000000000 -0700
++++ os.h 2024-08-19 08:47:21.152670000 -0700
+@@ -148,7 +148,7 @@
+ */
+
+ #ifndef TERMCAP_BUFSIZE
+-# define TERMCAP_BUFSIZE 1023
++# define TERMCAP_BUFSIZE 1024
+ #endif
+
+ /*
+@@ -161,6 +161,6 @@
+ /* Changing those you won't be able to attach to your old sessions
+ * when changing those values in official tree don't forget to bump
+ * MSG_VERSION */
+-#define MAXTERMLEN 32
++#define MAXTERMLEN 63
+ #define MAXLOGINLEN 256
+