public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* html parser/highlighter for SN452
@ 2001-01-30  6:49 Khamis Abuelkomboz (UUNET)
  2001-01-30 10:31 ` Syd Polk
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Khamis Abuelkomboz (UUNET) @ 2001-01-30  6:49 UTC (permalink / raw)
  To: sourcenav

if somebody is interested in a html browser
for sn, you can download the following files
for Windows platforms:

http://home.knuut.de/khamis/sn/hyper.exe
http://home.knuut.de/khamis/sn/html.exe

You need to make the following steps:

1. replace/copy hyper.exe html.exe into <SN>/bin
2. edit <SN>/share/etc/sn_prop.cfg and add the following lines:

	# html
	sn_add_parser html \
		-suffix {*.htm *.html *.xml} \
		-brow_cmd $sn_path(bindir)/html \
		-high_cmd $sn_path(bindir)/html

    (or download http://home.knuut.de/khamis/sn/sn_prop.cfg )

3. edit <SN>/share/gui/sninit.tcl and replace line 649

<< sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java tcl 
chill python}

 >> sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java tcl 
chill python html}

have fun,
khamis

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-01-30  6:49 html parser/highlighter for SN452 Khamis Abuelkomboz (UUNET)
@ 2001-01-30 10:31 ` Syd Polk
  2001-01-30 12:03   ` Tom Tromey
  2001-01-31  1:06 ` Khamis Abuelkomboz (UUNET)
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Syd Polk @ 2001-01-30 10:31 UTC (permalink / raw)
  To: Khamis Abuelkomboz (UUNET), sourcenav

Hey, Khamis, you going to submit the source code and contribute to our effort?



At 03:46 PM 1/30/01 +0100, Khamis Abuelkomboz (UUNET) wrote:
>if somebody is interested in a html browser
>for sn, you can download the following files
>for Windows platforms:
>
> http://home.knuut.de/khamis/sn/hyper.exe
> http://home.knuut.de/khamis/sn/html.exe
>
>You need to make the following steps:
>
>1. replace/copy hyper.exe html.exe into <SN>/bin
>2. edit <SN>/share/etc/sn_prop.cfg and add the following lines:
>
>         # html
>         sn_add_parser html \
>                 -suffix {*.htm *.html *.xml} \
>                 -brow_cmd $sn_path(bindir)/html \
>                 -high_cmd $sn_path(bindir)/html
>
>    (or download http://home.knuut.de/khamis/sn/sn_prop.cfg )
>
>3. edit <SN>/share/gui/sninit.tcl and replace line 649
>
><< sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java tcl 
>chill python}
>
> >> sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java tcl 
> chill python html}
>
>have fun,
>khamis

Syd Polk		spolk@redhat.com
Engineering Manager	+1 415 777 9810 x 241
Red Hat, Inc.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-01-30 10:31 ` Syd Polk
@ 2001-01-30 12:03   ` Tom Tromey
  0 siblings, 0 replies; 11+ messages in thread
From: Tom Tromey @ 2001-01-30 12:03 UTC (permalink / raw)
  To: Syd Polk; +Cc: Khamis Abuelkomboz (UUNET), sourcenav

>>>>> "Syd" == Syd Polk <spolk@redhat.com> writes:

Syd> Hey, Khamis, you going to submit the source code and contribute
Syd> to our effort?

I think he is required to, since Source Navigator is released under
the GPL.

>> if somebody is interested in a html browser
>> for sn, you can download the following files
>> for Windows platforms:
>> 
>> http://home.knuut.de/khamis/sn/hyper.exe
>> http://home.knuut.de/khamis/sn/html.exe

In particular if hyper.exe is derived from the SN sources, then the
source to it must be available at this same web site.  Otherwise this
is a GPL violation.

Tom

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-01-30  6:49 html parser/highlighter for SN452 Khamis Abuelkomboz (UUNET)
  2001-01-30 10:31 ` Syd Polk
@ 2001-01-31  1:06 ` Khamis Abuelkomboz (UUNET)
  2001-01-31  1:08   ` Khamis Abuelkomboz (UUNET)
  2001-02-01  5:56 ` Eray Ozkural (exa)
  2001-02-02  2:09 ` Khamis Abuelkomboz (UUNET)
  3 siblings, 1 reply; 11+ messages in thread
From: Khamis Abuelkomboz (UUNET) @ 2001-01-31  1:06 UTC (permalink / raw)
  To: sourcenav

the source code to download

http://home.knuut.de/sn/html.l
http://home.knuut.de/sn/html_high.l

You need to extend the makefiles to be able to build the
parser. Actually I don't have time to give more details
about building it, if somebody is going to do the job, he
can forward me the instructions and I will publish it
in my home page.

khamis

Khamis Abuelkomboz (UUNET) wrote:

> if somebody is interested in a html browser
> for sn, you can download the following files
> for Windows platforms:
> 
> http://home.knuut.de/khamis/sn/hyper.exe
> http://home.knuut.de/khamis/sn/html.exe
> 
> You need to make the following steps:
> 
> 1. replace/copy hyper.exe html.exe into <SN>/bin
> 2. edit <SN>/share/etc/sn_prop.cfg and add the following lines:
> 
>     # html
>     sn_add_parser html \
>         -suffix {*.htm *.html *.xml} \
>         -brow_cmd $sn_path(bindir)/html \
>         -high_cmd $sn_path(bindir)/html
> 
>    (or download http://home.knuut.de/khamis/sn/sn_prop.cfg )
> 
> 3. edit <SN>/share/gui/sninit.tcl and replace line 649
> 
> << sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java 
> tcl chill python}
> 
>  >> sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java 
> tcl chill python html}
> 
> have fun,
> khamis

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-01-31  1:06 ` Khamis Abuelkomboz (UUNET)
@ 2001-01-31  1:08   ` Khamis Abuelkomboz (UUNET)
  0 siblings, 0 replies; 11+ messages in thread
From: Khamis Abuelkomboz (UUNET) @ 2001-01-31  1:08 UTC (permalink / raw)
  To: sourcenav

> http://home.knuut.de/sn/html.l
> http://home.knuut.de/sn/html_high.l

http://home.knuut.de/khamis/sn/html.l
http://home.knuut.de/khamis/sn/html_high.l

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-01-30  6:49 html parser/highlighter for SN452 Khamis Abuelkomboz (UUNET)
  2001-01-30 10:31 ` Syd Polk
  2001-01-31  1:06 ` Khamis Abuelkomboz (UUNET)
@ 2001-02-01  5:56 ` Eray Ozkural (exa)
  2001-02-01 10:29   ` Ian Roxborough
  2001-02-02  2:09 ` Khamis Abuelkomboz (UUNET)
  3 siblings, 1 reply; 11+ messages in thread
From: Eray Ozkural (exa) @ 2001-02-01  5:56 UTC (permalink / raw)
  To: Khamis Abuelkomboz (UUNET); +Cc: sourcenav

"Khamis Abuelkomboz (UUNET)" wrote:
> 
> if somebody is interested in a html browser
> for sn, you can download the following files
> for Windows platforms:
> 
> http://home.knuut.de/khamis/sn/hyper.exe
> http://home.knuut.de/khamis/sn/html.exe

If you are distributing the binaries, you will have
to distribute the sources as well. Did you read the
license?

Thanks,

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-02-01  5:56 ` Eray Ozkural (exa)
@ 2001-02-01 10:29   ` Ian Roxborough
  2001-02-01 15:18     ` Tom Tromey
  2001-02-02 10:29     ` Eray Ozkural (exa)
  0 siblings, 2 replies; 11+ messages in thread
From: Ian Roxborough @ 2001-02-01 10:29 UTC (permalink / raw)
  To: Eray Ozkural (exa); +Cc: Khamis Abuelkomboz (UUNET), sourcenav

"Eray Ozkural (exa)" wrote:
> "Khamis Abuelkomboz (UUNET)" wrote:
> >
> > if somebody is interested in a html browser
> > for sn, you can download the following files
> > for Windows platforms:
> >
> > http://home.knuut.de/khamis/sn/hyper.exe
> > http://home.knuut.de/khamis/sn/html.exe
> 
> If you are distributing the binaries, you will have
> to distribute the sources as well. Did you read the
> license?

Some people seem to think that Khamis has violated
the GPL by not giving out the source code to the
html parser with the binaries.  Well, that doesn't
make a GPL violation (unless you guys are all using
a different GPL).

Correct me if I'm wrong, but you only have to provide
the source code upon request, which Khamis has done.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-02-01 10:29   ` Ian Roxborough
@ 2001-02-01 15:18     ` Tom Tromey
  2001-02-02 10:29     ` Eray Ozkural (exa)
  1 sibling, 0 replies; 11+ messages in thread
From: Tom Tromey @ 2001-02-01 15:18 UTC (permalink / raw)
  To: Ian Roxborough; +Cc: Eray Ozkural (exa), Khamis Abuelkomboz (UUNET), sourcenav

>>>>> "Ian" == Ian Roxborough <irox@redhat.com> writes:

Ian> Correct me if I'm wrong, but you only have to provide
Ian> the source code upon request, which Khamis has done.

It isn't quite that simple.  Read section 3.

The "upon request" scenario is 3(b), which requires a written offer,
good for three years, on the distributor's part.

Generally speaking people on the net go for option 3(a), which entails
putting the source into the same package as the executable.  This is
easiest.

Tom

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-01-30  6:49 html parser/highlighter for SN452 Khamis Abuelkomboz (UUNET)
                   ` (2 preceding siblings ...)
  2001-02-01  5:56 ` Eray Ozkural (exa)
@ 2001-02-02  2:09 ` Khamis Abuelkomboz (UUNET)
  3 siblings, 0 replies; 11+ messages in thread
From: Khamis Abuelkomboz (UUNET) @ 2001-02-02  2:09 UTC (permalink / raw)
  To: sourcenav

Ok guys,

let us shut up this nasty discussion!!!!
I spent some hours and wrote a small html parser for
my needs and the result was so cool that I posted it to
this news group to let other people benifet of it.
As I say, only some hours, I would loved to take some
time and extend the parser to be more intellegint, like
supporting JavaScript.

Actually Tromey wanted to say "Hello, I'm still here", but
he started with GPL!!! however	"Hi Tromey, are you ok?"
I would loved to start a discussion, how to improve source-
navigator to support defining new symbol types, names
containing special characters, like URL strings, so I could
add URL references as symbols and cross referencing. Propably
this could help redhat stocks to increase :-)

Again, for every body the links are

Executables:
http://home.knuut.de/khamis/sn/hyper.exe
http://home.knuut.de/khamis/sn/html.exe

Sources:
http://home.knuut.de/khamis/sn/html.l
http://home.knuut.de/khamis/sn/html_high.l

Khamis

Khamis Abuelkomboz (UUNET) wrote:

> if somebody is interested in a html browser
> for sn, you can download the following files
> for Windows platforms:
> 
> http://home.knuut.de/khamis/sn/hyper.exe
> http://home.knuut.de/khamis/sn/html.exe
> 
> You need to make the following steps:
> 
> 1. replace/copy hyper.exe html.exe into <SN>/bin
> 2. edit <SN>/share/etc/sn_prop.cfg and add the following lines:
> 
>     # html
>     sn_add_parser html \
>         -suffix {*.htm *.html *.xml} \
>         -brow_cmd $sn_path(bindir)/html \
>         -high_cmd $sn_path(bindir)/html
> 
>    (or download http://home.knuut.de/khamis/sn/sn_prop.cfg )
> 
> 3. edit <SN>/share/gui/sninit.tcl and replace line 649
> 
> << sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java 
> tcl chill python}
> 
>  >> sninit.tcl:649: set sn_options(sys,builtin-highlighting) {c++ java 
> tcl chill python html}
> 
> have fun,
> khamis

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-02-01 10:29   ` Ian Roxborough
  2001-02-01 15:18     ` Tom Tromey
@ 2001-02-02 10:29     ` Eray Ozkural (exa)
  2001-02-02 10:40       ` Mo DeJong
  1 sibling, 1 reply; 11+ messages in thread
From: Eray Ozkural (exa) @ 2001-02-02 10:29 UTC (permalink / raw)
  To: Ian Roxborough; +Cc: Khamis Abuelkomboz (UUNET), sourcenav

Ian Roxborough wrote:
> 
> Some people seem to think that Khamis has violated
> the GPL by not giving out the source code to the
> html parser with the binaries.  Well, that doesn't
> make a GPL violation (unless you guys are all using
> a different GPL).
> 

Sorry Khamis and Ian; I didn't imply that Khamis is violating
GPL, but on that quick reading of his mail I thought
he should be giving some url for sources as well. I apologize
if I have offended anyone.

How are the redhat stocks doing btw? :)

Regards,

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: erayo@cs.bilkent.edu.tr
www: http://www.cs.bilkent.edu.tr/~erayo

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: html parser/highlighter for SN452
  2001-02-02 10:29     ` Eray Ozkural (exa)
@ 2001-02-02 10:40       ` Mo DeJong
  0 siblings, 0 replies; 11+ messages in thread
From: Mo DeJong @ 2001-02-02 10:40 UTC (permalink / raw)
  To: sourcenav

On Fri, 2 Feb 2001, Eray Ozkural (exa) wrote:

> Ian Roxborough wrote:
> > 
> > Some people seem to think that Khamis has violated
> > the GPL by not giving out the source code to the
> > html parser with the binaries.  Well, that doesn't
> > make a GPL violation (unless you guys are all using
> > a different GPL).
> 
> Sorry Khamis and Ian; I didn't imply that Khamis is violating
> GPL, but on that quick reading of his mail I thought
> he should be giving some url for sources as well. I apologize
> if I have offended anyone.

Let's just drop the issue. Khamis posted a link to the
source so no harm done.

> How are the redhat stocks doing btw? :)

Hey now, that it hitting below the belt :)

Mo DeJong
Red Hat Inc

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-02-02 10:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-30  6:49 html parser/highlighter for SN452 Khamis Abuelkomboz (UUNET)
2001-01-30 10:31 ` Syd Polk
2001-01-30 12:03   ` Tom Tromey
2001-01-31  1:06 ` Khamis Abuelkomboz (UUNET)
2001-01-31  1:08   ` Khamis Abuelkomboz (UUNET)
2001-02-01  5:56 ` Eray Ozkural (exa)
2001-02-01 10:29   ` Ian Roxborough
2001-02-01 15:18     ` Tom Tromey
2001-02-02 10:29     ` Eray Ozkural (exa)
2001-02-02 10:40       ` Mo DeJong
2001-02-02  2:09 ` Khamis Abuelkomboz (UUNET)

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).