Ensure that multibyte UTF8 characters are counted correctly when
calculating and displaying the caption and hardstatus lines.
Based on an earlier version by Kees Cook <address@hidden>
Signed-off-by: Dustin Kirkland <address@hidden>
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Windows in screen can be renamed using C-a A (title). This can be done
repeatedly so that any number of prompts for a new window name overlay
each other. Once the user entered a name in the topmost prompt and
presses enter, he has to do it again for all the prompts underneath.
This can be very confusing in case the user hit C-a A several times
without noticing or realizing.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
* Lintian warning manpage-has-errors-from-man fixed by replacing all
occurrences of "..." by "…"
* Fixes tons of lintian warnings hyphen-used-as-minus-sign
* Fixes two typos found by lintian
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Ensure that multibyte UTF8 characters are counted correctly when
calculating and displaying the caption and hardstatus lines.
Based on an earlier version by Kees Cook <address@hidden>
Signed-off-by: Dustin Kirkland <address@hidden>
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
The manpage for Screen says that you should use C-a C-\ to quit screen, while it is in fact C-a \ (Closes: #630535)
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Make it a bit harder to shoot oneself in the foot by
keeping the umask tight by default when creating the
screen exchange file. Fearless users may still chmod it.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Increase the MAXSTR macro to suit present-day needs.
Increase the maximum length of the input line buffer likewise.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
screen FTBFS if make uses parallel building (at least with -j8). This
patch adds the missing dependencies to make parallel builds work, too.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
According to tic man page:
Terminal names exceeding the maximum alias length
(32 characters on systems with long filenames, 14 characters otherwise)
will be truncated to the maximum alias length and a warning message
will be printed.
Use 32 as it's bigger value and it won't matter on systems with smaller
filenames.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
fixes screen segfaults with `altscreen on` when using applications making
use of altscreen like mc when resizing screen window
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
When building with -DNONETHACK all commands were off by 1 because of
missing nethack command in table.
Provide dummy command with info message.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
According to tic man page:
Terminal names exceeding the maximum alias length
(32 characters on systems with long filenames, 14 characters otherwise)
will be truncated to the maximum alias length and a warning message
will be printed.
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>