bugGNU Screen - Bugs: bug #52271, 'Bell in window' announcement...

 
 

bug #52271: 'Bell in window' announcement freezes display

Submitter:  Bela Lubkin <filbo>
Submitted:  Tue 24 Oct 2017 12:56:55 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.3.1
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Oct 2017 12:56:55 AM UTC, original submission:  

$ cat screen-bug-bell-freeze

# The bell-freeze which drives me bats
screen -X bash -c 'sleep 2; while :; do echo -ne \\a; sleep 6; done'
screen -X bash -c 'while :; do sleep 0.25; date; done'

$ screen -c screen-bug-bell-freeze

=================

What happens: `date` output stumps down the screen for a while, pauses for several geological ages while the status line announces Bell in window 0', then continues.

What I'd like to happen: 'Bell in window 0' appears in the status line for just as long (5 seconds) -- but does not at all impede the flow of output on that window.

I understand that this might be somewhat miserable to implement on a physical terminal with weak capabilities (might have to erase the status line, scroll, redraw status line -- repeatedly; and this might look horrible; if anyone were actually using old physical terminals at old slow baud rates where the redrawing would be noticeable).  It should be fine on a physical terminal with an actual status line, scrolling regions, or insert-line capability.  In fact I'd be OK with an implementation which retained the existing 5-second-freeze behavior on physical terminals where it'd be a hassle to do better...

This appears to be controlled by :msgwait == MsgWait in the source, and presumably applies to everything sent down the MakeStatus() pipeline (which appears to have various entry points like Msg(), LMsg()); so improving this would make life better all over the place.

Thanks!

Bela Lubkin <filbo>

 

(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 filbo (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code