[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-nano] using --noread with a named pipe
From: |
Benno Schulenberg |
Subject: |
Re: [Help-nano] using --noread with a named pipe |
Date: |
Mon, 15 Jan 2018 11:27:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Op 14-01-18 om 19:52 schreef MikiStrange:
What I am trying to do is to encrypt the contents of Nano without them being
written to disk at any point before the encryption process begins. When I
read the explanation of -n --noread it said that the use for this option is to
pipe to a named pipe.
Indeed. And I broke that three years ago. :| With this commit:
http://git.savannah.gnu.org/cgit/nano.git/commit/?id=98ffb642
The bug has been rereported as https://savannah.gnu.org/bugs/?52896.
Attached patch should fix it. (It should apply cleanly to 2.9.2, or
really any version since 2.4.3.) If you could test...
Benno
0001-startup-allow-a-named-pipe-as-file-argument-when-nor.patch
Description: Text Data
- [Help-nano] Nano -n, MikiStrange, 2018/01/14
- Re: [Help-nano] using --noread with a named pipe,
Benno Schulenberg <=