Update of /cvsroot/tmda/tmda/htdocs
In directory usw-pr-cvs1:/tmp/cvs-serv21485/htdocs
Modified Files:
ChangeLog config-client.ht config-client.html
Log Message:
Change the default behavior of tmda-address to print a newline after
the tagged address. This can be prevented with the `-n' option.
The newline was initially supressed because this was necessary
when using the tmda-*-address utliities from a program. e.g,
in Gnus, adding a header with "tmda-address -d" would otherwise
result in a malformed header like:
From: "Jason R. Mastaler" <jason-dated-1010783138.cb8fed@xxxxxxxxxxxx
>
It seems now that tmda-address is used often from the command-line, so
it makes sense that the default is to not add the newline. Otherwise
the command-line output gets truncated.
Patch contributed by Matt Armstrong.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/ChangeLog,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- ChangeLog 2002/01/03 20:41:24 1.63
+++ ChangeLog 2002/01/03 21:09:27 1.64
@@ -1,6 +1,8 @@
2002-01-03 Jason R. Mastaler <jasonrm@xxxxxxxxxxxxxxxxxxxxxxxxxx>
* config-client.ht: Add nmh configuration information.
+ Programs should now add the `-n' option to prevent a newline
+ from being added.
2001-12-31 Jason R. Mastaler <jasonrm@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Index: config-client.ht
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/config-client.ht,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- config-client.ht 2002/01/03 20:41:24 1.14
+++ config-client.ht 2002/01/03 21:09:27 1.15
@@ -337,7 +337,7 @@
If you still read <a href="http://www.usenet.org/" TARGET="Resource
Window">USENET</a>
(a notorious source of SPAM), you might find it useful to post using a
dated address. Simply have your newsreader call
-<strong>tmda-address -d</strong> and use the result as your
+<strong>tmda-address -dn</strong> and use the result as your
posting address.
<br><br>
@@ -349,7 +349,7 @@
<blockquote><pre>
(defun tmda-dated-address ()
- (shell-command-to-string "/path/to/tmda/bin/tmda-address -d"))
+ (shell-command-to-string "/path/to/tmda/bin/tmda-address -dn"))
(setq gnus-posting-styles
(message-this-is-news
@@ -377,7 +377,7 @@
<blockquote><pre>
-alias slrn-dated 'm4 -DTMDADATED=`tmda-address -d` ~/.slrnrc.m4 > ~/.slrnrc &&
slrn -h newshost'
+alias slrn-dated 'm4 -DTMDADATED=`tmda-address -dn` ~/.slrnrc.m4 > ~/.slrnrc
&& slrn -h newshost'
</pre></blockquote>
</ul>
Index: config-client.html
===================================================================
RCS file: /cvsroot/tmda/tmda/htdocs/config-client.html,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- config-client.html 2002/01/03 20:41:24 1.18
+++ config-client.html 2002/01/03 21:09:27 1.19
@@ -1,6 +1,6 @@
<HTML>
<!-- THIS PAGE IS AUTOMATICALLY GENERATED. DO NOT EDIT. -->
-<!-- Thu Jan 3 13:38:14 2002 -->
+<!-- Thu Jan 3 13:59:36 2002 -->
<!-- USING HT2HTML 1.2 -->
<!-- SEE http://barry.wooz.org/software/ht2html -->
<!-- User-specified headers:
@@ -481,7 +481,7 @@
If you still read <a href="http://www.usenet.org/" TARGET="Resource
Window">USENET</a>
(a notorious source of SPAM), you might find it useful to post using a
dated address. Simply have your newsreader call
-<strong>tmda-address -d</strong> and use the result as your
+<strong>tmda-address -dn</strong> and use the result as your
posting address.
<br><br>
@@ -493,7 +493,7 @@
<blockquote><pre>
(defun tmda-dated-address ()
- (shell-command-to-string "/path/to/tmda/bin/tmda-address -d"))
+ (shell-command-to-string "/path/to/tmda/bin/tmda-address -dn"))
(setq gnus-posting-styles
(message-this-is-news
@@ -521,7 +521,7 @@
<blockquote><pre>
-alias slrn-dated 'm4 -DTMDADATED=`tmda-address -d` ~/.slrnrc.m4 > ~/.slrnrc &&
slrn -h newshost'
+alias slrn-dated 'm4 -DTMDADATED=`tmda-address -dn` ~/.slrnrc.m4 > ~/.slrnrc
&& slrn -h newshost'
</pre></blockquote>
</ul>
_______________________________________________
tmda-cvs mailing list
http://libertine.org/lists/listinfo/tmda-cvs
|