Problem with the -n option

MikiStrange <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <CAKCHi3Sqv3GrO8TGr5xOO6UqtOXW2tvvHBjhRnbwwWO+g5SYNA@mail.gmail.com>
Hello all.

I'm trying to use th -n (--noread) option to write to openssl.
I've made my named pipe which seems to be reading from Nano ok but I'm
having the following problems.

If I write:
nano -n gog > pipe2 (where gog is my file name)

the command seems to hang and Nano doesn't appear for me to write my text
into. When I ctrl-c in terminal openssl writes the contents of Nano's
editor screen to terminal (ie the menu options etc).

If I write nano -n pipe2

Nano opens and warns me that pipe2 isn't a normal file, allows me to write
but when I save produces a file (which I can name during save) which is not
sent to openssl via the pipe.

Can someone please help me to get this right. I've searched online to no
avail.

Yours

MikiStrange.

-- 
www.mikistrange.com

_______________________________________________
Help-nano mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-nano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.