patchGNU nano - Patches: patch #7082, adding a noread option

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7082: adding a noread option

Submitter:  Hans Alves <hansalves>
Submitted:  Thu 04 Feb 2010 11:30:48 AM UTC
   
 
Priority:  5 - Normal Status:  Done
Privacy:  Public Assigned to:  astyanax
Open/Closed:  Closed Release:  2.3

Tue 08 Apr 2014 07:10:48 PM UTC, comment #4: 

Applied in SVN, r4754.  Thanks, Hans.

Benno Schulenberg <bens>
Group administrator
Tue 08 Apr 2014 05:51:04 PM UTC, comment #3: 

Yes that's fine, I wont have time to apply before this weekend.

Chris Allegretta <astyanax>
Group administrator
Tue 08 Apr 2014 02:34:36 PM UTC, comment #2: 

What is the status on this, Chris?  Do you still wish to see this go in?

Benno Schulenberg <bens>
Group administrator
Tue 09 Feb 2010 02:15:36 AM UTC, comment #1: 

Havent looked at the patch yet but what you propose is fine.  Unfortunately, we are in feature freeze currently as there is only one active branch for nano, and that is the stable 2.2 branch.  When 2.3 opens, which will probably be soon since there have been few new bugs recently reported on the 2.2 series, I'll fork that branch and start 2.3 development.  This can be the first or second feature added to 2.3.

Chris Allegretta <astyanax>
Group administrator
Thu 04 Feb 2010 11:30:48 AM UTC, original submission:  

I made a patch that will add a noread option that can be used with the commandline parameters -n and --noread
Basically, with this option every file that is given on the commandline will be treated as a new file, so nano will not try to read the file. This is useful because it allows nano to write to named pipes, normally when you try `$nano fifo' nano will hang because there is no input on the pipe. With the noread option nano starts with a blank buffer and will write to the pipe when the user tries to save the file. This way nano can be used as an editor in combination with for instance gpg without having to write sensitive data to disk first.

Hans Alves <hansalves>

 

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

Attached Files
file #19615:  noread.patch added by hansalves (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by astyanax (Posted a comment)
  • -email is unavailable- added by hansalves (Submitted the item)
  • -email is unavailable- added by hansalves
  •  

    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.

     

    Follow 11 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-08 bens StatusNeed Info Done
        Open/ClosedOpen Closed
    2014-04-08 bens StatusIn Progress Need Info
        Summaryadded a noread option adding a noread option
    2010-02-09 astyanax Category101 (Error - Not Found) None
        ReleaseNone 2.3
    2010-02-09 astyanax CategoryNone 101 (Error - Not Found)
        StatusNone In Progress
        Assigned toNone astyanax
    2010-02-04 hansalves Attached File- Added noread.patch, #19615
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code