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

 
 

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

Submitted by:  brainwash <brainwash>
Submitted on:  Mon 23 Sep 2013 08:55:33 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 08 Apr 2014 06:25:56 PM UTC, 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 24 Mar 2014 12:05:20 PM UTC, comment #2:

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

Jérémie Courrèges-Anglas <jca>
Project Administrator
Thu 21 Nov 2013 11:41:26 PM UTC, 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 23 Sep 2013 08:55:33 PM UTC, 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 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 jca (Posted a comment)
  • -email is unavailable- added by brainwash (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.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-08 jca StatusNeed Info => Fixed
        Open/ClosedOpen => Closed
    2013-11-21 jca StatusNone => Need Info

    Back to the top


    Powered by Savane 3.3