[screen-devel] [PATCH] hardstatus firstline

2012-09-15 Thread Amadeusz Sławiński
Redo of patch from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512342 as it does not apply on git due to some stuff being moved I've been using it for more than 2 years and haven't noticed any problems. Also bugs: 18192 36811 Amadeusz >From 0a5168130a594f573126d6d858ad2c3bd927b5e5 Mon Sep 1

[screen-devel] [PATCH] Allow screen to run on terminals with long $TERM

2012-09-15 Thread Amadeusz Sławiński
Seems like it is still problem, after a bit investigating seems like tic man page suggests name length of terminal names so just define it as suggested by man page to be 32 if system supports long file names and 14 otherwise. Amadeusz >From 92b46ec5c5f7b0ebc4a08a34bba1ad1be7f4279e Mon Sep 17 00:00

[screen-devel] Allow screen to run for users with long logins

2012-09-15 Thread Amadeusz Sławiński
Seems like logins can be as long as 32 characters, according to utmp (/usr/include/bits/utmp.h) Also just include screen.h in comm.c so we don't have to include os.h (After changes it needed to know MAXLOGINLEN so just do what was mentioned in comment few lines below) Also bug 21653 Amadeusz >Fr