summaryrefslogtreecommitdiff
path: root/src/os.h
diff options
context:
space:
mode:
authorAmadeusz Sławiński <amade@asmblr.net>2014-04-22 18:25:46 +0200
committerAmadeusz Sławiński <amade@asmblr.net>2014-04-22 18:25:46 +0200
commitfe8103cccd58c2e5de40634e694e2d99afce67ca (patch)
treee038a2d27aa95d208363a240f643972948d13042 /src/os.h
parentb62e4ef0971fc9bbf5298d810819f406abb23862 (diff)
downloadscreen-fe8103cccd58c2e5de40634e694e2d99afce67ca.tar.gz
allow for defining term and login length if needed
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/os.h b/src/os.h
index 5c17c83..55de249 100644
--- a/src/os.h
+++ b/src/os.h
@@ -521,3 +521,9 @@ typedef struct fd_set { int fds_bits[1]; } fd_set;
*/
#define IOSIZE 4096
+/* 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 MAXLOGINLEN 256
+