bugGNU Screen - Bugs: bug #29078, screen -q -ls gives wrong return...

 
 

bug #29078: screen -q -ls gives wrong return value

Submitter:  Friedrich Delgado Friedrichs <taupan>
Submitted:  Fri 05 Mar 2010 01:47:58 PM UTC
   
 
Category:  User Interface Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  amade
Open/Closed:  Closed Release:  Cur Dev Sources
Fixed Release:  4.2.1 Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 08 Jun 2015 04:05:41 PM UTC, comment #4: 

Yes it's already in, fixed in d07546e23fcbb24250660d416863025a00c2f5bc

Amadeusz Sławiński <amade>
Group administrator
Mon 08 Jun 2015 10:26:04 AM UTC, comment #3: 

Is this patch already in git? Can we close this report?

Alexander Naumov <anaumov>
Group administrator
Sat 06 Mar 2010 02:18:18 PM UTC, comment #2: 

Yes, that patch helps. Return value is now 9, if I have the socket directory but no screens, 11 if I have one screen, 12 for two...

Friedrich Delgado Friedrichs <taupan>
Fri 05 Mar 2010 03:37:23 PM UTC, comment #1: 
Sadrul Habib Chowdhury <sadrul>
Group administrator
Fri 05 Mar 2010 01:47:58 PM UTC, original submission:  

With stable versions of screen, when I have the following output from screen -ls:

There is a screen on:
        12095.pts-2.orion       (Attached)
1 Socket in /tmp/screens/S-fdf.

screen -q -ls gives me 11 as return value (10 for socket directory, +1 for each attachable session according to the manpage).

With recent git ( da8e87d6505fb33ed131144a33af88c6d0dc96fd and later) I get just 10 as return value.

This is in direct contradiction to the manpage, so I assume it's a bug.

If however there was a good reason to change this, then this is just a documentation bug.

Friedrich Delgado Friedrichs <taupan>

 

(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 anaumov (Posted a comment)
  • -email is unavailable- added by sadrul (Posted a comment)
  • -email is unavailable- added by taupan (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-08 amade StatusNone Fixed
        Assigned toNone amade
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.2.1

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code