[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV lynx 2.7 signature file processing modification
From: |
Larry W. Virden, x2487 |
Subject: |
LYNX-DEV lynx 2.7 signature file processing modification |
Date: |
Mon, 17 Feb 1997 13:20:30 -0500 |
The following adds a line before the signature is read in.
This line is used by some software packages to identify the beginning of
the signature.
I honestly can't point anyone to an RFC regarding it - however, I know that
most if not all email packages and the several news reading packages I
know of add the line before the signatures. I recommend that we
add it.
*** LYMail.c-dist Mon Feb 17 13:15:49 1997
--- LYMail.c Mon Feb 17 13:16:37 1997
***************
*** 384,389 ****
--- 384,390 ----
fprintf(fd, "Lynx ver. %s", LYNX_VERSION);
if ((LynxSigFile != NULL) &&
(fp = fopen(LynxSigFile, "r")) != NULL) {
+ fputs("\n-- \n", fd);
while (fgets(cmd, sizeof(cmd), fp) != NULL)
fputs(cmd, fd);
fclose(fp);
***************
*** 1050,1055 ****
--- 1051,1057 ----
c = LYgetch();
if (TOUPPER(c) == 'Y') {
if ((fd = fopen(tmpfile, "a")) != NULL) {
+ fputs("\n-- \n", fd);
while (fgets(user_input, sizeof(user_input), fp) != NULL) {
fputs(user_input, fd);
}
*** LYNews.c-dist Mon Feb 17 13:17:18 1997
--- LYNews.c Mon Feb 17 13:17:31 1997
***************
*** 291,296 ****
--- 291,297 ----
c = LYgetch();
if (TOUPPER(c) == 'Y') {
if ((fd = fopen(tmpfile, "a")) != NULL) {
+ fputs("\n-- \n, fd);
while (fgets(user_input, sizeof(user_input), fp) != NULL) {
fputs(user_input, fd);
}
--
Larry W. Virden INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should
be construed as representing my employer's opinions.
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV lynx 2.7 signature file processing modification,
Larry W. Virden, x2487 <=