Thread View: news.software.readers
9 messages
9 total messages
Started by chatski carl
Tue, 01 Nov 1994 20:26
Saving replies & editing saves
Author: chatski carl
Date: Tue, 01 Nov 1994 20:26
Date: Tue, 01 Nov 1994 20:26
31 lines
1360 bytes
1360 bytes
I am interested in having trn do the following 2 things
1 save replies to ../Mail/sent-mail
2 allow me to edit posts I am getting before saving them
If there is a facility for doing this I would like to know. In the
mean time I have written 2 shell commonds files:
Name Stands for Usage
---- -------------- ------------------------------------------------------
1 ssm save sent mail !ssm
2 se save edited |se <file_name>
ssm
---
#!/bin/csh
date |awk '{print "\n\n" "From chatski@umbc8.umbc.edu " $1 " " $2 " " $3 " " $4 " " $6}' >>~/Mail/sent-mail
cat ~/.letter >>~/Mail/sent-mail
se
--
#!/bin/csh
cat >>se.tmp
emacs se.tmp
echo saving to $1
cat se.tmp >>$1
rm se.tmp
Re: Saving replies & editing saves
Author: Yeechang Lee
Date: Wed, 02 Nov 1994 01:25
Date: Wed, 02 Nov 1994 01:25
10 lines
1296 bytes
1296 bytes
In article <39689m$jhf@rpc38.gl.umbc.edu>,
chatski carl <chatski@umbc.edu> wrote:
| 1 save replies to ../Mail/sent-mail
Carl, thanks for asking a question I'd been wondering as well. I'll try the
shell scripts out --what's been your experience with running them in your
.profile, or perhaps w/cron?
-- __________________________________________________________________
Yeechang Lee (ycl6@columbia.edu)|Nevada Las Vegas Mission 1992-94
Columbia University/New York City|Celestial Kingdom with Taco Bell
Re: Saving replies & editing saves
Author: chatski carl
Date: Wed, 02 Nov 1994 02:38
Date: Wed, 02 Nov 1994 02:38
19 lines
1433 bytes
1433 bytes
In article <396pqq$f19@apakabar.cc.columbia.edu>, Yeechang Lee <ycl6@columbia.edu> wrote: >In article <39689m$jhf@rpc38.gl.umbc.edu>, >chatski carl <chatski@umbc.edu> wrote: >| 1 save replies to ../Mail/sent-mail > >Carl, thanks for asking a question I'd been wondering as well. I'll try the >shell scripts out --what's been your experience with running them in your >.profile, or perhaps w/cron? I don't think it is appropriate for .profile, or cron, it must be the manual key strokes !ssm or integrated with trn, which was the subject of my original question. If people are interested in using the scripts I could generalize ssm so it piksup a mail address automatically. - carl
Re: Saving replies & editing saves
Author: Wayne Davison
Date: Wed, 02 Nov 1994 06:49
Date: Wed, 02 Nov 1994 06:49
23 lines
1760 bytes
1760 bytes
According to chatski carl <chatski@umbc.edu>: > I am interested in having trn do the following 2 things > 1 save replies to ../Mail/sent-mail If your mailer does not support this (and most do) simply set the MAILRECORD environment variable to the file to which you want the mail appended (see the Rnmail man page). Postings have a similar variable called AUTHORCOPY (see the Pnews man page). > 2 allow me to edit posts I am getting before saving them Trn doesn't support an edited save directly, but you can take the norm.saver shell script (or the mbox.saver script), create a custom version and point trn at it via the NORMSAVER (MBOXSAVER) environment variable(s). These two are kind of tricky to set, though, since they specify all the information to pass to the scripts. Their default values: NORMSAVER='%X/norm.saver %A %P %c %a %B %C "%b"' MBOXSAVER='%X/mbox.saver %A %P %c %a %B %C "%b" "From %t %`LANG= date`"' -- Wayne Davison davison@borland.com
Re: Saving replies & editing saves
Author: lvirden
Date: Wed, 02 Nov 1994 14:59
Date: Wed, 02 Nov 1994 14:59
27 lines
1790 bytes
1790 bytes
In article <39689m$jhf@rpc38.gl.umbc.edu>, chatski carl <chatski@umbc.edu> wrote: : :I am interested in having trn do the following 2 things : : 1 save replies to ../Mail/sent-mail What does this mean? Do you really mean that you would like the email replys that you are sending to a usenet poster to be saved? Rnmail is the program which trn uses to reply via mail. It uses the MAILRECORD variable to contain the name of a file where a finished message will be appended. : 2 allow me to edit posts I am getting before saving them : I am really confused by this one unless what you are asking for is a way, after indicating that you want to safe a Usenet posting, to edit the file that you are saving. I am not sure of a way to do the latter. -- :s Great net resources sought... :s Larry W. Virden INET: lvirden@cas.org :s <URL:http://www.mps.ohio-state.edu/cgi-bin/hpp?lvirden_sig.html> The task of an educator should be to irrigate the desert not clear the forest.
Re: Saving replies & editing saves
Author: Yeechang Lee
Date: Wed, 02 Nov 1994 15:38
Date: Wed, 02 Nov 1994 15:38
12 lines
1532 bytes
1532 bytes
In article <CyMoAC.E8D@borland.com>, Wayne Davison <davison@borland.com> wrote:
|If your mailer does not support this (and most do) simply set the
|MAILRECORD environment variable to the file to which you want the
|mail appended (see the Rnmail man page). Postings have a similar
|variable called AUTHORCOPY (see the Pnews man page).
Thanks Wayne, exactly what the doctor ordered, and works like a
charm--except the date doesn't get passed in the header. Any way to fix
this? Much appreciated.
-- __________________________________________________________________
Yeechang Lee (ycl6@columbia.edu)|Nevada Las Vegas Mission 1992-94
Columbia University/New York City|Celestial Kingdom with Taco Bell
Re: Saving replies & editing saves
Author: Wayne Davison
Date: Thu, 03 Nov 1994 18:33
Date: Thu, 03 Nov 1994 18:33
12 lines
1343 bytes
1343 bytes
According to Yeechang Lee <ycl6@columbia.edu>: > the date doesn't get passed in the header. Any way to fix this? To get the date header (and message-id) that inews generates we'd need to have inews do the appending to your mailbox as it posts. Unfortunately that isn't implemented, so the alternative is to not have Pnews keep a copy and have trn search and save your articles via a kill file. For instance, you could put "/my-name/f:s~/mbox-file" into your global kill file and trn would save any articles it runs across that you post. -- Wayne Davison davison@borland.com
Re: Saving replies & editing saves
Author: lvirden
Date: Fri, 04 Nov 1994 18:54
Date: Fri, 04 Nov 1994 18:54
8 lines
1271 bytes
1271 bytes
Would it work to add yourself as a Bcc: to the header (Wayne, does trn still support a blind carbon copy feature?). -- :s Great net resources sought... :s Larry W. Virden INET: larry.virden@cas.org :s <URL:http://www.mps.ohio-state.edu/cgi-bin/hpp?lvirden_sig.html> The task of an educator should be to irrigate the desert not clear the forest.
Re: Saving replies & editing saves
Author: Wayne Davison
Date: Sat, 05 Nov 1994 23:00
Date: Sat, 05 Nov 1994 23:00
17 lines
1553 bytes
1553 bytes
According to <lvirden@cas.org>: > Would it work to add yourself as a Bcc: to the header (Wayne, does > trn still support a blind carbon copy feature?). If you're talking about mail, you can get the mailer to copy yourself via Bcc or you can get the mailer to record a copy via other means instead of using MAILRECORD. If you're talking about articles, Pnews has only supported Cc:, not Bcc:, and this copy is made before passing the article off to inews, which usually doesn't support Cc: or making a copy for the author. Thus, any headers that get added by inews don't get recorded by AUTHORCOPY. You can modify Pnews (or just your NEWSHEADER definition) to add a Date header before it gets to inews, if you like. -- Wayne Davison davison@borland.com
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