Thread View: news.software.nn
6 messages
6 total messages
Started by David Kaelbling
Mon, 12 Mar 1990 19:33
nn's 'M' command vs. aliases
Author: David Kaelbling
Date: Mon, 12 Mar 1990 19:33
Date: Mon, 12 Mar 1990 19:33
8 lines
965 bytes
965 bytes
Running nn 6.3.10, it seems that the mail command (and variants) don't
expand aliases from my .mailrc file. I couldn't find anything in the
manual about this -- is there a way to make mail behave?
--
David Kaelbling (408) 496-3600
c/o Rational; 3320 Scott Boulevard; Santa Clara, CA 95054-3197
Email: drk@Rational.COM, or uucp {uunet,ubvax,amdcad,aeras}!igor!drk
Re: nn's 'M' command vs. aliases
Author: Mark M Mehl
Date: Tue, 13 Mar 1990 04:54
Date: Tue, 13 Mar 1990 04:54
24 lines
1804 bytes
1804 bytes
drk@rutabaga.Rational.COM (David Kaelbling) writes:
>Running nn 6.3.10, it seems that the mail command (and variants) don't
>expand aliases from my .mailrc file.
>. . . is there a way to make mail behave?
I don't think this feature is supported in nn, but I sure wish it
was. If it was, I would be tempted to use nn rather than mail to
read and reply to all my e-mailings.
You can use the "S" (save) command to pipe a given (or set of
selected) articles to the mail utility. For example,
S <---- Invoke the nn save command
|mail user@host <---- Pipe article to mail utility
Naturally, mail knows about .mailrc and will honor whatever aliases
you have defined. I suppose you could redefine the "M" (mail)
command nn uses so that nn automatically pipes to mail whenever the
"M" command is invoked.
--
/\ Mark M Mehl, alias Superticker (Supertickler to some)
<><> Internet: mehl@atanasoff.cs.IAstate.edu
\/ UUCP: {{mailrus,umix}!sharkey,hplabs!hp-lsd,uunet}!atanasoff!mehl
Disclaimer: You got to be kidding; who would want to claim anything I said?
Re: nn's 'M' command vs. aliases
Author: Richard C. Dempsey
Date: Thu, 22 Mar 1990 15:59
Date: Thu, 22 Mar 1990 15:59
28 lines
1984 bytes
1984 bytes
In article <769@dino.cs.iastate.edu> mehl@cs.iastate.edu (Mark M Mehl) writes: >drk@rutabaga.Rational.COM (David Kaelbling) writes: >>Running nn 6.3.10, it seems that the mail command (and variants) don't >>expand aliases from my .mailrc file. >>. . . is there a way to make mail behave? >You can use the "S" (save) command to pipe a given (or set of >selected) articles to the mail utility. For example, > S <---- Invoke the nn save command > |mail user@host <---- Pipe article to mail utility >Naturally, mail knows about .mailrc and will honor whatever aliases >you have defined. I suppose you could redefine the "M" (mail) >command nn uses so that nn automatically pipes to mail whenever the >"M" command is invoked. The problem with this is that the article is simply blasted out. No opportunity to add your own "buckslip" to the note explaining why the recipient should pay attention or what he should do with it, or what have you. What is needed is either to recognize .mailrc or to have a variable that says what mail composition program to use when forwarding an article. Rich Dempsey dempsey@Kodak.COM --- You'd think I'd have learned about .signature files by now.
Re: nn's 'M' command vs. aliases
Author: Bill Petro - SunOS Marketing
Date: Thu, 22 Mar 1990 22:26
Date: Thu, 22 Mar 1990 22:26
41 lines
2435 bytes
2435 bytes
lrul00@dixel.Kodak.COM (Richard C. Dempsey) writes:
>In article <769@dino.cs.iastate.edu> mehl@cs.iastate.edu (Mark M Mehl) writes:
>>drk@rutabaga.Rational.COM (David Kaelbling) writes:
>>>Running nn 6.3.10, it seems that the mail command (and variants) don't
>>>expand aliases from my .mailrc file.
>>>. . . is there a way to make mail behave?
>>You can use the "S" (save) command to pipe a given (or set of
>>selected) articles to the mail utility. For example,
>> S <---- Invoke the nn save command
>> |mail user@host <---- Pipe article to mail utility
>>Naturally, mail knows about .mailrc and will honor whatever aliases
>>you have defined. I suppose you could redefine the "M" (mail)
>>command nn uses so that nn automatically pipes to mail whenever the
>>"M" command is invoked.
>The problem with this is that the article is simply blasted out. No
>opportunity to add your own "buckslip" to the note explaining why the
>recipient should pay attention or what he should do with it, or what
>have you. What is needed is either to recognize .mailrc or to have a
>variable that says what mail composition program to use when forwarding
>an article.
>Rich Dempsey
>dempsey@Kodak.COM
>---
>You'd think I'd have learned about .signature files by now.
How about this? There is a way of changing the:
$lib/aux The response edit and send script.
I personally use the mush (Mail User SHell) mail agent and would like to
use that in nn. Does anyone know how to modify the $lib/aux script to
include one's favorite mailer?
Bill Petro {decwrl,hplabs,ucbvax}!sun!Eng!rock
"UNIX for the sake of the kingdom of heaven" Matthew 19:12
Re: Re: nn's 'M' command vs. aliases
Author: Jaap Vermeulen
Date: Fri, 23 Mar 1990 08:03
Date: Fri, 23 Mar 1990 08:03
36 lines
2324 bytes
2324 bytes
rock%warp@Sun.COM (Bill Petro - SunOS Marketing) writes:
>How about this? There is a way of changing the:
> $lib/aux The response edit and send script.
>I personally use the mush (Mail User SHell) mail agent and would like to
>use that in nn. Does anyone know how to modify the $lib/aux script to
>include one's favorite mailer?
I posted a question about this, too, some time ago. Kim's answer was:
change the mailer to some custom-script. I.e. use a local script
('/usr/local/bin/my_nnmail') instead of 'sendmail -t' or '.../recmail'.
It might be an idea, though, to include a test in $lib/aux to see if somebody
wrote his/hers own mail script (I'm using MH, for example, and would definitely
like to customize whatever gets mailed fromout nn). This costum script would
have to live in some predefined path, something like '~/.nn/mailer'. This
would avoid having every system-admin to reinvent the wheel and having to
install some local script in order to do this.
Does that make sense, Kim?
PS: Any idea when the latest nn will be posted, or did I miss it (I just
changed jobs and missed some news)
-Jaap-
"Some call me Jaaper" +---------------------------+
| Sequent Computers Systems |
Internet : sequent!jaap@uunet.uu.net | Beaverton, Oregon |
Uucp : ...uunet!sequent!jaap +---------------------------+
--
"Some call me Jaaper" +---------------------------+
| Sequent Computers Systems |
Internet : sequent!jaap@uunet.uu.net | Beaverton, Oregon |
Uucp : ...uunet!sequent!jaap +---------------------------+
Re: nn's 'M' command vs. aliases
Author: Kim F. Storm
Date: Thu, 29 Mar 1990 15:35
Date: Thu, 29 Mar 1990 15:35
23 lines
1872 bytes
1872 bytes
jaap@sequent.UUCP (Jaap Vermeulen) writes: >It might be an idea, though, to include a test in $lib/aux to see if somebody >wrote his/hers own mail script (I'm using MH, for example, and would definitely >like to customize whatever gets mailed fromout nn). This costum script would >have to live in some predefined path, something like '~/.nn/mailer'. Good idea - I will do that! But I will simply allow you to set a new variable 'mailer' to any script/string, and the default is the value of REC_MAIL. >PS: Any idea when the latest nn will be posted, or did I miss it (I just > changed jobs and missed some news) It is not posted yet, and it may be a little bit more delayed. A few bugs which bothers me have been reported, but not tracked down yet, and I have been away for approx. three weeks in March, so I have not had as much time left over to look at nn as I had expected. -- Kim F. Storm storm@texas.dk Tel +45 429 174 00 Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark No news is good news, 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