lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev patch - some small changes


From: Klaus Weide
Subject: lynx-dev patch - some small changes
Date: Sun, 31 Oct 1999 12:49:48 -0600 (CST)

Note: not saved in <http://enteract.com/~kweide/lynx/>;
I don't want to make that a habit, and these dont modify or
correct other changes there.

* Small update for soem chartrans tables, minor comment changes.
* For Unix, use LYSystem instead of system for invoking telnet, rlogin,
  rtn3270 commands.

[ For some non-Unix systems, LYSystem messes around with the passed command
string in various ways, and does some other stuff for DJGPP.  So no change
for those, since I assume it worked before.  For Unix the change prevents
the following occuring with ncurses (at least if USE_SIGACTION is defined):
 - access some (valid) telnet://some.host URL.
 - within telnet client, escape to command level (usually '^]')
 - suspend (usually 'z' or ^Z)
 - resume (fg).  Lynx process gets woken up, redraws lynx screen,
   screen & tty state get messed up. ]

   Klaus


Index: 2.16/WWW/Library/Implementation/HTNews.c
--- 2.16/WWW/Library/Implementation/HTNews.c Mon, 25 Oct 1999 09:01:18 -0500
+++ 2.16(w)/WWW/Library/Implementation/HTNews.c Thu, 28 Oct 1999 19:07:59 -0500
@@ -2738,7 +2738,7 @@
         *  to occur in normal use, break from the loop without retrying
         *  and without closing the connection.  It is unlikely that
         *  these are leftovers from a timed-out connection (but we do
-        *  some checks to see whether the response rorresponds to the
+        *  some checks to see whether the response corresponds to the
         *  last command), or that they will give anything else when
         *  automatically retried.  - kw
         */
Index: 2.16/WWW/Library/Implementation/HTTelnet.c
--- 2.16/WWW/Library/Implementation/HTTelnet.c Wed, 06 Oct 1999 14:48:20 -0500
+++ 2.16(w)/WWW/Library/Implementation/HTTelnet.c Fri, 29 Oct 1999 07:06:18 
-0500
@@ -37,7 +37,11 @@
 PRIVATE void do_system ARGS1(char *, command)
 {
     CTRACE((tfp, "HTTelnet: Command is: %s\n\n", command));
+#ifdef UNIX    /* want LYSystem's signal sanitizing - kw */
+    LYSystem(command);
+#else          /* Non-UNIX should use LYSystem too? - left for now - kw */
     system(command);
+#endif
     FREE(command);
 }
 
Index: 2.16/src/chrtrans/cp1253_uni.tbl
--- 2.16/src/chrtrans/cp1253_uni.tbl Fri, 04 Jun 1999 20:32:21 -0500
+++ 2.16(w)/src/chrtrans/cp1253_uni.tbl Fri, 29 Oct 1999 06:48:34 -0500
@@ -46,8 +46,8 @@
 0x8E           #UNDEFINED
 0x8F           #UNDEFINED
 0x90           #UNDEFINED
-0x91   U+2018  #LEFT SINGLE QUOTATION MARK
-0x92   U+2019  #RIGHT SINGLE QUOTATION MARK
+0x91   U+2018  U+02bd  #LEFT SINGLE QUOTATION MARK
+0x92   U+2019  U+02bc  #RIGHT SINGLE QUOTATION MARK
 0x93   U+201C  #LEFT DOUBLE QUOTATION MARK
 0x94   U+201D  #RIGHT DOUBLE QUOTATION MARK
 0x95   U+2022  #BULLET
Index: 2.16/src/chrtrans/cp869_uni.tbl
--- 2.16/src/chrtrans/cp869_uni.tbl Fri, 04 Jun 1999 20:32:21 -0500
+++ 2.16(w)/src/chrtrans/cp869_uni.tbl Fri, 29 Oct 1999 06:48:37 -0500
@@ -38,8 +38,8 @@
 0x88   U+00b7  #MIDDLE DOT
 0x89   U+00ac  #NOT SIGN
 0x8a   U+00a6  #BROKEN BAR
-0x8b   U+2018  #LEFT SINGLE QUOTATION MARK
-0x8c   U+2019  #RIGHT SINGLE QUOTATION MARK
+0x8b   U+2018  U+02bd  #LEFT SINGLE QUOTATION MARK
+0x8c   U+2019  U+02bc  #RIGHT SINGLE QUOTATION MARK
 0x8d   U+0388  #GREEK CAPITAL LETTER EPSILON WITH TONOS
 0x8e   U+2015  #HORIZONTAL BAR
 0x8f   U+0389  #GREEK CAPITAL LETTER ETA WITH TONOS
Index: 2.16/src/chrtrans/iso07_uni.tbl
--- 2.16/src/chrtrans/iso07_uni.tbl Mon, 25 Oct 1999 09:01:18 -0500
+++ 2.16(w)/src/chrtrans/iso07_uni.tbl Fri, 29 Oct 1999 06:10:06 -0500
@@ -147,8 +147,17 @@
 #0x7D  U+007D  #       RIGHT CURLY BRACKET
 #0x7E  U+007E  #       TILDE
 0xA0   U+00A0  #       NO-BREAK SPACE
-0xA1   U+02BD  #       MODIFIER LETTER REVERSED COMMA
-0xA2   U+02BC  #       MODIFIER LETTER APOSTROPHE
+#
+# The following two changed in ISO 8859:1999
+#
+#   Remap 0xA1 to U+2018 (instead of U+02BD)
+#   Remap 0xA2 to U+2019 (instead of U+02BC)
+#
+# Keep the old ones as primary for now.  Also added old U+037[12]
+# found in existing linux kbd files and in RFC 1345 for compatibility.
+# - kw 1999-10-29
+0xA1   U+02BD  U+2018  U+0371  #       MODIFIER LETTER REVERSED COMMA
+0xA2   U+02BC  U+2019  U+0372  #       MODIFIER LETTER APOSTROPHE
 0xA3   U+00A3  #       POUND SIGN
 0xA6   U+00A6  #       BROKEN BAR
 0xA7   U+00A7  #       SECTION SIGN
Index: 2.16/docs/README.defines
--- 2.16/docs/README.defines Mon, 25 Oct 1999 07:13:32 -0500
+++ 2.16(w)/docs/README.defines Wed, 27 Oct 1999 22:08:16 -0500
@@ -163,9 +163,11 @@
 EXTENDED_OPTION_LOGIC                  LYMain.c
 EXTENDED_STARTFILE_RECALL              LYMain.c
 OPTNAME_ALLOW_DASHES                   LYMain.c
+OVERLAP                                        HTNews.c
 RESTRICT_NM_ALLOW_DASHES               LYUtils.c
 SOCKET_DEBUG_TRACE                     HTTCP.c
 TRADITIONAL_SUFFIXES                   HTInit.c
+USE_XHDR                               HTNews.c
 max_cookies_buffer                     LYCookie.c
 max_cookies_domain                     LYCookie.c
 max_cookies_global                     LYCookie.c


reply via email to

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