🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by John R. MacMillan Fri, 26 Oct 1990 00:21
A couple of questions from a new user
#1017
Author: John R. MacMillan
Date: Fri, 26 Oct 1990 00:21
23 lines
1586 bytes
I'm a new nn user with a couple of questions:

1. In the default-save-file how can I escape a '+' so it actually
   goes as an argument to a command?  Nn keeps wanting to expand it
   to a folder directory.

2. When piping articles through commands, how can I make nn let me
   interact with the program?  I want it to be able to ask me to
   fill in additional info, etc.

3. I've noticed a couple of other queries about using different
   mailers, but I haven't liked any of the answers.  When I send mail
   I want to use my mailer for composing, re-editing, sending, etc.
   I use MH, right now I am using "send" to actually submit the mail
   but I'd like to go through the whole "What now?" process so I
   can leave the mail as a draft or whatever.

Thanks in advance!
-- 
John R. MacMillan          | I'm in love with a McDonald's girl
john@chance.UUCP           | She's an angel in a polyester uniform
..!scocan!chance!john     |       -- barenaked ladies
Re: A couple of questions from a new user
#1027
Author: Jaap Vermeulen
Date: Fri, 26 Oct 1990 21:06
39 lines
2236 bytes
john@chance.UUCP (John R. MacMillan) writes:


>3. I've noticed a couple of other queries about using different
>   mailers, but I haven't liked any of the answers.  When I send mail
>   I want to use my mailer for composing, re-editing, sending, etc.
>   I use MH, right now I am using "send" to actually submit the mail
>   but I'd like to go through the whole "What now?" process so I
>   can leave the mail as a draft or whatever.

I realize that there is some confusion in this area.

There is the issue of composing the mail message.  This is done in the
'aux' script of nn.  'nn' Let you specify your own aux script for
composing mail:

set mail-script <some-kind-of-filename>

Be aware that there is some protocol in place between 'nn' and 'aux'
that you have to understand and obey in order to write a working
mailer-script.


And then there is the issue of sending the mail message.  This is done
by 'recmail' or 'sendmail -t' or whatever was specified at compile
time. 'nn' Let you specify your own mail delivery program:

set mailer-pipe-input <true-or-false>
set mailer <some-kind-of-filename>


I hope this will help,

	-Jaap-
-- 
Jaap Vermeulen					+--------------------------+
						| Sequent Computer Systems |
	Internet : jaap@sequent.com		| Beaverton, Oregon	   |
	Uucp	 : ...uunet!sequent!jaap	+--------------------------+
Re: A couple of questions from a new user
#1069
Author: Kim F. Storm
Date: Fri, 09 Nov 1990 18:08
34 lines
1935 bytes
john@chance.UUCP (John R. MacMillan) writes:

>1. In the default-save-file how can I escape a '+' so it actually
>   goes as an argument to a command?  Nn keeps wanting to expand it
>   to a folder directory.

The + is only expanded at the beginning of the string and after
whitespace, so all you have to do is to escape it using \ or
maybe ./+name (which you cannot enter interactively though):

	set default-save-file ./+abc
	set default-save-file \\+abc

(You have to double the \\ since one is skipped when parsing the
set command, and the other is used to escape the + in the save
command - and is really ignored by the shell).

>2. When piping articles through commands, how can I make nn let me
>   interact with the program?  I want it to be able to ask me to
>   fill in additional info, etc.

This is not recommended!  nn will feed the article to the
standard input of the command, so commands which will need to
interact with the user must be written specially to do so (e.g.
using /dev/tty).

>3. I've noticed a couple of other queries about using different
>   mailers, but I haven't liked any of the answers.

Jaap has already answered this better than I can.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads