lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV lynx developement version 0.83 and color styles


From: Larry W. Virden, x2487
Subject: LYNX-DEV lynx developement version 0.83 and color styles
Date: Wed, 15 Oct 1997 14:42:17 -0400

If you have no interest in hearing the latest chapter in the
struggle between Solaris 2.4 and lynx /color styles, feel free to
pass on by.

If the folk developing lynx don't want to hear any more about it,
they can let me know that they are removing it and I will be able
to go away and leave them alone about it.

I am using a SPARC/Solaris 2.4/sun c compiler/ncurses 4.1/Oct 11 patch and
these configure flags:

export LIBS="-L/projects/gnu/sparc-sun-solaris2.4/lib 
-R/projects/gnu/sparc-sun-solaris2.4/lib -L/cas/X11/sun4/lib 
-R/cas/X11/sun4/lib -lncurses -lz"
export CPPFLAGS="-I/projects/gnu/sparc-sun-solaris2.4/include 
-I/projects/gnu/sparc-sun-solaris2.4/include/ncurses"
export CFLAGS="-fast -xO5 -xdepend -v"
export CFLAGS="-g"
export CC=cc

  $PWD/configure  --prefix=/projects/sprs_lwv/sol2 \
        --with-cfg-file=/projects/sprs_lwv/lib/lynx/lynx.cfg \
        --enable-color-style --with-screen=ncurses \
        --enable-debug \
        --enable-char-trans  --with-dired --with-zlib


lynx compiles just fine.

I then start up dbx and tell it to do memory checking.  I get the following:

Running: lynx -trace 
(process id 3180)
Enabling Error Checking... done
Read from unallocated (rua):
Attempting to read 1 byte at address 0x55f677
    which is 1 byte before heap block of size 3 bytes at 0x55f678
This block was allocated from:
        [1] GetCommand() at line 248 in "HTInit.c"
        [2] ProcessMailcapEntry() at line 390 in "HTInit.c"
        [3] ProcessMailcapFile() at line 604 in "HTInit.c"
        [4] HTLoadTypesConfigFile() at line 632 in "HTInit.c"
        [5] HTFormatInit() at line 180 in "HTInit.c"
        [6] main() at line 1307 in "LYMain.c"
 
Current function is Cleanse
  291           *tmp = 0;
(dbx 5) print tmp   
tmp = 0x55f677 ""

(dbx 6) print s 
s = 0x55f679 ""
(dbx 7) where
=>[1] Cleanse(s = 0x55f679 ""), line 291 in "HTInit.c"
  [2] ProcessMailcapEntry(fp = 0x2d5fe0, mc = 0xefffdef4), line 395 in 
"HTInit.c"
  [3] ProcessMailcapFile(file = 0xefffdff0 "/home/lwv26/.mailcap"), line 604 in 
"HTInit.c"
  [4] HTLoadTypesConfigFile(fn = 0xefffdff0 "/home/lwv26/.mailcap"), line 632 
in "HTInit.c"
  [5] HTFormatInit(), line 180 in "HTInit.c"
  [6] main(argc = 2, argv = 0xefffe6ec), line 1307 in "LYMain.c"

I looked into ProcessMailcapEntry and found:
(dbx 13) print mc->command
mc->command = 0x562fd8 " showpicture -q -viewer 'xli -quiet' %s"
(dbx 14) print t         
t = (nil)

This is using my default mailcap and mime type files, as well as the default
style sheet that comes with lynx.

P.S.
Once I removed my mailcap and mime types, the new version of lynx came without
the glitches reported.  Of course, my mail readers, netscapes, etc. all failed
because I no longer had the necessary descriptions to display my viewer
apps, etc...
-- 
Larry W. Virden                 INET: address@hidden
<URL:http://www.teraform.com/%7Elvirden/> <*> O- "We are all Kosh."
Unless explicitly stated to the contrary, nothing in this posting should 
be construed as representing my employer's opinions.
;
; 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]