bugratpoison - Bugs: bug #40093, format option "%p"...

 
 

bug #40093: format option "%p" returns '?' instead of process ID

Submitted by:  brainwash <brainwash>
Submitted on:  Mon Sep 23 20:55:33 2013  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue Apr 8 18:25:56 2014, comment #3:

So ratpoison doesn't use getsid anymore, fixing all known glitches. Still, it will only print PIDs of its direct children. If you don't like this behavior please provide input.

Jérémie Courrèges-Anglas <jca>
Project Administrator
Mon Mar 24 12:05:20 2014, comment #2:

Care to comment on whether the issue has been dealt with? ;)

Jérémie Courrèges-Anglas <jca>
Project Administrator
Thu Nov 21 23:41:26 2013, comment #1:

This is a bit complicated. To print the pid, the process that holds the window has to be a direct child of ratpoison. Else you get '?'. And if that process is not in the same session as ratpoison, the result is OS dependant (some OSes don't allow getsid(pid) if the current process and pid aren't in the same session). Now ratpoison checks for a getsid error (this fixes a bug on those platforms), but we might stop caring about the session id one of those days...

Can you confirm that windows that are direct children of ratpoison have their pid printed correctly?

Jérémie Courrèges-Anglas <jca>
Project Administrator
Mon Sep 23 20:55:33 2013, original submission:

ratpoison 1.4.6

The PID of the current focused window cannot be determined (example: info "%p" returns '?').

brainwash <brainwash>

 

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

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Apr 8 18:25:56 2014jcaStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Thu Nov 21 23:41:26 2013jcaStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup