In a recent note, Thomas E. Dickey said:

> Date: Mon, 22 Oct 2001 09:08:54 -0400 (EDT)
> 
> On Mon, 22 Oct 2001 [EMAIL PROTECTED] wrote:
> 
> >   fix.  Should I perhaps disable SUPPORT_MULTIBYTE_EDIT early in some
> >   header file if EBCDIC is set?
> 
> probably a good idea
> 
OK.  Here's that alternative form.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL
%%% Created Mon Oct 22 09:04:17 MDT 2001 by target lynx.patch. %%%
diff -bru orig/lynx2-8-5/WWW/Library/Implementation/HTUtils.h 
lynx2-8-5/WWW/Library/Implementation/HTUtils.h
--- orig/lynx2-8-5/WWW/Library/Implementation/HTUtils.h Sat Oct  6 16:02:28 2001
+++ lynx2-8-5/WWW/Library/Implementation/HTUtils.h      Mon Oct 22 08:49:12 2001
@@ -111,6 +111,9 @@
 #endif
 
 #if '0' != 48
+#if defined(SUPPORT_MULTIBYTE_EDIT)
+make an error -- SUPPORT_MULTIBYTE_EDIT only for ASCII
+#endif
 #define NOT_ASCII
 #endif
 
diff -bru orig/lynx2-8-5/userdefs.h lynx2-8-5/userdefs.h
--- orig/lynx2-8-5/userdefs.h   Sat Oct  6 16:02:28 2001
+++ lynx2-8-5/userdefs.h        Mon Oct 22 08:33:14 2001
@@ -1458,12 +1458,18 @@
 
 
 /***************************** 
+ * I have not ported multibyte support for EBCDIC.  In fact, some multibyte
+ * code in LYLowerCase() crashes on EBCDIC strings.  -- gil
+ */
+#if       ! defined(NOT_ASCII)
+/***************************** 
  * SUPPORT_MULTIBYTE_EDIT provides better support of CJK characters to
  * Lynx's Line Editor.  JIS X0201 Kana is partially supported.  The
  * reason why I didn't support it fully is I think supporting it is not
  * required so much and I don't have an environment to test it. - TH
  */
 #define SUPPORT_MULTIBYTE_EDIT
+#endif /* ! defined(NOT_ASCII) */
 
 /***************************** 
  * SUPPORT_CHDIR provides CD command (bound to 'C' by default).  It allows

Reply via email to