bugGNU Screen - Bugs: bug #24096, Incorrect hardstatus

 
 

bug #24096: Incorrect hardstatus

Submitted by:  Sadrul Habib Chowdhury <sadrul>
Submitted on:  Mon 18 Aug 2008 05:58:26 PM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 6Status: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: 0 - Hours

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 08 Mar 2010 07:34:06 PM UTC, comment #3:

Fixed in 25ff9f7.

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Mon 18 Aug 2008 06:17:56 PM UTC, comment #2:

screenrc file:

caption splitonly "%{= kb}[ %< %{w}%?%-Lw%?%{+b yk}%f %t%?(%u)%?%{-}%?%+Lw%? %= %{b}][%{G} %Y.%m.%d %{kW}%0c %{kb}]"
hardstatus alwayslastline "%Lw"
screen
screen
screen
select 0
stuff "sleep 3 && printf '\\a'\015"
select 2

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Mon 18 Aug 2008 06:08:12 PM UTC, comment #1:

I don't see how efd5ce could do anything touching this problem: that affects how programs running under screen behave towards screen, but not how screen itself behaves towards the host terminal; the bug is with gnome-terminal, and c64ccc was a workaround, restoring that code to what it had been in 4.0.3 (it had lacked that "shortcut" code).

Perhaps other code now counts on something from that, or other code got moved around.

Could you provide a screenrc that you can produce this problem with, so that I can be sure I use the right settings?

Micah Cowan <micahcowan>
Mon 18 Aug 2008 05:58:26 PM UTC, original submission:

I have hardstatus turned on, and the caption string set (but splitonly).

If a bell goes off in an unfocused window, then it's supposed to show 'Bell in window X' in the hardstatus line. But it ends up showing the caption string instead, although I have no splits, and caption is set to splitonly.

I tried out git bisect, and it looks like c64ccc is the revision that introduced the bug. Reverting the change (I changed '#if 0' ti '#if 1') fixes this problem for me. But I can't reproduce the bug that commit fixes (#23699), so I am not going to make the commit to revert the change.

For #23699, perhaps efd5ce fixes the problem, without requiring c64ccc?

Sadrul Habib Chowdhury <sadrul>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Posted a comment)
  • -unavailable- added by sadrul (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 Mar 2010 07:34:06 PM UTCsadrulStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
    Sun 25 Jan 2009 06:09:16 PM UTCmicahcowanPriority8=>6
      Work RequiredNone=>0 - Hours
    Mon 18 Aug 2008 06:08:12 PM UTCmicahcowanPriority5 - Normal=>8

    Back to the top


    Powered by Savane 3.1-cleanup1