lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch (was: Re: lynx-dev ftp://user:address@hidden too much unencript


From: Leonid Pauzner
Subject: patch (was: Re: lynx-dev ftp://user:address@hidden too much unencripted info)
Date: Mon, 15 Nov 1999 14:28:28 +0300 (MSK)

8-Nov-99 17:12 Klaus Weide wrote:
> On Mon, 8 Nov 1999, Leonid Pauzner wrote:

>> or better
>>
>> (2) Change the samples in "URL Schemes Supported in Lynx" so they would
>> appear without //user:passw@  but  //user@ with the explanation of yet
>> another possibility added in words... So user will not get a wrong
>> impression if reading that document not so carefully (you know, samples
>> are so easy remembered without details).

> (2) is good.


Now the patch
(also include a tiny rewording elsewhere):


diff -u old/lynx_url.htm ./lynx_url.htm
--- old/lynx_url.htm    Wed Sep 29 05:40:40 1999
+++ ./lynx_url.htm      Mon Nov 15 14:01:08 1999
@@ -209,18 +209,21 @@

 The ftp URL has the general format:
 <pre>
-      <em>ftp://username:address@hidden:port/path;type=[D,I, or A]</em>
+      <em>ftp://host:port/path;type=[D,I, or A]</em>
+      <em>ftp://address@hidden:port/path;type=[D,I, or A]</em>
 </pre>

 <p>The default port is <em>:21</em> and the default <em>username</em>
-is <em>anonymous</em>.  If <em>username</em> is included but not
-<em>:password</em>, Lynx will prompt you for the password.  This is
-recommended, as otherwise the URL will have it completely unencrypted.
-Do not include the <em>@</em> if neither <em>username</em> nor
-<em>:password</em> is included.  For anonymous ftp, Lynx uses your
-<em>personal_mail_address</em> (address@hidden) as the <em>:password</em>
+is <em>anonymous</em>.  If <em>username</em> is included,
+Lynx will prompt you for the password.  For anonymous ftp, Lynx uses your
+<em>personal_mail_address</em> (address@hidden) as the <em>password</em>
 if it has been defined via the '<em>o</em>'ptions menu.  Otherwise,
 Lynx uses the dummy password <em>WWWUser</em>.
+(Yet another possibility is sending a password
+as <em>username:password</em> though it is not recommended
+since the URL will have it completely unencrypted.)
+Do not include the <em>@</em> if neither <em>username</em> nor
+<em>:password</em> is included.

 <p>The <em>;type=</em> parameter can be used with value <em>D</em>,
 <em>I</em>, or <em>A</em> to force handling of the URL as, respectively,

diff -u old/lynx.cfg ./lynx.cfg
--- old/lynx.cfg        Thu Nov  4 16:54:50 1999
+++ ./lynx.cfg  Mon Nov  8 23:12:38 1999
@@ -1017,7 +1017,7 @@
 # command line via a /subject="SUBJECT" qualifier, and inclusion
 # of other relevant headers may not be possible.
 # If your mailer uses another syntax, some hacking of the mailform()
-# mailmsg() and reply_by_mail() functions in LYMail.c, and printfile()
+# mailmsg() and reply_by_mail() functions in LYMail.c, and send_file_to_mail()
 # function in LYPrint.c, may be required.
 #
 #SYSTEM_MAIL:PMDF SEND

diff -u old/userdefs.h ./userdefs.h
--- old/userdefs.h      Thu Nov  4 17:01:30 1999
+++ ./userdefs.h        Mon Nov 15 14:19:00 1999
@@ -1371,7 +1371,8 @@
 #define MKDIR_PATH      "mkdir"
 #define MV_PATH         "mv"
 #define RM_PATH         "rm"
-#define COPY_PATH       "cp"
+/* COPY_PATH is not required for DOSPATH any more (implemented directly) */
+/* #define COPY_PATH       "cp" */
 #define CHMOD_PATH      "chmod"
 #define TELNET_PATH     "telnet"
 #define TN3270_PATH     "tn3270"

diff -u old/lybookma.c ./lybookma.c
--- old/lybookma.c      Wed Sep 29 05:40:40 1999
+++ ./lybookma.c        Wed Nov 10 22:35:08 1999
@@ -598,9 +598,9 @@
 #if defined(_WINDOWS) || defined(WIN_EX)
 #if defined(WIN_EX)
        if (GetLastError() == ERROR_NOT_SAME_DEVICE)
-#else /* !_WIN_CC */
+#else /* !_WIN_EX */
        if (errno == ENOTSAM)
-#endif /* _WIN_CC */
+#endif /* _WIN_EX */
        {
            if (rename(newfile, filename_buffer) != 0) {
                if (LYCopyFile(newfile, filename_buffer) == 0)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]