bugGNU Screen - Bugs: bug #42445, screen 4.2.1 in xterm: hardstatus...

 
 

bug #42445: screen 4.2.1 in xterm: hardstatus in window title disappears

Submitter:  None
Submitted:  Tue 27 May 2014 09:49:16 PM UTC
Votes: 100
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.2.1
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 05 Sep 2015 05:16:28 PM UTC, comment #3: 

Works fine here, it's most likely a problem with users ~/.bashrc

Amadeusz Sławiński <amade>
Group administrator
Thu 29 May 2014 04:34:49 AM UTC, comment #2: 

Yes, I had $PROMPT_COMMAND set to 'history -a', but after I unset it by commenting it out of my .bashrc and doing "unset PROMPT_COMMAND", the hardstatus in the window title still disappears when using screen.

In other words, $PROMPT_COMMAND didn't affect the window title behavior.

Anonymous
Tue 27 May 2014 11:24:22 PM UTC, comment #1: 

Do you have $PROMPT_COMMAND set in your terminal? Does it affect the title?

Anonymous
Tue 27 May 2014 09:49:16 PM UTC, original submission:  

Hi,

I'm having a problem with the hardstatus in the window title disappearing using screen version 4.2.1.

The only 2 lines in my ~/.screenrc are:


termcapinfo xterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
hardstatus string "%h [screen %n%?: %t%?]"


In GNU screen version 4.0.3 that I used previously, it set the hardstatus to be in the window title to something like:

computer_name ~ [screen 0: bash]

However, after upgrading GNU screen to version 4.2.1, the "[screen 0: bash]" part of the hardstatus in the window title disappears after I hit enter in the terminal. The "computer_name ~" part stays there. However, the "[screen 0: bash]" reappears when switching windows (e.g. doing a "C-a n"), or creating a new window ("C-a c").

Anonymous

 

(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 amade (Posted a comment)
  • -email is unavailable- added by yyy7 (Voted in favor of this item)
  •  

    There are 100 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-09-05 amade StatusNone Works For Me
        Open/ClosedOpen Closed
    2014-06-02 yyy7 Carbon-Copy- Added yyy7

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code