bugGNU Screen - Bugs: bug #25611, PLease return shell error code:...

 
 

bug #25611: PLease return shell error code: screen -r -X select INVALID-NAME

Submitted by:  Jari Aalto <jaalto>
Submitted on:  Tue 17 Feb 2009 06:40:05 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 06 Sep 2009 01:48:55 PM UTC, comment #1:

Except the request didn't fail, since the command was sent successfully.

What OP is asking for would require bidirectional communication with the backend, without attaching, which appears non-trivial at first glance.

Perhaps an alternative is some kind of minimal-attach mode, to only receive messages, but that strikes me as even more difficult.

Max Kalashnikov <maxkalashnikov>
Tue 17 Feb 2009 06:40:05 PM UTC, original submission:

Test:

$ screen -r -X select INVALID-NAME
$ echo $?
0

Please return non-zero status code when the command line option request fails, like in this case.

Jari Aalto <jaalto>

 

(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 maxkalashnikov (Posted a comment)
  • -unavailable- added by jaalto (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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup