Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

One picture is worth 128K words.


devel / comp.lang.forth / Re: Technical Manual

SubjectAuthor
* Technical ManualRick C
+* Re: Technical ManualRick C
|+* Re: Technical ManualBrian Fox
||`* Re: Technical ManualRick C
|| `- Re: Technical ManualBrian Fox
|`* Re: Technical Manualnone
| `- Re: Technical ManualRick C
+- Re: Technical ManualStephen Pelc
+- Re: Technical ManualRick C
`* Re: Technical ManualHans Bezemer
 `- Re: Technical ManualRick C

1
Technical Manual

<ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17907&group=comp.lang.forth#17907

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:b64:b0:461:c493:7d72 with SMTP id ey4-20020a0562140b6400b00461c4937d72mr1239411qvb.46.1652908034053;
Wed, 18 May 2022 14:07:14 -0700 (PDT)
X-Received: by 2002:a05:6214:20e6:b0:45d:403f:7a90 with SMTP id
6-20020a05621420e600b0045d403f7a90mr1401014qvk.1.1652908033849; Wed, 18 May
2022 14:07:13 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 18 May 2022 14:07:13 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=72.50.67.31; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 72.50.67.31
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
Subject: Technical Manual
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Wed, 18 May 2022 21:07:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2040
 by: Rick C - Wed, 18 May 2022 21:07 UTC

I need to prepare some sort of technical manual that would provide a means of debugging a particular board. I was originally planning for it to contain a theory of operation, but also a guide that would provide detailed debug info for the test program. In particular, for each type of failure, it would point to various test points for probing and indicate the nature of the signal to be expected.

I'm thinking of what medium this would be easiest in. The test program is in Forth on a PC and could incorporate the detailed instructions and the decision tree. It might be a bit harder to bring up the images showing where to probe and the signals expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?

Anyone familiar with an application sending HTML to a browser on the same machine? I'm using Win32Forth.

--

Rick C.

- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209

Re: Technical Manual

<3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17908&group=comp.lang.forth#17908

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ad4:5bc1:0:b0:42c:3700:a6df with SMTP id t1-20020ad45bc1000000b0042c3700a6dfmr1399141qvt.94.1652910891890;
Wed, 18 May 2022 14:54:51 -0700 (PDT)
X-Received: by 2002:ac8:5b51:0:b0:2f3:d5a9:fde with SMTP id
n17-20020ac85b51000000b002f3d5a90fdemr1677383qtw.60.1652910891672; Wed, 18
May 2022 14:54:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 18 May 2022 14:54:51 -0700 (PDT)
In-Reply-To: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=72.50.67.31; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 72.50.67.31
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com>
Subject: Re: Technical Manual
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Wed, 18 May 2022 21:54:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2434
 by: Rick C - Wed, 18 May 2022 21:54 UTC

On Wednesday, May 18, 2022 at 5:07:15 PM UTC-4, Rick C wrote:
> I need to prepare some sort of technical manual that would provide a means of debugging a particular board. I was originally planning for it to contain a theory of operation, but also a guide that would provide detailed debug info for the test program. In particular, for each type of failure, it would point to various test points for probing and indicate the nature of the signal to be expected.
>
> I'm thinking of what medium this would be easiest in. The test program is in Forth on a PC and could incorporate the detailed instructions and the decision tree. It might be a bit harder to bring up the images showing where to probe and the signals expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?
>
> Anyone familiar with an application sending HTML to a browser on the same machine? I'm using Win32Forth.

Someone pointed out that an HTML file or even many other file types can simply be "run", similar to double clicking them in the GUI. How would that be done in Win32Forth?

--

Rick C.

+ Get 1,000 miles of free Supercharging
+ Tesla referral code - https://ts.la/richard11209

Re: Technical Manual

<a6e0241b-e087-4029-a28c-178edc506b9dn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17909&group=comp.lang.forth#17909

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:aa49:0:b0:69f:cd34:7b25 with SMTP id t70-20020a37aa49000000b0069fcd347b25mr1318442qke.744.1652914565418;
Wed, 18 May 2022 15:56:05 -0700 (PDT)
X-Received: by 2002:a05:622a:1823:b0:2f3:df29:7588 with SMTP id
t35-20020a05622a182300b002f3df297588mr1806211qtc.429.1652914565237; Wed, 18
May 2022 15:56:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 18 May 2022 15:56:05 -0700 (PDT)
In-Reply-To: <3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=99.242.210.36; posting-account=2z7GawoAAADc70p5SM5AbaCyzjLblS3g
NNTP-Posting-Host: 99.242.210.36
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com> <3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a6e0241b-e087-4029-a28c-178edc506b9dn@googlegroups.com>
Subject: Re: Technical Manual
From: brian....@brianfox.ca (Brian Fox)
Injection-Date: Wed, 18 May 2022 22:56:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3322
 by: Brian Fox - Wed, 18 May 2022 22:56 UTC

On Wednesday, May 18, 2022 at 5:54:52 PM UTC-4, gnuarm.del...@gmail.com wrote:
> On Wednesday, May 18, 2022 at 5:07:15 PM UTC-4, Rick C wrote:
> > I need to prepare some sort of technical manual that would provide a means of debugging a particular board. I was originally planning for it to contain a theory of operation, but also a guide that would provide detailed debug info for the test program. In particular, for each type of failure, it would point to various test points for probing and indicate the nature of the signal to be expected.
> >
> > I'm thinking of what medium this would be easiest in. The test program is in Forth on a PC and could incorporate the detailed instructions and the decision tree. It might be a bit harder to bring up the images showing where to probe and the signals expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?
> >
> > Anyone familiar with an application sending HTML to a browser on the same machine? I'm using Win32Forth.
> Someone pointed out that an HTML file or even many other file types can simply be "run", similar to double clicking them in the GUI. How would that be done in Win32Forth?
>
> --
>
> Rick C.
>
> + Get 1,000 miles of free Supercharging
> + Tesla referral code - https://ts.la/richard11209

My approach would be to create a little language that outputs html to a file.
I did something like this for Rosetta code.
(with my tongue firmly planted in my cheek, I tried to make Forth look like HTML )

https://www.rosettacode.org/wiki/Create_an_HTML_table#Forth
This example would be better if it used a separate vocabulary or wordlist.

Then you can write up your pages in your Forth lexicon that automatically creates files.
Then the program displays the files on your browser by using SYSTEM with a string that
has the browser name and the file path.

I think win32Forth does something like that in a demo that starts the calculator. (?)

Would that work?

Re: Technical Manual

<c923bbfa-5b6d-4c12-9c58-28932ba32461n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17912&group=comp.lang.forth#17912

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:622a:1007:b0:2f3:ce52:25cb with SMTP id d7-20020a05622a100700b002f3ce5225cbmr2400403qte.575.1652931660383;
Wed, 18 May 2022 20:41:00 -0700 (PDT)
X-Received: by 2002:a05:622a:cc:b0:2f9:e34:ead7 with SMTP id
p12-20020a05622a00cc00b002f90e34ead7mr2429560qtw.581.1652931660090; Wed, 18
May 2022 20:41:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!news.szaf.org!fu-berlin.de!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 18 May 2022 20:40:59 -0700 (PDT)
In-Reply-To: <a6e0241b-e087-4029-a28c-178edc506b9dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=72.50.67.31; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 72.50.67.31
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
<3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com> <a6e0241b-e087-4029-a28c-178edc506b9dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c923bbfa-5b6d-4c12-9c58-28932ba32461n@googlegroups.com>
Subject: Re: Technical Manual
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Thu, 19 May 2022 03:41:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Rick C - Thu, 19 May 2022 03:40 UTC

On Wednesday, May 18, 2022 at 6:56:06 PM UTC-4, Brian Fox wrote:
> On Wednesday, May 18, 2022 at 5:54:52 PM UTC-4, gnuarm.del...@gmail.com wrote:
> > On Wednesday, May 18, 2022 at 5:07:15 PM UTC-4, Rick C wrote:
> > > I need to prepare some sort of technical manual that would provide a means of debugging a particular board. I was originally planning for it to contain a theory of operation, but also a guide that would provide detailed debug info for the test program. In particular, for each type of failure, it would point to various test points for probing and indicate the nature of the signal to be expected.
> > >
> > > I'm thinking of what medium this would be easiest in. The test program is in Forth on a PC and could incorporate the detailed instructions and the decision tree. It might be a bit harder to bring up the images showing where to probe and the signals expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?
> > >
> > > Anyone familiar with an application sending HTML to a browser on the same machine? I'm using Win32Forth.
> > Someone pointed out that an HTML file or even many other file types can simply be "run", similar to double clicking them in the GUI. How would that be done in Win32Forth?
> >
> > --
> >
> > Rick C.
> >
> > + Get 1,000 miles of free Supercharging
> > + Tesla referral code - https://ts.la/richard11209
> My approach would be to create a little language that outputs html to a file.
> I did something like this for Rosetta code.
> (with my tongue firmly planted in my cheek, I tried to make Forth look like HTML )
>
> https://www.rosettacode.org/wiki/Create_an_HTML_table#Forth
> This example would be better if it used a separate vocabulary or wordlist..
>
> Then you can write up your pages in your Forth lexicon that automatically creates files.
> Then the program displays the files on your browser by using SYSTEM with a string that
> has the browser name and the file path.
>
> I think win32Forth does something like that in a demo that starts the calculator. (?)
>
> Would that work?

Yeah, that would work. I'm not seeing the advantage to writing the HTML for the pages in Forth, but possibly. The pages would all be similar, with at least three images, a schematic section, a PCB CAD image, and possibly a waveform image. There would be text describing the test failure and what is potentially wrong.

Still, HTML has come a long way since I wrote any some 20 years ago.

Looking at your example, the HTML code is written to standard output. I assume you redirected that to a file? Not trying to be pedantic, but there are many means of generating the actual HTML code. In my thinking that's not the harder part. The part I haven't worked out in my mind is to have the HTML displayed in a window. The HTML can all be written in advance and simply stored, or possibly served up over the Internet... no, maybe not that.. Win32Forth has a habit of looking like a virus to a lot of AVS. One way around that in the environment it will be run is to not connect it to the network and therefore, not connect to the Internet.

Here's a question because I infrequently write Forth code and have trouble separating the different timing of functions in Forth. toquote parses the input buffer, and is used in several words. If I were to use your example code in a word, to parameterize the table, would toquote work correctly, or at all?

<th align=" right" >

In this line, the first word would compile ok, align=" would be compiled as itself, but then right" is not a word and would cause it to fail, no? So would toquote need to be different in order to allow the above line to be part of a compiled word? I think it would need to be immediate and compile to a literal that runs when the outer word is run.

Thanks for the reply. This helps me think about the problem.

--

Rick C.

-- Get 1,000 miles of free Supercharging
-- Tesla referral code - https://ts.la/richard11209

Re: Technical Manual

<nnd$531d7261$2f909622@d20e37c8fcc16fb5>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17914&group=comp.lang.forth#17914

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: Technical Manual
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com> <3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com>
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: alb...@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$531d7261$2f909622@d20e37c8fcc16fb5>
Organization: KPN B.V.
Date: Thu, 19 May 2022 09:54:55 +0200
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 40
Injection-Date: Thu, 19 May 2022 09:54:55 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 2334
 by: none - Thu, 19 May 2022 07:54 UTC

In article <3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com>,
Rick C <gnuarm.deletethisbit@gmail.com> wrote:
>On Wednesday, May 18, 2022 at 5:07:15 PM UTC-4, Rick C wrote:
>> I need to prepare some sort of technical manual that would provide a
>means of debugging a particular board. I was originally planning for it
>to contain a theory of operation, but also a guide that would provide
>detailed debug info for the test program. In particular, for each type of
>failure, it would point to various test points for probing and indicate
>the nature of the signal to be expected.
>>
>> I'm thinking of what medium this would be easiest in. The test program
>is in Forth on a PC and could incorporate the detailed instructions and
>the decision tree. It might be a bit harder to bring up the images
>showing where to probe and the signals expected in the console. But I'm
>wondering if there's a way to send HTML to a browser page to display
>this?
>>
>> Anyone familiar with an application sending HTML to a browser on the
>same machine? I'm using Win32Forth.
>
>Someone pointed out that an HTML file or even many other file types can
>simply be "run", similar to double clicking them in the GUI. How would
>that be done in Win32Forth?

In MS-Windows I associate .frt with an editor and type
A> aap.frt
to edit. The same applies probably to html files.
You can try your luck with
"aap.html" SYSTEM

>
>--
>
>Rick C.
--
"in our communism country Viet Nam, people are forced to be
alive and in the western country like US, people are free to
die from Covid 19 lol" duc ha
albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst

Re: Technical Manual

<a80945a0-6c90-4d03-b378-991e0e024d2cn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17915&group=comp.lang.forth#17915

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:58d6:0:b0:2f3:d35c:4ef8 with SMTP id u22-20020ac858d6000000b002f3d35c4ef8mr2861708qta.265.1652947143642;
Thu, 19 May 2022 00:59:03 -0700 (PDT)
X-Received: by 2002:ad4:5c69:0:b0:45a:99cb:4c54 with SMTP id
i9-20020ad45c69000000b0045a99cb4c54mr3158615qvh.72.1652947143448; Thu, 19 May
2022 00:59:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 19 May 2022 00:59:03 -0700 (PDT)
In-Reply-To: <nnd$531d7261$2f909622@d20e37c8fcc16fb5>
Injection-Info: google-groups.googlegroups.com; posting-host=72.50.67.31; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 72.50.67.31
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
<3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com> <nnd$531d7261$2f909622@d20e37c8fcc16fb5>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a80945a0-6c90-4d03-b378-991e0e024d2cn@googlegroups.com>
Subject: Re: Technical Manual
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Thu, 19 May 2022 07:59:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Rick C - Thu, 19 May 2022 07:59 UTC

On Thursday, May 19, 2022 at 3:54:57 AM UTC-4, none albert wrote:
> In article <3683c623-5163-46e5...@googlegroups.com>,
> Rick C <gnuarm.del...@gmail.com> wrote:
> >On Wednesday, May 18, 2022 at 5:07:15 PM UTC-4, Rick C wrote:
> >> I need to prepare some sort of technical manual that would provide a
> >means of debugging a particular board. I was originally planning for it
> >to contain a theory of operation, but also a guide that would provide
> >detailed debug info for the test program. In particular, for each type of
> >failure, it would point to various test points for probing and indicate
> >the nature of the signal to be expected.
> >>
> >> I'm thinking of what medium this would be easiest in. The test program
> >is in Forth on a PC and could incorporate the detailed instructions and
> >the decision tree. It might be a bit harder to bring up the images
> >showing where to probe and the signals expected in the console. But I'm
> >wondering if there's a way to send HTML to a browser page to display
> >this?
> >>
> >> Anyone familiar with an application sending HTML to a browser on the
> >same machine? I'm using Win32Forth.
> >
> >Someone pointed out that an HTML file or even many other file types can
> >simply be "run", similar to double clicking them in the GUI. How would
> >that be done in Win32Forth?
> In MS-Windows I associate .frt with an editor and type
> A> aap.frt
> to edit. The same applies probably to html files.
> You can try your luck with
> "aap.html" SYSTEM

Yes, thanks. I posted about this in another group and they talked about the SYSTEM command which seems like it will do just what I want. It has to be invoked with a command, but I think I already have an example of that for Win32Forth. I use it to init a serial port I believe.

--

Rick C.

-+ Get 1,000 miles of free Supercharging
-+ Tesla referral code - https://ts.la/richard11209

Re: Technical Manual

<t652hg$8dk$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17918&group=comp.lang.forth#17918

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: step...@vfxforth.com (Stephen Pelc)
Newsgroups: comp.lang.forth
Subject: Re: Technical Manual
Date: Thu, 19 May 2022 09:27:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <t652hg$8dk$1@dont-email.me>
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 19 May 2022 09:27:12 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="75e8ba1b25de061c1563f5ad45ebabe7";
logging-data="8628"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8BfXVXnvM8p0uKc90h8AT"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:tMCN+dKb1p4wqebrkoLnWVibkrQ=
X-Usenapp: v1.19/l - Full License
 by: Stephen Pelc - Thu, 19 May 2022 09:27 UTC

On 18 May 2022 at 23:07:13 CEST, "Rick C" <gnuarm.deletethisbit@gmail.com>
wrote:

> I need to prepare some sort of technical manual that would provide a means of
> debugging a particular board. I was originally planning for it to contain a
> theory of operation, but also a guide that would provide detailed debug info
> for the test program. In particular, for each type of failure, it would point
> to various test points for probing and indicate the nature of the signal to be
> expected.
>
> I'm thinking of what medium this would be easiest in. The test program is in
> Forth on a PC and could incorporate the detailed instructions and the decision
> tree. It might be a bit harder to bring up the images showing where to probe
> and the signals expected in the console. But I'm wondering if there's a way to
> send HTML to a browser page to display this?
>
> Anyone familiar with an application sending HTML to a browser on the same
> machine? I'm using Win32Forth.

Win32Forth used to contain a partial clone of MPE's DocGen system. I forget
what it
is called.

Alternatively, use the real thing.

If you really want an interactive HTML system for Forth, talk to me or Gerald
off-line.

Stephen

--
Stephen Pelc, stephen@vfxforth.com
MicroProcessor Engineering, Ltd. - More Real, Less Time
133 Hill Lane, Southampton SO15 5AF, England
tel: +44 (0)23 8063 1441, +44 (0)78 0390 3612, +34 649 662 974
http://www.mpeforth.com - free VFX Forth downloads

Re: Technical Manual

<827989ca-33cf-4fe4-8f54-c61aeab2159an@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=17920&group=comp.lang.forth#17920

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:2683:b0:69c:8c9c:5f80 with SMTP id c3-20020a05620a268300b0069c8c9c5f80mr3111310qkp.367.1652969413185;
Thu, 19 May 2022 07:10:13 -0700 (PDT)
X-Received: by 2002:ac8:5755:0:b0:2f3:be35:59c with SMTP id
21-20020ac85755000000b002f3be35059cmr3923447qtx.249.1652969412810; Thu, 19
May 2022 07:10:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Thu, 19 May 2022 07:10:12 -0700 (PDT)
In-Reply-To: <c923bbfa-5b6d-4c12-9c58-28932ba32461n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=99.242.210.36; posting-account=2z7GawoAAADc70p5SM5AbaCyzjLblS3g
NNTP-Posting-Host: 99.242.210.36
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
<3683c623-5163-46e5-ac24-d75d5fac8958n@googlegroups.com> <a6e0241b-e087-4029-a28c-178edc506b9dn@googlegroups.com>
<c923bbfa-5b6d-4c12-9c58-28932ba32461n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <827989ca-33cf-4fe4-8f54-c61aeab2159an@googlegroups.com>
Subject: Re: Technical Manual
From: brian....@brianfox.ca (Brian Fox)
Injection-Date: Thu, 19 May 2022 14:10:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2691
 by: Brian Fox - Thu, 19 May 2022 14:10 UTC

On Wednesday, May 18, 2022 at 11:41:01 PM UTC-4, gnuarm.del...@gmail.com wrote:

>
> Here's a question because I infrequently write Forth code and have trouble separating the different timing of functions in Forth. toquote parses the input buffer, and is used in several words. If I were to use your example code in a word, to parameterize the table, would toquote work correctly, or at all?
>
> <th align=" right" >
>
> In this line, the first word would compile ok, align=" would be compiled as itself, but then right" is not a word and would cause it to fail, no? So would toquote need to be different in order to allow the above line to be part of a compiled word? I think it would need to be immediate and compile to a literal that runs when the outer word is run.
>

Yes I used a dialect of Forth that lets you redirect standard output to a file.

I intended all of these words to be interpreted.
The words totag and toquote are calling PARSE so you are correct, they will not compile.

To compile them would require them to be re-written. When compiling they would need to
compile the string literal into the definition and type it on execution of the definition.

I only know how to do this by making them "state smart" which is deemed to be evil nowadays. :)

Re: Technical Manual

<17d0474f-0ce9-40ff-953b-7a7c345a3182n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18001&group=comp.lang.forth#18001

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a37:e205:0:b0:6a3:39d1:6292 with SMTP id g5-20020a37e205000000b006a339d16292mr18708757qki.525.1653489771700;
Wed, 25 May 2022 07:42:51 -0700 (PDT)
X-Received: by 2002:a05:620a:b4e:b0:6a5:9b54:2d91 with SMTP id
x14-20020a05620a0b4e00b006a59b542d91mr1499251qkg.586.1653489771493; Wed, 25
May 2022 07:42:51 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 25 May 2022 07:42:51 -0700 (PDT)
In-Reply-To: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=70.45.109.64; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 70.45.109.64
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <17d0474f-0ce9-40ff-953b-7a7c345a3182n@googlegroups.com>
Subject: Re: Technical Manual
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Wed, 25 May 2022 14:42:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2032
 by: Rick C - Wed, 25 May 2022 14:42 UTC

In case anyone was interested, I realized I could do the job more easily by not tying it too closely to the test program. There are a limited number of tests and failures, so it makes sense to write more general instructions that guide the operator through the signal flow testing along the way.

One of the main issues is the fact that the chips, which are the primary points of thought in debugging, are not accessible when testing. So the user needs to be pointed to passive components on the accessible side of the board for each point of interest. This is done in screen captures of the layout program and schematic pages. It's only just started, but coming along pretty well.

Thanks for the suggestions.

--

Rick C.

+- Get 1,000 miles of free Supercharging
+- Tesla referral code - https://ts.la/richard11209

Re: Technical Manual

<2f00e6b1-5526-4bef-b7b6-509c1e942470n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18003&group=comp.lang.forth#18003

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:ac8:5ad4:0:b0:2f3:e0fb:df1c with SMTP id d20-20020ac85ad4000000b002f3e0fbdf1cmr25228181qtd.267.1653492965642;
Wed, 25 May 2022 08:36:05 -0700 (PDT)
X-Received: by 2002:a05:622a:182a:b0:2f9:2f65:8ded with SMTP id
t42-20020a05622a182a00b002f92f658dedmr15220893qtc.429.1653492965386; Wed, 25
May 2022 08:36:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 25 May 2022 08:36:05 -0700 (PDT)
In-Reply-To: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=77.174.47.232; posting-account=Ebqe4AoAAABfjCRL4ZqOHWv4jv5ZU4Cs
NNTP-Posting-Host: 77.174.47.232
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2f00e6b1-5526-4bef-b7b6-509c1e942470n@googlegroups.com>
Subject: Re: Technical Manual
From: the.beez...@gmail.com (Hans Bezemer)
Injection-Date: Wed, 25 May 2022 15:36:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3231
 by: Hans Bezemer - Wed, 25 May 2022 15:36 UTC

On Wednesday, May 18, 2022 at 11:07:15 PM UTC+2, gnuarm.del...@gmail.com wrote:
> I need to prepare some sort of technical manual that would provide a means of debugging a particular board. I was originally planning for it to contain a theory of operation, but also a guide that would provide detailed debug info for the test program. In particular, for each type of failure, it would point to various test points for probing and indicate the nature of the signal to be expected.
>
> I'm thinking of what medium this would be easiest in. The test program is in Forth on a PC and could incorporate the detailed instructions and the decision tree. It might be a bit harder to bring up the images showing where to probe and the signals expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?
>
> Anyone familiar with an application sending HTML to a browser on the same machine? I'm using Win32Forth.
Yeah, plenty - the important question is: does it have to be updated (e.g. automatic reload) on change? Does Forth have to "kick off" the web browser? What are the facilities you need? Just pushing out a table is different from formatted text e.g. with (also updated?) pics.

Kicking off a webbrowser is as easy as a system() call. But it will simply load the page and burn CPU. Why not do it in LaTeX - that offers plenty of ways to (automatically) export it to a multitude of formats, incl. HTML.

Although I've quite a number of HTML libs at my (4tH) disposal, I only use them if they are updated by the program, based on some data it processes. You can do pure HTML, but why the trouble? Just because you can automatically write it in a certain format somewhere?

So, lots of questions - even in the sense whether Forth is the right tool.

Hans Bezemer

https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/lib/html.4th
https://sourceforge.net/p/forth-4th/code/HEAD/tree/trunk/4th.src/demo/htmldemo.4th

Re: Technical Manual

<23173f06-ae23-4855-9acc-6e22a60682fbn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=18007&group=comp.lang.forth#18007

  copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:1941:b0:462:5e65:73a0 with SMTP id q1-20020a056214194100b004625e6573a0mr7061416qvk.87.1653511028909;
Wed, 25 May 2022 13:37:08 -0700 (PDT)
X-Received: by 2002:a0c:f78b:0:b0:461:e30c:fafb with SMTP id
s11-20020a0cf78b000000b00461e30cfafbmr27601671qvn.48.1653511028733; Wed, 25
May 2022 13:37:08 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Wed, 25 May 2022 13:37:08 -0700 (PDT)
In-Reply-To: <2f00e6b1-5526-4bef-b7b6-509c1e942470n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=70.45.109.64; posting-account=I-_H_woAAAA9zzro6crtEpUAyIvzd19b
NNTP-Posting-Host: 70.45.109.64
References: <ae7e9a32-98df-4067-a9dc-b1e3653a1143n@googlegroups.com> <2f00e6b1-5526-4bef-b7b6-509c1e942470n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <23173f06-ae23-4855-9acc-6e22a60682fbn@googlegroups.com>
Subject: Re: Technical Manual
From: gnuarm.d...@gmail.com (Rick C)
Injection-Date: Wed, 25 May 2022 20:37:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3952
 by: Rick C - Wed, 25 May 2022 20:37 UTC

On Wednesday, May 25, 2022 at 11:36:06 AM UTC-4, the.bee...@gmail.com wrote:
> On Wednesday, May 18, 2022 at 11:07:15 PM UTC+2, gnuarm.del...@gmail.com wrote:
> > I need to prepare some sort of technical manual that would provide a means of debugging a particular board. I was originally planning for it to contain a theory of operation, but also a guide that would provide detailed debug info for the test program. In particular, for each type of failure, it would point to various test points for probing and indicate the nature of the signal to be expected.
> >
> > I'm thinking of what medium this would be easiest in. The test program is in Forth on a PC and could incorporate the detailed instructions and the decision tree. It might be a bit harder to bring up the images showing where to probe and the signals expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?
> >
> > Anyone familiar with an application sending HTML to a browser on the same machine? I'm using Win32Forth.
> Yeah, plenty - the important question is: does it have to be updated (e.g.. automatic reload) on change? Does Forth have to "kick off" the web browser? What are the facilities you need? Just pushing out a table is different from formatted text e.g. with (also updated?) pics.
>
> Kicking off a webbrowser is as easy as a system() call. But it will simply load the page and burn CPU. Why not do it in LaTeX - that offers plenty of ways to (automatically) export it to a multitude of formats, incl. HTML.
>
> Although I've quite a number of HTML libs at my (4tH) disposal, I only use them if they are updated by the program, based on some data it processes. You can do pure HTML, but why the trouble? Just because you can automatically write it in a certain format somewhere?
>
> So, lots of questions - even in the sense whether Forth is the right tool..

When the only tool you have is a hammer...

I stopped using other languages so long ago that I would not want to even try this in anything else. Plus the fact that the test program is already in Forth.

HTML is not hard to write. Some of the details are a bit tricky to learn from the web pages I've found. Mostly it's this.

https://www.w3schools.com

Much is covered very clearly in a teaching way. If you want to look for some detail, it is harder to find.

So far, so good. I'm able to control font sizes and colors, table layouts, etc. Nothing fancy.

--

Rick C.

++ Get 1,000 miles of free Supercharging
++ Tesla referral code - https://ts.la/richard11209

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor