bugGNU Screen - Bugs: bug #24096, Incorrect hardstatus

 
 

bug #24096: Incorrect hardstatus

Submitter:  Sadrul Habib Chowdhury <sadrul>
Submitted:  Mon 18 Aug 2008 05:58:26 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 6 Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None
Fixed Release:  4.1.0 Planned Release:  4.1.0
Work Required:  0 - Hours
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed in 25ff9f7.

Sadrul Habib Chowdhury <sadrul>
Group 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>
Group 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-08 sadrul StatusConfirmed Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.1.0
    2009-01-25 micahcowan Priority8 6
        Work RequiredNone 0 - Hours
    2008-08-18 micahcowan Priority5 - Normal 8

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code