FS#23066 - GNU Screen stops colouring hardstatus text after 16 colour changes

Attached to Project: Arch Linux
Opened by Joe (n3hima) - Sunday, 27 February 2011, 14:32 GMT
Last edited by Allan McRae (Allan) - Monday, 14 March 2011, 13:43 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In GNU screen, when changing the colour of the hardstatus text in .screenrc, screen stops changing the colour after 16 colour changes.

For example, using this line:
hardstatus alwayslastline "%{= kw} %=%{= wb}%4`%{-} %{=b }%10`%{-}%{= }rpm%{-} %{=b kG}%11`%{-}%{= kG}C%{-} %{=b }%9`%{-}%{= }rpm%{-} %{=b kY}%5`%{-}%{= kY}C%{-} %{= Yk}%6`%{-} %?%3`x%?%{=b cW}%2`%{-}%{= cW}GHz%{-} %{=b gW}%7`%{-}%{= gW}GB,%{-}%{=b gW}%8`%{-}%{= gW}%%%{-} %Y-%m-%d %0c:%s"
The colour stays fixed on %{=b kY}, which is the 16th colour change.

That line is taken from the attached .screenrc, and a screenshot is provided of the result.

This behaviour also occurs with the screen-firstline PKGBUILD from the AUR, which includes Debian patches.

This behaviour does *not* occur with the 4.01.00devel (GNU066b098) version pulled in by the screen-git PKGBUILD from the AUR.

Additional info:
* Screen version 4.00.03 (FAU) 23-Oct-06
* .screenrc and screenshot attached


Steps to reproduce:
1. Install GNU Screen from extra repository.
2. Create a hardstatus with more than 16 colour changes (or copy the one above)
3. Observe as 17th, 18th etc. colour changes are not carried out.
   scr.png (1.5 KiB)
   .screenrc (11.1 KiB)
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 14 March 2011, 13:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  screen-4.0.3-11
Comment by Allan McRae (Allan) - Sunday, 27 February 2011, 22:06 GMT
Any chance of doing the git-biset and figuring out the fix?
Comment by Allan McRae (Allan) - Monday, 14 March 2011, 13:19 GMT

Loading...