* Re: netrik was ( lynx-dev latest status on java script support? )
@ Martin McCormick
0 siblings, 0 replies; 16+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: blinux-list
Now I have had some time to try it out and so far,
nothing yet. On the Linux system, I get an immediate error
message that says that it can't initialize curses. I didn't know
you had to initialize curses.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: netrik was ( lynx-dev latest status on java script support? )
@ Martin McCormick
0 siblings, 0 replies; 16+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: blinux-list
You are absolutely correct on the cause for the curses
problems. Earlier today, one of the people working on the
development of this project wrote me and suggested the same
thing. I do have the TERM environmental variable set, but it is
set to vt100 because I use MSKermit which emulates a vt320
terminal. vt320 is a superset of the vt100's and vt102's. You
usually can't go too wrong if you choose that setting.
He suggested I try ansi as one of the terminal types and
so far, so good.
I tried netrik on one of our javascript-run sites
produced by Lotus Notes, actually Lotus Domino which is what they
call their web authoring device and I think I see the dawning of
a new day. This is definitely an effort which may turn out to be
something big.
The authors say in several places that this is new code
and I noticed that one of the files I downloaded on Friday had a
date of the day before.
These folks who have started this project have gotten off
on the right foot as far as I can tell and we should all be
patient and, if you can, roll up your sleeves and help grow it in
to a good mature application.
The code is neat and modular from what little I have
looked at it and the documentation explains how it works.
Martin
Tim Pennick writes:
>Martin,
>
>This is a long-shot, but have you checked that your TERM environment variable
>is set. Bad error checking might lead curses to fall over if it can't decide
>what type of terminal its dealing with.
>
>Regards,
>
>Tim Pennick
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: netrik was ( lynx-dev latest status on java script support? )
@ Martin McCormick
` Tim Pennick
0 siblings, 1 reply; 16+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: blinux-list
I got excited for a second and looked around on my system
for wget. I do have it and it appears to be intact. I wouldn't
normally do this, but the failure is so close to the beginning, I
will post the gdb trace. It is during the initialization of
curses and it looks like maybe something isn't initialized that
should be at this point.
I am glad to hear you got it running, Janina. I haven't
worked with curses before and I bet this is something fairly
obvious.
P.S. I have used curses many times in my life, even long
before I knew about computers. I couldn't resist that. Here is
the trace.
main (argc=2, argv=0xbffffcf4) at main.c:59 /*Normal up to here.*/
59 page_width=init_curses();
(gdb) step
init_curses () at screen.c:110
110 if(setaf!=NULL) return 0; /* already initialized */
(gdb) print setaf
$1 = 0x0
(gdb) next
112 if(setupterm(NULL, 1, NULL)==ERR) { /* init */
(gdb)
117 setaf=tigetstr("setaf"); /* control sequence to set foreground co/
(gdb)
118 setab=tigetstr("setab"); /* background color */
(gdb) print setaf
$2 = 0x0
(gdb) step
119 cuf1=tigetstr("cuf1"); /* move cursor right */
(gdb)
120 width=tigetnum("cols"); /*That did set to 80. Great!*/
(gdb)
121 if(setaf==NULL || setab==NULL || cuf1==NULL || width<=0) {
/*if any of those are 0, we are in trouble and we appear to be.*/
(gdb)
122 fprintf(stderr, "error initializing curses\n");
I added the comments about width being set to 80 and also
the one about the reason for the initialization error, but that's
really as far as it gets.
Too bad about no ssl support yet. I am sure that is
because it is so new. When I get it working, there are several
sites I am going to test it on that don't require ssl, but it
will definitely need ssl to hit any sensative we b pages.
Martin
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: netrik was ( lynx-dev latest status on java script support? )
@ Martin McCormick
0 siblings, 0 replies; 16+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: blinux-list
I wrote:
> Now I have had some time to try it out and so far,
>nothing yet. On the Linux system, I get an immediate error
>message that says that it can't initialize curses. I didn't know
>you had to initialize curses.
There is a man page on curses on the FreeBSD systems I
use at work and you do have to initialize the curses routines
with variables when you use them.
This means that there is some kind of problem in the way
netrik is calling the routines. I sent a message to one of the
developers and have not received a response yet, but I bet I do
get one eventually.
This is quite normal for new software. Most of the stuff
I write at work only has to transplant between 2 or 3 different
systems and there is still more than enough trouble in getting it
working everywhere it is supposed to work to keep ones head
buzzing.
I am confident that the problems I am having right now
are temporary. No telling how well this software will work on
our problem sites when the kinks get worked out of simply running
it, but this is the best effort to come along in a long time. It
obviously worked for the people who wrote it on their linux
systems so the trick here is to figure out what is different
about their systems and the one I am using (actually two
different boxes but running the same software).
Later on, I imagine that netrik will have more automation
built in to the make process to better configure everything at
the start. I wouldn't be a bit surprised if my systems are
lacking some environmental variable setting or something like
that. Stay tuned for more exciting adventures on the cutting
edge.
Martin McCormick WB5AGZ Stillwater, OK
OSU Center for Computing and Information Services Network Operations Group
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: netrik was ( lynx-dev latest status on java script support? )
@ Martin McCormick
` David Poehlman
0 siblings, 1 reply; 16+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: blinux-list
Thank you a hundred times. Those two libraries were all
I needed.
I haven't had a chance to read the instructions or try it
out, but I have a compile now.
Martin
Kirk Reiser writes:
>In debian you'll want to install libncurses5-dev which will give you
>curses.h and everything else curses based you'll need. I think you'll
>want libreadline4-dev for the read line stuff.
>
> Kirk
>
>--
>
>Kirk Reiser The Computer Braille Facility
>e-mail: kirk@braille.uwo.ca University of Western Ontario
>phone: (519) 661-3061
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: netrik was ( lynx-dev latest status on java script support? )
Martin McCormick
@ ` David Poehlman
0 siblings, 0 replies; 16+ messages in thread
From: David Poehlman @ UTC (permalink / raw)
To: blinux-list
cool!
----- Original Message -----
From: "Martin McCormick" <martin@dc.cis.okstate.edu>
To: <blinux-list@redhat.com>
Sent: Friday, March 08, 2002 5:01 PM
Subject: Re: netrik was ( lynx-dev latest status on java script
support? )
Thank you a hundred times. Those two libraries were all
I needed.
I haven't had a chance to read the instructions or try it
out, but I have a compile now.
Martin
Kirk Reiser writes:
>In debian you'll want to install libncurses5-dev which will give you
>curses.h and everything else curses based you'll need. I think you'll
>want libreadline4-dev for the read line stuff.
>
> Kirk
>
>--
>
>Kirk Reiser The Computer Braille Facility
>e-mail: kirk@braille.uwo.ca University of Western Ontario
>phone: (519) 661-3061
>
>
>
>_______________________________________________
>Blinux-list mailing list
>Blinux-list@redhat.com
>https://listman.redhat.com/mailman/listinfo/blinux-list
>
_______________________________________________
Blinux-list mailing list
Blinux-list@redhat.com
https://listman.redhat.com/mailman/listinfo/blinux-list
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: netrik was ( lynx-dev latest status on java script support? )
@ Martin McCormick
` Mike Gorse
` Buddy Brannan
0 siblings, 2 replies; 16+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: blinux-list
Thank you for the information. As luck would have it, I
thought of that when I built our Freebsd system here at work and
I did build it to be able to run Linux binaries. Right now, the
problem is that I can't get it to compile on Linux either
although it looks like all I need is a library that contains
curses.h and readline.h. I ran dselect on the Linux system and
found a libcurses which is part of the ruby scripting language,
but after installation of ruby, nothing changed.
I am not sure what library I need on the Linux system but
that is probably all that stands between success and failure.
If you hadn't reminded me about FreeBSD being able to run
Linux binaries, I might have not even thought of that right now.
Gil Andre writes:
>
>Martin,
>
>About my last answer...
>
>I think the following web page would be more appropriate :
>
>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: netrik was ( lynx-dev latest status on java script support? )
Martin McCormick
@ ` Mike Gorse
` Kirk Reiser
` Buddy Brannan
1 sibling, 1 reply; 16+ messages in thread
From: Mike Gorse @ UTC (permalink / raw)
To: blinux-list
Martin, you need ncurses and readline. They are probably called
libncurses and libreadline. Debian places the headers in separate "devel"
packages, so you will also need to install libncurses-devel and
libreadline-devel. (There may be version numbers after libncurses and
libreadline -- I'm not really sure)
As for the Makefile errors, it sounds as though the Makefiles may require
Gnu Make, which I don't think FreeBSD uses.
-- Michael Gorse / AIM:linvortex / http://mgorse.home.dhs.org --
On Fri, 8 Mar 2002, Martin McCormick wrote:
> Thank you for the information. As luck would have it, I
> thought of that when I built our Freebsd system here at work and
> I did build it to be able to run Linux binaries. Right now, the
> problem is that I can't get it to compile on Linux either
> although it looks like all I need is a library that contains
> curses.h and readline.h. I ran dselect on the Linux system and
> found a libcurses which is part of the ruby scripting language,
> but after installation of ruby, nothing changed.
>
> I am not sure what library I need on the Linux system but
> that is probably all that stands between success and failure.
>
> If you hadn't reminded me about FreeBSD being able to run
> Linux binaries, I might have not even thought of that right now.
>
> Gil Andre writes:
> >
> >Martin,
> >
> >About my last answer...
> >
> >I think the following web page would be more appropriate :
> >
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: netrik was ( lynx-dev latest status on java script support? )
Martin McCormick
` Mike Gorse
@ ` Buddy Brannan
1 sibling, 0 replies; 16+ messages in thread
From: Buddy Brannan @ UTC (permalink / raw)
To: blinux-list
On Debian; be sure you have all the ncurses stuff:
libncurses5 libncurses5-dev and libncurses5-dbg
installed. I think that should solve it.
--
Buddy Brannan, KB5ELV/3 | I choose you to take up all of my time.
Email: davros@ycardz.com | I choose you because you're funny and kind
| I want easy people from now on.
| --the Nields
^ permalink raw reply [flat|nested] 16+ messages in thread
* netrik was ( lynx-dev latest status on java script support? )
@ Martin McCormick
` Gil Andre
` (3 more replies)
0 siblings, 4 replies; 16+ messages in thread
From: Martin McCormick @ UTC (permalink / raw)
To: blinux-list
Has anyone gotten netrik to work? netrik is a new text
browser which is free and open-source. You can read about it at
http://netrik.sourceforge.net/
It has limited javascript support and will run in a text
environment like lynx.
Now for the bad news, at least so far. I have access to
two different UNIX platforms. One is Debian Linux and the other
is FreeBSD. The readme file with netrik says that it is designed
to build on gnu linux systems. One should just type make and it
will go.
Well, on the FreeBSD system, it complains about 2 lines
in the makefile not having arguments that they need.
On the linux system, it says:
cc -g -Wall -DDEBUG -DREADLINE '-DWGET_CMD="wget -nv -O- %s"' -c -o
main.o main.c
main.c:16: curses.h: No such file or directory
main.c:22: readline/history.h: No such file or directory
main.c:23: readline/readline.h: No such file or directory
make: *** [main.o] Error 1
That error I understand in that I am missing a library
containing the files that are listed as missing. The make file
has an option to build on Solaris which is similar to FreeBSD so
I tried that but with no luck either. Make just complained about
the same two lines needing arguments.
I have a feeling this is about to compile but I have
either failed to set an environment variable or that I need to go
get a library somewhere that contains the correct headers.
This project sounds like the folks who are working on it
are headed in the right direction so I am certainly willing to be
patient and find out why it isn't compiling right now.
The current version appears to be netrik-0.7.1.tar.gz
I would certainly like to see it run and play with it a
bit andfind out whether it might read some of our
javascript-infested web sites we have here. They are not
terribly complex or special except that they use javascript to
set up the links and onclicks to tell the sites what link you
want.
Martin McCormick WB5AGZ Stillwater, OK
OSU Center for Computing and Information Services Network Operations Group
Martin McCormick WB5AGZ Stillwater, OK
OSU Center for Computing and Information Services Network Operations Group
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: netrik was ( lynx-dev latest status on java script support? )
Martin McCormick
@ ` Gil Andre
` Gil Andre
` (2 subsequent siblings)
3 siblings, 0 replies; 16+ messages in thread
From: Gil Andre @ UTC (permalink / raw)
To: blinux-list
Martin, quick answer:
On Fri, 08 Mar 2002 11:33:17 -0600, Martin wrote:
> Now for the bad news, at least so far. I have access to
> two different UNIX platforms. One is Debian Linux and the other
> is FreeBSD. The readme file with netrik says that it is designed
> to build on gnu linux systems. One should just type make and it
> will go.
>
> Well, on the FreeBSD system, it complains about 2 lines
> in the makefile not having arguments that they need.
Try running netrik in the FreeBSD Linux-emulation mode.
If linux-emulation is properly configured on your system,
FreeBSD should be able to run any Linux program with
ease.
> That error I understand in that I am missing a library
> containing the files that are listed as missing. The make file
> has an option to build on Solaris which is similar to FreeBSD so
> I tried that but with no luck either. Make just complained about
> the same two lines needing arguments.
Solaris is actually *very* different from FreeBSD.
FreeBSD *is* BSD, while Solaris is much more system V.
Do not assume that Solaris = FreeBSD or you are in
for a lot of problems...
This being said all three BSD (NetBSD, OpenBSD and
FreeBSD) now have a Linux emulation mode. Again, I
believe this is the best answer to your problems.
You should check this web page for more information:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x24125.html
It's supposed to contain basic information on how to
run Linux binaries on a FreeBSD machine. As long as
you can compile netrik on your Debian machine, you
should be able to copy it to your FreeBSD machine
and run it from there.
Hope this helps!
--
Gil Andre gandre@arkeia.com
Technical Writer
Arkeia Corp. http://www.arkeia.com
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: netrik was ( lynx-dev latest status on java script support? )
Martin McCormick
` Gil Andre
@ ` Gil Andre
` Janina Sajka
` Andor Demarteau
3 siblings, 0 replies; 16+ messages in thread
From: Gil Andre @ UTC (permalink / raw)
To: blinux-list
Martin,
About my last answer...
I think the following web page would be more appropriate :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html
Sorry for the mix-up.
--
Gil Andre gandre@arkeia.com
Technical Writer
Arkeia Corp. http://www.arkeia.com
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: netrik was ( lynx-dev latest status on java script support? )
Martin McCormick
` Gil Andre
` Gil Andre
@ ` Janina Sajka
` Andor Demarteau
3 siblings, 0 replies; 16+ messages in thread
From: Janina Sajka @ UTC (permalink / raw)
To: blinux-list
Hi, Martin:
Thanks for this pointer. I have it working on my system, and I think I
have a guess why you don't. The README, as well as the error output you
included, references wget. Netrik relies on wget to retrieve pages, so it
must be installed first. It's a gnu program, and ytou can certainly find
it at the gnu web site, http://www.gnu.org.
The program looks interesting. Regretably, it doesn't support ssl in its
default state, at least. So, if there is some js support, that's only part
of the answer.
On Fri, 8 Mar 2002, Martin McCormick wrote:
> Has anyone gotten netrik to work? netrik is a new text
> browser which is free and open-source. You can read about it at
>
> http://netrik.sourceforge.net/
>
> It has limited javascript support and will run in a text
> environment like lynx.
>
> Now for the bad news, at least so far. I have access to
> two different UNIX platforms. One is Debian Linux and the other
> is FreeBSD. The readme file with netrik says that it is designed
> to build on gnu linux systems. One should just type make and it
> will go.
>
> Well, on the FreeBSD system, it complains about 2 lines
> in the makefile not having arguments that they need.
>
> On the linux system, it says:
>
> cc -g -Wall -DDEBUG -DREADLINE '-DWGET_CMD="wget -nv -O- %s"' -c -o
> main.o main.c
> main.c:16: curses.h: No such file or directory
> main.c:22: readline/history.h: No such file or directory
> main.c:23: readline/readline.h: No such file or directory
> make: *** [main.o] Error 1
>
> That error I understand in that I am missing a library
> containing the files that are listed as missing. The make file
> has an option to build on Solaris which is similar to FreeBSD so
> I tried that but with no luck either. Make just complained about
> the same two lines needing arguments.
>
> I have a feeling this is about to compile but I have
> either failed to set an environment variable or that I need to go
> get a library somewhere that contains the correct headers.
>
> This project sounds like the folks who are working on it
> are headed in the right direction so I am certainly willing to be
> patient and find out why it isn't compiling right now.
>
> The current version appears to be netrik-0.7.1.tar.gz
>
> I would certainly like to see it run and play with it a
> bit andfind out whether it might read some of our
> javascript-infested web sites we have here. They are not
> terribly complex or special except that they use javascript to
> set up the links and onclicks to tell the sites what link you
> want.
>
> Martin McCormick WB5AGZ Stillwater, OK
> OSU Center for Computing and Information Services Network Operations Group
>
> Martin McCormick WB5AGZ Stillwater, OK
> OSU Center for Computing and Information Services Network Operations Group
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>
--
Janina Sajka, Director
Technology Research and Development
Governmental Relations Group
American Foundation for the Blind (AFB)
Email: janina@afb.net Phone: (202) 408-8175
Chair, Accessibility SIG
Open Electronic Book Forum (OEBF)
http://www.openebook.org
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: netrik was ( lynx-dev latest status on java script support? )
Martin McCormick
` (2 preceding siblings ...)
` Janina Sajka
@ ` Andor Demarteau
3 siblings, 0 replies; 16+ messages in thread
From: Andor Demarteau @ UTC (permalink / raw)
To: blinux-list
On Fri, 8 Mar 2002, Martin McCormick wrote:
> On the linux system, it says:
>
> cc -g -Wall -DDEBUG -DREADLINE '-DWGET_CMD="wget -nv -O- %s"' -c -o
> main.o main.c
> main.c:16: curses.h: No such file or directory
> main.c:22: readline/history.h: No such file or directory
> main.c:23: readline/readline.h: No such file or directory
> make: *** [main.o] Error 1
seems like you are missing a couple of header-files.
Thatis, you probably need some extra dev-packages like probably ncurses-dev
and libreadline-dev or something simular.
> That error I understand in that I am missing a library
> containing the files that are listed as missing. The make file
> has an option to build on Solaris which is similar to FreeBSD so
> I tried that but with no luck either. Make just complained about
> the same two lines needing arguments.
hmm, I'm no makefile expert.
> I have a feeling this is about to compile but I have
> either failed to set an environment variable or that I need to go
> get a library somewhere that contains the correct headers.
yep.
> This project sounds like the folks who are working on it
> are headed in the right direction so I am certainly willing to be
> patient and find out why it isn't compiling right now.
>
> The current version appears to be netrik-0.7.1.tar.gz
>
> I would certainly like to see it run and play with it a
> bit andfind out whether it might read some of our
> javascript-infested web sites we have here. They are not
> terribly complex or special except that they use javascript to
> set up the links and onclicks to tell the sites what link you
> want.
>
> Martin McCormick WB5AGZ Stillwater, OK
> OSU Center for Computing and Information Services Network Operations Group
>
> Martin McCormick WB5AGZ Stillwater, OK
> OSU Center for Computing and Information Services Network Operations Group
>
>
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/blinux-list
>
--
slainte mhaith (good health), slainte (cheers)
Uisce Beatha (water of live/health)
-----------
Andor Demarteau E-mail: ademarte@students.cs.uu.nl
student computer science www: http://www.students.cs.uu.nl/~ademarte/
Utrecht University irc: see webpage for details
-----------
Believe in yourself, know what you want, and make it happen!
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
netrik was ( lynx-dev latest status on java script support? ) Martin McCormick
-- strict thread matches above, loose matches on Subject: below --
Martin McCormick
Martin McCormick
` Tim Pennick
Martin McCormick
Martin McCormick
` David Poehlman
Martin McCormick
` Mike Gorse
` Kirk Reiser
` Buddy Brannan
Martin McCormick
` Gil Andre
` Gil Andre
` Janina Sajka
` Andor Demarteau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).