diff options
author | Scott Shambarger <devel@shambarger.net> | 2019-11-05 17:00:32 +0000 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2019-12-28 13:45:48 +0100 |
commit | 11a1fc82fb34e18832938d63c3a4471908dae017 (patch) | |
tree | 90481d1f11b36990d17e092a554d410ee2db589b /src/os.h | |
parent | fa4f88614d3e5994cfb1372353e7316be7235060 (diff) | |
download | screen-11a1fc82fb34e18832938d63c3a4471908dae017.tar.gz |
Create TERMCAP entries limited to 1023 bytes by default.
TERMCAP_BUF defaults to 1023 to create TERMCAP entries that work on
most systems. To save space, TERMCAP is unwrapped, and vt220 extra
keys are skipped (unless TERMCAP_BUF > 1023); navigation keys are
still included. Entries larger than TERMCAP_BUF are now truncated,
and no longer Panic screen.
Termcap entries are still wrapped when saved to a file.
Signed-off-by: Scott Shambarger <devel@shambarger.net>
Diffstat (limited to 'src/os.h')
-rw-r--r-- | src/os.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ typedef char* slot_t; /* used internally in utmp.c */ */ #ifndef TERMCAP_BUFSIZE -# define TERMCAP_BUFSIZE 2048 +# define TERMCAP_BUFSIZE 1023 #endif /* |