Subject: Re: lynx & w3m ports (was Re: [ANNOUNCEMENT] Initial Release: GNU Ghostscript 5.50-1)
From: "Dr. Volker Zell" <[email-masked]>
To: "Sagar R. Shah" <[email-masked]>
Cc: Kevin Wright <[email-masked]>, Cygwin-Mailing-List <[email-masked]>
Date: 07 Mar 2001 09:57:48 +0100

diff -upr /gnu/w3m-0.1.10/XXMakefile w3m-0.1.10/XXMakefile
--- /gnu/w3m-0.1.10/XXMakefile	Tue Jun  6 09:18:45 2000
+++ w3m-0.1.10/XXMakefile	Tue Mar  6 18:37:46 2001
@@ -3,21 +3,21 @@
 BIN_DIR = /usr/local/bin
 HELP_DIR = /usr/local/lib/w3m
 LIB_DIR = /usr/local/lib/w3m
-HELP_FILE = w3mhelp-w3m_ja.html
-SYS_LIBRARIES = -lgpm  -lbsd -lnsl -lncurses  
+HELP_FILE = w3mhelp-w3m_en.html
+SYS_LIBRARIES =   -lncurses  -L/usr/lib -lssl -lcrypto 
 LOCAL_LIBRARIES = 
 CC = gcc
-MYCFLAGS = -O -Wall -I./gc  
+MYCFLAGS = -O -Wall -I./gc  -I/usr/include/openssl -I/usr/include
 KEYBIND_SRC = keybind.c
 KEYBIND_OBJ = keybind.o
-EXT=
+EXT=.exe
 MATHLIB=-lm
 GCLIB=gc/gc.a
 GCTARGET=gc/gc.a
 RANLIB=ranlib
 MKDIR=mkdir -p
 VERSION=0.1.10
-MODEL=Linux.i686-cookie-ja
+MODEL=CYGWIN.i686-monster-en
 #else
 SRCS=main.c file.c buffer.c display.c etc.c search.c linein.c table.c local.c \
 	form.c map.c frame.c rc.c menu.c mailcap.c\
diff -upr /gnu/w3m-0.1.10/config.h w3m-0.1.10/config.h
--- /gnu/w3m-0.1.10/config.h	Tue Jun  6 09:18:26 2000
+++ w3m-0.1.10/config.h	Tue Mar  6 18:11:48 2001
@@ -11,50 +11,50 @@
    If you define DICT, you can use dictionary look-up function
    in w3m. See README.dict for detail.
 */
-#undef DICT
+#define DICT
 
 /*
    If you define USE_MARK, you can use set-mark (C-SPC),
    goto-next-mark (ESC p), goto-next-mark (ESC n) and
    mark-by-regexp (").
 */
-#undef USE_MARK
+#define USE_MARK
 
 /*
    If you want to load and save URL history.
  */
-#undef USE_HISTORY
+#define USE_HISTORY
 
 /*
    BG_COLOR enables w3m to set background color.
  */
-#undef BG_COLOR
+#define BG_COLOR
 
 /*
    VIEW_UNSEENOBJECTS enables w3m to make a link to unseen objects.
    e.g. background image.
  */
-#undef VIEW_UNSEENOBJECTS
+#define VIEW_UNSEENOBJECTS
 
 /*
    VI_PREC_NUM enables vi-like behavior for '2 SPC' or '2 b'
  */
-#undef VI_PREC_NUM
+#define VI_PREC_NUM
 
 /*
  * Do word fill
  */
-#undef FORMAT_NICE
+#define FORMAT_NICE
 
 /*
  * Support Gopher protocol
  */
-#undef USE_GOPHER
+#define USE_GOPHER
 
 /*
  * Support NNTP
  */
-#undef USE_NNTP
+#define USE_NNTP
 
 /*
  * Enable id attribute
@@ -72,44 +72,44 @@
 BIN_DIR = /usr/local/bin
 HELP_DIR = /usr/local/lib/w3m
 LIB_DIR = /usr/local/lib/w3m
-HELP_FILE = w3mhelp-w3m_ja.html
-SYS_LIBRARIES = -lgpm  -lbsd -lnsl -lncurses  
+HELP_FILE = w3mhelp-w3m_en.html
+SYS_LIBRARIES =   -lncurses  -L/usr/lib -lssl -lcrypto 
 LOCAL_LIBRARIES = 
 CC = gcc
-MYCFLAGS = -O -Wall -I./gc  
+MYCFLAGS = -O -Wall -I./gc  -I/usr/include/openssl -I/usr/include
 KEYBIND_SRC = keybind.c
 KEYBIND_OBJ = keybind.o
-EXT=
+EXT=.exe
 MATHLIB=-lm
 GCLIB=gc/gc.a
 GCTARGET=gc/gc.a
 RANLIB=ranlib
 MKDIR=mkdir -p
 VERSION=0.1.10
-MODEL=Linux.i686-cookie-ja
+MODEL=CYGWIN.i686-monster-en
 #else
+#define CYGWIN
 
-
-#define DISPLAY_CODE 'E'
+#define DISPLAY_CODE 'x'
 
 #define JA 0
 #define EN 1
-#define LANG JA
-#define KANJI_SYMBOLS
+#define LANG EN
+#undef KANJI_SYMBOLS
 #define COLOR
 #define MOUSE
-#define USE_GPM
+
 #undef USE_SYSMOUSE
 #define MENU
 #define USE_COOKIE
-#undef USE_SSL
+#define USE_SSL
 #undef USE_SSL_VERIFY
 #undef FTPPASS_HOSTNAMEGEN
-#undef SHOW_PARAMS
+#define SHOW_PARAMS
 
-#define DEF_EDITOR "/bin/vi"
-#define DEF_MAILER "/bin/mail"
-#define DEF_EXT_BROWSER "/usr/X11R6/bin/netscape"
+#define DEF_EDITOR "/usr/bin/vi"
+#define DEF_MAILER "/usr/local/sbin/sendmail"
+#define DEF_EXT_BROWSER "/usr/local/bin/netscape"
 
 #define LIB_DIR      "/usr/local/lib/w3m"
 #define HELP_DIR     "/usr/local/lib/w3m"
@@ -127,7 +127,7 @@ MODEL=Linux.i686-cookie-ja
 #define USER_MAILCAP "~/.mailcap"
 #define SYS_MAILCAP  "/etc/mailcap"
 #define USER_MIMETYPES "~/.mime.types"
-#define SYS_MIMETYPES "/usr/lib/mime.types"
+#define SYS_MIMETYPES "/usr/local/lib/mosaic/mime.types"
 
 #define DEF_SAVE_FILE "index.html"
 
@@ -158,7 +158,7 @@ typedef void MySignalHandler;
 /*
    If you want to use IPv6, define this symbol.
  */
-#undef INET6
+/* #define INET6 */
 
 #undef TABLE_EXPAND
 #define NOWRAP 1
diff -upr /gnu/w3m-0.1.10/config.param w3m-0.1.10/config.param
--- /gnu/w3m-0.1.10/config.param	Tue Jun  6 09:18:23 2000
+++ w3m-0.1.10/config.param	Tue Mar  6 17:36:58 2001
@@ -1,23 +1,22 @@
-# Configuretion at ei5unix.yz.yamagata-u.ac.jp
+# Configuretion at VZELL
 def_bindir='/usr/local/bin'
 def_libdir='/usr/local/lib/w3m'
 def_helpdir='/usr/local/lib/w3m'
-pref_lang=1
-def_dcode=E
+pref_lang=2
 lynx_key=n
-kanji_symbols=y
 ftppass_hostnamegen=n
-show_params=n
-use_nntp=n
+show_params=y
+use_nntp=y
 use_color=y
 use_menu=y
 use_mouse=y
 use_cookie=y
-use_ssl=n
-dmodel=4
-ded='/bin/vi'
-dmail='/bin/mail'
-dbrowser='/usr/X11R6/bin/netscape'
+use_ssl=y
+dmodel=5
+use_ssl_verify=n
+ded='/usr/bin/vi'
+dmail='/usr/local/sbin/sendmail'
+dbrowser='/usr/local/bin/netscape'
 dcc='gcc'
 dcflags='-O -Wall'
 dtermlib='-lncurses'
diff -upr /gnu/w3m-0.1.10/display.c w3m-0.1.10/display.c
--- /gnu/w3m-0.1.10/display.c	Tue Jun  6 07:39:13 2000
+++ w3m-0.1.10/display.c	Tue Mar  6 17:39:23 2001
@@ -717,8 +717,10 @@ cursorRight(Buffer * buf)
     }
     else {
         buf->pos = l->len -1;
+#ifdef JP_CHARSET
         if (CharType(p[buf->pos]) == PC_KANJI2)
             buf->pos--;
+#endif            
     }
     cpos = COLPOS(l, buf->pos);
     buf->visualpos = cpos - buf->currentColumn;

    Sagar> Sagar

Ciao
  Volker

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple