lp:screen

Created by Jelmer Vernooij on 2010-01-27 and last modified on 2019-02-14
Get this branch:
bzr branch lp:screen

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
screen
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.savannah.gnu.org/screen.git.

The next import is scheduled to run in 5 hours.

Last successful import was 38 minutes ago.

Import started 38 minutes ago on izar and finished 38 minutes ago taking 20 seconds — see the log
Import started 6 hours ago on alnitak and finished 6 hours ago taking 50 seconds — see the log
Import started 12 hours ago on alnitak and finished 12 hours ago taking 15 seconds — see the log
Import started 18 hours ago on alnitak and finished 18 hours ago taking 20 seconds — see the log
Import started on 2019-02-15 on izar and finished on 2019-02-15 taking 15 seconds — see the log
Import started on 2019-02-14 on alnitak and finished on 2019-02-14 taking 20 seconds — see the log
Import started on 2019-02-14 on izar and finished on 2019-02-14 taking 20 seconds — see the log
Import started on 2019-02-14 on alnitak and finished on 2019-02-14 taking 20 seconds — see the log
Import started on 2019-02-14 on izar and finished on 2019-02-14 taking 15 seconds — see the log
Import started on 2019-02-13 on izar and finished on 2019-02-13 taking 15 seconds — see the log

Recent revisions

1199. By Amadeusz Sławiński <email address hidden> on 2019-02-14

drop unnecessary BEL from bracketed paste mode sequence

there is no BEL in enable/disable bracketed paste mode sequence, so we
shouldn't unnecessarily print it

Bug: #55709

Signed-off-by: Amadeusz Sławiński <email address hidden>

1198. By Nicolas Schodet <email address hidden> on 2019-02-11

Fix extra characters when sending a command in one go

This closes bug #52372: Giberish printed to screen window in certain
situations.

When sending "^An", most of the time, screen first receives "^A", then
it receives the "n". This means that in the ProcessInput2 function,
ilen == 1 after the escape character has been seen, ilen is decremented
and the ProcessInput2 function returns.

When "^An" is sent in one go, for example when pasting or when using a
special shortcut, ilen is not 1 when the escape character is seen. In
this case, the s variable was incremented, but ilen was not decremented.
This leads the function to read an extra character which does not
exists.

This regression was introduced in 2fab4d6f73, as reported in the bug
report.

This can be tested by having a command in the selection:

echo -ne '\x01n' | xclip -i

And pasting it (in this case, you might see the closing bracketed paste
sequence, but that is another problem).

Bug: #52372
Signed-off-by: Amadeusz Sławiński <email address hidden>

1197. By Amadeusz Sławiński <email address hidden> on 2019-02-02

make build date reproducible

Based on https://reproducible-builds.org/docs/source-date-epoch/
They suggest "BUILD_DATE ?=", but it seems to be evaluated for each file
separately, so us "BUILD_DATE :=" to set it once.

Signed-off-by: Amadeusz Sławiński <email address hidden>

1196. By Scott Shambarger <email address hidden> on 2019-01-27

Fix blanker to work when screen is suid root

* Change RunBlanker to call OpenDevice so permissions on slave
  PTY are correctly set.
* Update handling of file descriptors after fork to be similar to
  ForkWindow on at pty (fixes debug and leaked descriptors)
* Allow display of error message when display blocked by blanker
  (because message is probably from blanker failing to start)

Bug: 55512

Cherry-picked form screen-v4, with some modifications

Signed-off-by: Scott Shambarger <email address hidden>
Signed-off-by: Amadeusz Sławiński <email address hidden>

1195. By Scott Shambarger <email address hidden> on 2019-01-27

Prevent Panic causing Panic, and children removing sockets

* Set eff_uid/eff_gid after setuid/setgid to prevent nested Panic
  MakeClientSocket calls xseteuid(eff_uid=0) - results in nested
  Panic and SendErrorMsg not getting sent.
* Set ServerSocket to -1 after fork so that child Panic doesn't
  remove socket in eexit.

Bug: 55511

Cherry-picked from screen-v4 with some modifications

Signed-off-by: Scott Shambarger <email address hidden>
Signed-off-by: Amadeusz Sławiński <email address hidden>

1194. By Amadeusz Sławiński <email address hidden> on 2019-01-27

mark AttacherFinit, AttacherFinitBye & Attacher as noreturn

Signed-off-by: Amadeusz Sławiński <email address hidden>

1193. By Amadeusz Sławiński <email address hidden> on 2019-01-26

mark backticks as static

Signed-off-by: Amadeusz Sławiński <email address hidden>

1192. By Amadeusz Sławiński <email address hidden> on 2019-01-26

fix flow of 'at' command

we just returned without freeing 's' and resetting EffectiveAclUser,
which per comment at the beginning should be reset

Signed-off-by: Amadeusz Sławiński <email address hidden>

1191. By Amadeusz Sławiński <email address hidden> on 2019-01-26

sched() can be marked as noreturn

Signed-off-by: Amadeusz Sławiński <email address hidden>

1190. By Amadeusz Sławiński <email address hidden> on 2019-01-26

remove unneeded cast

Signed-off-by: Amadeusz Sławiński <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers