lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV Re: patches to lynx 2.6


From: Foteos Macrides
Subject: LYNX-DEV Re: patches to lynx 2.6
Date: Mon, 21 Oct 1996 11:16:18 -0500 (EST)

Rafal Maszkowski <address@hidden> sent a patch to me instead of lynx-dev:
>[...]

        Please use the address@hidden list for questions and discussion
about Lynx, and for contributions of patches.  I am CCing this to the
list and appending your patch.  You don't need to be subscribed to post
messages or patches, and you can read replies via it's archives, which
are accessible via the Lynx online 'h'elp.

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================

I have a problem with setting
Raw 8-bit or CJK m(O)de      : ON
Saving the configuration doesn't save this when having Latin ISO 2
set. It should by ON by default for Latin-2 anyway. The patch below
solves the default setting problem only (the author is Piotr Kucharski
<address@hidden>):

--- LYCharSets.c.orig   Thu Aug 22 20:28:54 1996
+++ LYCharSets.c        Mon Oct 21 11:05:02 1996
@@ -2122,6 +2122,15 @@
         HTPassHighCtrlRaw = FALSE;
        HTPassHighCtrlNum = FALSE;
 
+    } else if (!strncmp(LYchar_set_names[i], "ISO Latin 2", 11)) {
+       HTCJK = NOCJK;
+       kanji_code = NOKANJI;
+       HTPassEightBitRaw = LYUseDefaultRawMode ? TRUE : FALSE;
+       LYRawMode = HTPassEightBitRaw;
+       HTPassEightBitNum = TRUE;
+        HTPassHighCtrlRaw = FALSE;
+       HTPassHighCtrlNum = FALSE;
+
     } else if (!strncmp(LYchar_set_names[i], "KOI8-R character set", 20)) {
        HTCJK = NOCJK;
        kanji_code = NOKANJI;
@@ -2200,6 +2209,7 @@
 PUBLIC void HTMLSetRawModeDefault ARGS1(int,i)
 {
     if (!strncmp(LYchar_set_names[i], "ISO Latin 1", 11) ||
+        !strncmp(LYchar_set_names[i], "ISO Latin 2", 11) ||
        !strncmp(LYchar_set_names[i], "Chinese", 7) ||
        !strncmp(LYchar_set_names[i], "Japanese (EUC)", 14) ||
        !strncmp(LYchar_set_names[i], "Japanese (SJIS)", 15) ||
@@ -2220,6 +2230,7 @@
 PUBLIC void HTMLSetUseDefaultRawMode ARGS2(int,i, BOOLEAN,modeflag)
 {
     if (!strncmp(LYchar_set_names[i], "ISO Latin 1", 11) ||
+        !strncmp(LYchar_set_names[i], "ISO Latin 2", 11) ||
        !strncmp(LYchar_set_names[i], "Chinese", 7) ||
        !strncmp(LYchar_set_names[i], "Japanese (EUC)", 14) ||
        !strncmp(LYchar_set_names[i], "Japanese (SJIS)", 15) ||

Another possible problem in the same file could be lacking entities
names. There should be e.g. aogonek (0xA1) somewhere on the Latin-2
list. I couldn't find how the list is constructed so no patch this
time.

Compiling on Linux I had to substitute one of the ncurses procedures'
name:

--- Makefile.orig       Fri Aug 30 19:25:42 1996
+++ Makefile    Mon Oct 21 11:05:49 1996
@@ -722,7 +722,7 @@
 linux-ncurses:
        cd WWW/Library/unix; $(MAKE) CC="gcc" LYFLAGS="-DLINUX $(SITE_LYDEFS)"
        cd src; $(MAKE) all CC="gcc" MCFLAGS="-O -DUNIX -DLINUX -DNCURSES \
-               -DFANCY_CURSES -DNO_KEYPAD -DNO_TTYTYPE \
+               -DFANCY_CURSES -DNO_KEYPAD -DNO_TTYTYPE -Dwattroff=wattr_off \
                -I/usr/include/ncurses -I../$(WWWINC) $(SITE_DEFS)" \
                LIBS="-lncurses \
                $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \

Don't know how universal it is, my ncurses are 1.9.9e, compiled by myself.


The paths in userdefs.h are not correct for my system. I guess I should
keep my patch for myself - all systems have it different somehow. It
should be detected with autoconfigure if somebody has time to add it
to lynx.

I'm not following current lynx development but hope my mail will get
into right hands.

R.
-- 
Rafal Maszkowski address@hidden           http://www.torun.pdi.net/~rzm
Opinia publiczna powinna byc zaalarmowana swoim nieistnieniem - St. J. Lec
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;



reply via email to

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