* Fixed paste-post mode (<.E>nter <A>scii) to append instead of replace when
authorArt Cancro <ajc@citadel.org>
Thu, 6 Sep 2001 02:49:24 +0000 (02:49 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 6 Sep 2001 02:49:24 +0000 (02:49 +0000)
  the user hits <C>ontinue (bug reported by Stu Mark)

citadel/ChangeLog
citadel/help/summary
citadel/messages.c

index 548fd583a3b6f636f01cd97a2aec240c001d05b9..f05243580bc4f6df1c1ffdb0253f30c30f3d7ec1 100644 (file)
@@ -1,4 +1,8 @@
  $Log$
+ Revision 580.32  2001/09/06 02:49:22  ajc
+ * Fixed paste-post mode (<.E>nter <A>scii) to append instead of replace when
+   the user hits <C>ontinue (bug reported by Stu Mark)
+
  Revision 580.31  2001/09/06 01:26:39  nbryant
   - port to Cygwin (DLL support, etc.)
   - don't build SMTP module if there's no resolver library (eg on Windows)
@@ -2709,3 +2713,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
 
+
index db994ff1fa88f8ae7bb509350949a73f0eb59a6f..94ff37a79a13096e3f7a037e9eeb04a72f36a3ab 100644 (file)
@@ -52,7 +52,8 @@ commands are available:
 
  <.> <E>nter <M>essage                    Post a message in this room.
  <.> <E>nter message with <E>ditor        Post using a full-screen editor.
- <.> <E>nter <A>SCII message              Post 'raw' (paste to host)
+ <.> <E>nter <A>SCII message              Post 'raw' (use this when "pasting"
+                                          a message from your clipboard).
 
  <.> <E>nter <P>assword                   Change your password.
  <.> <E>nter <C>onfiguration              Change your 'preferences'.
index 6167a8378dd96d97cd8963d372d1ed5a8e621cf8..f79e6d27e9964837d063aa396132f4b1e0f79e9f 100644 (file)
@@ -636,6 +636,7 @@ int make_message(char *filename,    /* temporary file name */
        if (mode == 1) {
                printf("(Press ctrl-d when finished)\n");
        }
+
        if (mode == 0) {
                fp = fopen(filename, "r");
                if (fp != NULL) {
@@ -669,7 +670,7 @@ ME1:        switch (mode) {
                goto MECR;
 
        case 1:
-               fp = fopen(filename, "w");
+               fp = fopen(filename, "a");
                if (fp == NULL) {
                        printf("*** Error opening temp file!\n"
                                "    %s: %s\n",