bugranger - Bugs: bug #35733, Trapping SIGHUP

 
 

bug #35733: Trapping SIGHUP

Submitted by:  Manolo Martínez <manolomartinez>
Submitted on:  Tue 06 Mar 2012 07:30:31 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Privacy: PublicAssigned 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.

 

Thu 05 Apr 2012 11:07:18 AM UTC, comment #1:

This works since the recent file opener update (rifle.py)

Roman Z. <hut>
Project Administrator
Tue 06 Mar 2012 07:30:31 PM UTC, original submission:

The following use case is typical for me: I open an instance of ranger in order to launch a file; after that, I'd like to be able to close ranger, but not the application that handles the file. The +d flag does not do this.

I was thinking that adding an extra flag ('a', in the attached patch) that instructs ranger to trap SIGHUP signals would be useful. I am not a programmer, so the attached patch -- although it does work, as far as I can see -- is intended only for illustration.

Thanks!
Manolo

Manolo Martínez <manolomartinez>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #25277:  patch added by manolomartinez (432B - application/octet-stream - a patch for runner.py that introduces a new flag.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hut (Posted a comment)
  • -unavailable- added by manolomartinez (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
    Thu 05 Apr 2012 11:07:18 AM UTChutStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 06 Mar 2012 07:30:31 PM UTCmanolomartinezAttached File-=>Added patch, #25277

    Back to the top


    Powered by Savane 3.1-cleanup1