bugGNU Screen - Bugs: bug #44947, Preselection of window for -X exec...


bug #44947: Preselection of window for -X exec ignored in screen

Submitted by:  Christof Kaufmann <christofkaufmann>
Submitted on:  Tue 28 Apr 2015 04:42:55 PM UTC  
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.2.1
Fixed Release:  None Planned Release:  None
Work Required:  None

Add a New Comment(Rich Markup)

You are not logged in

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


Tue 28 Apr 2015 04:42:55 PM UTC, original submission:

When I try to preselect a window in which a command should be executed, the setting is (almost) ignored and the currently selected window is used instead. This issue can easily be reproduced:
Now reconnect with
and see that text0 and text1 are printed in the same window. However, when using a too high number (e. g. 2) for the preselection, the command is not executed at all (which is good). I think the wrong preselection is not intended, since with the following command the preselection works as expected:

This was tested on Debian Jessie with Screen version 4.02.01 and on Rocks 6.1 with Screen version 4.00.03.

This issue might be related to Bug 31247. It might also be related that the select command does not work (from outside):

Christof Kaufmann <christofkaufmann>


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

Attach Files:

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 christofkaufmann (Submitted the item)

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

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3