[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev lynx2.8.1dev.28
From: |
Nelson Henry Eric |
Subject: |
Re: lynx-dev lynx2.8.1dev.28 |
Date: |
Fri, 18 Sep 1998 16:20:52 +0900 (JST) |
Few comments (SunOS 4.1.3 // gcc 2.7.2 // slang 1.2.2):
1) Still getting these warnings. It's no big deal, and probably too
much trouble to deal with:
/usr/local/gcc/lib/gcc-lib/sparc-sun-sunos4.1.3_JL/2.7.2/include/termios.h:174:
warning: `TOSTOP' redefined
/usr/include/sys/ioctl.h:57: warning: this is the location of the previous defin
ition
2) And still get this (appending makefile):
(If it makes any difference, I do it in two steps, "make" then "make
install".)
cp lynx ..
Welcome to Lynx!
ws01% make install
make: Warning: Too many rules defined for target /home/kyoin/nelsonhe/.lynx
3) Don't particularly like the Download Menu with regard to,
--line 5, "downloaded" sounds better than "download"
--line 5, don't see much point in giving the temporary file name, and
actually would prefer that it not be given in anonymous mode.
Having the URL of the downloaded document wouldn't be too bad,
though superfluous. (For that matter, "Suggested file name"
is pretty useless, too, since it's given at the prompt anyway.)
--lines 7 & 9, actually, would prefer a single list (saves three lines)
Download Options
Download Options (Lynx Version 2.8.1dev.28)
You download the link: /home/kyoin/nelsonhe/L18401-1TMP.gif
Suggested file name: kinda.gif
Standard download options:
[1]Save to disk
Local additions:
[2]View file with Most
I would like to see instead of the above (5 lines instead of 12):
Download Options (Lynx Version 2.8.1dev.28)
Download Options:
[1]Save to disk
[2]View file with Most
__Henry
##makefile for lynx
SHELL = /bin/sh
x =
.SUFFIXES:
prefix = /usr/local
exec_prefix = /home/kyoin/nelsonhe
srcdir = .
CC = gcc
CFLAGS = -O2 -DSUN -DSUN4
DEFS = -DHAVE_CONFIG_H
CPPFLAGS = -I/home/kyoin/nelsonhe/.usr/include
LIBS = -lz -lslang -lm -L/home/kyoin/nelsonhe/.usr/lib
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
## This is the version which we are developing (or, upon release, make this
## the same). Use no dots in the name, since it must work on VMS and MS-DOS.
VERSION = 2-8-1
##this is the name of the directory the lynx source code is in.
##(e.g. lynx2-8, not the full path)
lynxdir= lynx$(VERSION)
lynxname= lynx$(VERSION)
## Where you want lynx installed
bindir= /home/kyoin/nelsonhe/.lynx
## Where you want the lynx man file installed
mandir= /home/kyoin/nelsonhe/.usr/man/man1
## Where you want the lynx.cfg file installed
libdir= /home/kyoin/nelsonhe/.lynx
## Where you want the doc-files installed
docdir= /home/kyoin/nelsonhe/.lynx/lynx_doc
## Where you want the help-files installed
helpdir= /home/kyoin/nelsonhe/.lynx/lynx_help
##set the relative location of the WWW library Implementation directory,
##from this directory
##do not set this to be an absolute path!!!
WWWINC= WWW/Library/Implementation
## Path to gzip that will compress the help files.
## It will be used when --enable-gzip-help is set by configure.
## Leave *both* empty if you don't want to gzip help files.
COMPRESS_PROG=/usr/local/bin/gzip
COMPRESS_EXT=.gz
# !!!!!!!!!!! SUN resolv LIBRARY !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# To include resolv in the LIBS="" list for SUN 3, 4 or Solaris OS,
# point RESOLVLIB to that library. You need this if you get the message
# "Alert!: Unable to connect to remote host" whenever you try to
# access a host other than localhost and have made Lynx without it.
# See the PROBLEMS file for more information.
#RESOLVLIB= -lresolv
# !!!!!!!!!!!!! DIRECT WAIS ACCESS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# If you are adding direct wais access you must fill in the
# location of wais.a, client.a and the standard math library, libm.a.
# You can pick up the most current freeWAIS sources from
# ftp://ftp.cnidr.org/pub/NIDR.tools/freewais
# If you are using freeWAIS-0.202 or older, include -DDECLARE_WAIS_LOGFILES
# in your SITE_DEFS.
# Please put an ABSOLUTE address here if you want it to work!
#WAISLIB= ../../freeWAIS-0.202/bin/client.a ../../freeWAIS-0.202/bin/wais.a
/usr/lib/libm.a
# !!!!!!!!!!!!! SLANG Support (For color version of Lynx). !!!!!!!!!!!!!!!!
# The slang library is an alternative to curses, developed by John E. Davis
# (address@hidden). Version 0.99-27 or higher is available from
# ftp://space.mit.edu/pub/davis
# It provides color support for Lynx.
# !!!!!!!!!!!!! NCURSES Support (For color version of Lynx). !!!!!!!!!!!!!!
# If you need ncurses, the latest version can always be found
# in ftp://ftp.clark.net/pub/dickey/ncurses/
# or ftp://ftp.gnu.org/pub/gnu/
# Also be sure to check out the compilation symbols in userdefs.h
# before building Lynx!
# If you apply patches which require linking to site-specific libraries, set
# SITE_LIBS to those libraries.
SITE_LIBS= # Your libraries here
# Set SITE_LYDEFS to one or more of the defines for the WWW Library:
SITE_LYDEFS = # Your defines here
# Set SITE_DEFS to one or more of the defines for lynx below:
SITE_DEFS = # Your defines here
# defines for which there are no configure options:
# -DHP_TERMINAL For DIM workaround to REVERSE problems on HP terminals.
# -DIGNORE_CTRL_C Define if Control-C shouldn't exit lynx.
# -DNOPORT if you must use PASV instead of PORT for FTP
# -DNO_CPU_LIMIT Disables Max CPU timeout (includes CLOCKS_PER_SECOND)
# -DSHORTENED_RBIND For a SOCKSified lynx with the short version of Rbind.
# -DSLANG_MBCS_HACK prevent cutoff lines when using UTF8 console (slang only)
#
# if you are linking to freeWAIS-0.202 or older, you should define this
# in SITE_DEFS
#
# -DDECLARE_WAIS_LOGFILES
#
# if you have the reverse clear screen problem of some SUN4 systems you
# should define this in SITE_DEFS
#
# -DREVERSE_CLEAR_SCREEN_PROBLEM
#
# if you have an SVR4 system with the "type any key" problem, try defining
# this in LYFLAGS (SITE_LYDEFS) and SITE_DEFS
#
# -DSVR4_BSDSELECT
#
# Old Data General systems may need this in their SITE_LYDEFS
# for their inet_addr(host) calls.
#
# -DDGUX_OLD
# defines which have configure options (see INSTALLATION, Section II-1c.):
# -DARCHIVE_ONLY
# -DDIRED_SUPPORT
# -DDISP_PARTIAL
# -DDONT_TRACK_INTERNAL_LINKS
# -DEXEC_LINKS
# -DEXEC_SCRIPTS
# -DEXP_CHARTRANS_AUTOSWITCH
# -DEXP_FORMS_OPTIONS
# -DEXP_PERSISTENT_COOKIES
# -DLINKEDSTYLES
# -DLONG_LIST
# -DLYNXCGI_LINKS
# -DLY_FIND_LEAKS
# -DNCURSES
# -DNO_CHANGE_EXECUTE_PERMS
# -DNO_EXTENDED_HTMLDTD
# -DNO_PARENT_DIR_REFERENCE
# -DNSL_FORK
# -DOK_GZIP
# -DOK_OVERRIDE
# -DOK_PERMIT
# -DOK_TAR
# -DOK_UUDECODE
# -DOK_ZIP
# -DSOCKS
# -DSYSLOG_REQUESTED_URLS
# -DUNDERLINE_LINKS
# -DUSE_COLOR_STYLE
# -DUSE_DEFAULT_COLORS
# -DUSE_EXTERNALS
# -DUSE_HASH
# -DUSE_SLANG
# -DUSE_SOCKS5
# -DUSE_ZLIB
#
# for installation of local execution links, please see the file userdefs.h
# TESTED: Linux FreeBSD SunOS Solaris IRIX CLIX HP-UX AIX SCO
all lynx$x: cfg_defs.h LYHelp.h
cd WWW/Library/unix && $(MAKE) CC="$(CC)" \
LY_CFLAGS="$(CFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" \
LYFLAGS="$(SITE_LYDEFS)"
cd src && $(MAKE) all CC="$(CC)" \
CFLAGS="$(CFLAGS)" \
CPPFLAGS="$(CPPFLAGS)" \
LIBS="$(LIBS) $(RESOLVLIB) $(WAISLIB) $(SITE_LIBS)" \
SITE_DEFS="$(SITE_DEFS)" \
WWWINC=$(WWWINC) \
WWWLIB="../WWW/Library/unix/libwww.a"
help:
@echo
@echo "Please run make with one of the following arguments"
@echo "all -- to make the executable, put it in this directory"
@echo "clean -- removes all '.o' and 'core' files"
@echo "depend -- use makedepend to generate header-dependencies"
@echo "tar -- runs clean, removes executable, and tars the whole
directory"
@echo "compress -- runs tar, then compresses the result"
@echo "zip -- runs clean, removes executable, and zips the whole
directory"
@echo
##Miscellaneous actions
clean:
rm -f WWW/Library/*/*.[aob]
rm -f WWW/Library/*/.created
cd src && $(MAKE) clean
rm -f *.b src/lynx$x core Lynx.leaks cfg_defs.h LYHelp.h
depend: cfg_defs.h LYHelp.h
cd WWW/Library/unix && $(MAKE) $@
cd src && $(MAKE) $@
distclean: clean
-rm -f WWW/Library/*/*~
-rm -f WWW/Library/*/*.bak
-rm -rf src/obsolete
-cd src && $(MAKE) $@
-cd src/chrtrans && $(MAKE) $@
-rm -f *~ *.bak *.sav
-rm -f WWW/Library/unix/makefile src/makefile src/chrtrans/makefile
#-find . -type f -name '*.rej' -exec -rm -f {} \;
#-find . -type f -name '*.orig' -exec -rm -f {} \;
#-rmdir WWW/Library/unix && rmdir WWW/Library && rmdir WWW
#-rmdir src/chrtrans && rmdir src
-rm -f makefile lynx_cfg.h config.status config.log config.cache
-rm -f lynx$x install-*
maintainer-clean: distclean
-rm -rf WWW/Library/*/obsolete
-rm -f Lynx.prj .*_aux
tar: clean
rm -f lynx$x
$(MAKE) save
turnover: clean
$(MAKE) save
zipcompress: compress zip
echo "done!"
zip: clean
rm -f src/lynx$x
rm -f lynx$x
rm -f src/a.out
rm -f ../$(lynxname).zip
cd ..; rm -f $(lynxname).zip; zip -r $(lynxname).zip $(lynxdir)
save:
cd ..; rm -f $(lynxname).tar; tar -cf - $(lynxdir) > $(lynxname).tar
compress: tar
cd ..; rm -f $(lynxname).tar.Z; compress -f -v $(lynxname).tar
install: lynx$x install-bin install-man install-cfg
@echo
@echo "Use $(MAKE) install-help to install the help-files"
@echo "Use $(MAKE) install-doc to install extra documentation files"
@echo
install-bin: $(bindir)
-mv -f $(bindir)/lynx$x $(bindir)/lynx.old
$(INSTALL_PROGRAM) lynx$x $(bindir)/
install-man : $(mandir)
$(INSTALL_DATA) $(srcdir)/lynx.man $(mandir)/lynx.1
install-doc : $(docdir)
@echo Copying sample files
(cd $(srcdir) && tar cf - C[HO]* PROBLEMS README samples test ) | \
( cd $(docdir) && tar xf - )
-rm -f $(libdir)/lynx.tmp
install-help : $(helpdir)
(cd $(helpdir) && rm -rf *)
@echo Constructing sed-script
sed -e '/^#/d' -e '/^$$/d' \
-e 's%\(.*\)=\(address@hidden)address@hidden@=\2=%g' \
-e 's%\(.*\)=\(http:.*\)address@hidden@=\2=%g' \
-e 's%\(.*\)=\(ftp:.*\)address@hidden@=\2=%g' \
-e 's%\(.*\)=\(.*\.html\)address@hidden@=\2$(COMPRESS_EXT)=%g' \
$(srcdir)/lynx_help/help_files.txt > \
$(helpdir)/help_files.sed
@echo Appending interim-fix for existing html files
sed -e '/^#/d' -e '/[:@]/d' -e '/^$$/d' \
-e 's%\(.*\)=\(.*\.html\)$$%s=\2=\2$(COMPRESS_EXT)=%g' \
$(srcdir)/lynx_help/help_files.txt >> \
$(helpdir)/help_files.sed
@echo Translating/copying html files
sh -c 'cd $(srcdir)/lynx_help && ( \
dirs=keystrokes; \
(cd $(helpdir) && mkdir $$dirs 2>/dev/null ) ; \
files="*.html */*.html" ; \
for f in $$files ; do \
sed -f $(helpdir)/help_files.sed $$f > $(helpdir)/$$f ;
\
done ; \
if test "$(COMPRESS_PROG)" != "" ; then \
(cd $(helpdir) && $(COMPRESS_PROG) $$files ) \
fi ; \
)'
-rm -f $(helpdir)/help_files.sed
@echo Updating $(libdir)/lynx.cfg
sh -c 'if test -f $(libdir)/lynx.cfg ; then \
mv $(libdir)/lynx.cfg $(libdir)/lynx.tmp ; \
else \
cp $(srcdir)/lynx.cfg $(libdir)/lynx.tmp ; \
fi'
@echo Updating $(libdir)/lynx.cfg to point to installed help-files
sed -e '/^HELPFILE:http/address@hidden@#@' \
-e '/^#HELPFILE:file/address@hidden@@' \
-e '/^HELPFILE:file/s@/PATH_TO/address@hidden(helpdir)@' \
-e '/^HELPFILE:file/address@hidden@$(COMPRESS_EXT)@' \
-e
'/^HELPFILE:file/address@hidden(COMPRESS_EXT)$(COMPRESS_EXT)address@hidden(COMPRESS_EXT)@'
\
$(libdir)/lynx.tmp >$(libdir)/lynx.cfg
chmod 644 $(libdir)/lynx.cfg
-rm -f $(libdir)/lynx.tmp
LYHelp.h : LYHelp.hin
sed -e '/^#/d' -e '/^$$/d' \
-e 's%\(.*\)=\(address@hidden)address@hidden@=\2=%g' \
-e 's%\(.*\)=\(http:.*\)address@hidden@=\2=%g' \
-e 's%\(.*\)=\(ftp:.*\)address@hidden@=\2=%g' \
-e 's%\(.*\)=\(.*\.html\)address@hidden@=\2$(COMPRESS_EXT)=%g' \
$(srcdir)/lynx_help/help_files.txt > \
help_files.sed
@sed -f help_files.sed $(srcdir)/LYHelp.hin > $@
address@hidden -f help_files.sed
@echo '**********************************************'
@echo
@sh -c 'if test "$(COMPRESS_PROG)" = "" ; then \
echo " Help files will NOT be gzipped."; \
else \
echo " Help links point to compressed files"; \
echo " To access them properly you have to type"; \
echo " make install-help"; \
fi'
@echo
@echo '**********************************************'
cfg_defs.h : $(srcdir)/cfg_defs.sh
@rm -f $@
sh $(srcdir)/cfg_defs.sh >$@
install-cfg : $(libdir)
-mv -f $(libdir)/lynx.cfg $(libdir)/lynx.oldcfg
$(INSTALL_DATA) $(srcdir)/lynx.cfg $(libdir)/lynx.cfg
install-lss : $(libdir)
-mv -f $(libdir)/lynx.lss $(libdir)/lynx.oldlss
$(INSTALL_DATA) $(srcdir)/samples/lynx.lss $(libdir)/lynx.lss
uninstall:
-rm -f $(bindir)/lynx$x
-rm -f $(mandir)/lynx.1
-rm -f $(libdir)/lynx.cfg
-rm -f $(libdir)/lynx.lss
-rm -rf $(helpdir)
-rm -rf $(docdir)
$(bindir) $(mandir) $(libdir) $(helpdir) $(docdir) :
$(srcdir)/mkdirs.sh $@