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 signalsexpected 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.
On Wednesday, May 18, 2022 at 5:07:15 PM UTC-4, Rick C wrote: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 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
expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?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
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
On Wednesday, May 18, 2022 at 5:54:52 PM UTC-4, gnuarm.del...@gmail.com wrote: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.
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
expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?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
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 SuperchargingMy approach would be to create a little language that outputs html to a file.
+ Tesla referral code - https://ts.la/richard11209
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?
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 ameans 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.
is in Forth on a PC and could incorporate the detailed instructions and
I'm thinking of what medium this would be easiest in. The test program
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?
same machine? I'm using Win32Forth.
Anyone familiar with an application sending HTML to a browser on the
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?
aap.frtto edit. The same applies probably to html files.
----
Rick C.
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 itto 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.
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
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
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
aap.frtto edit. The same applies probably to html files.
You can try your luck with
"aap.html" SYSTEM
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.
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, toparameterize the table, would toquote work correctly, or at all?
<th align=" right" >think it would need to be immediate and compile to a literal that runs when the outer word is run.
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
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 signalsexpected 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 (
On Wednesday, May 18, 2022 at 11:07:15 PM UTC+2, gnuarm.del...@gmail.com wrote: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 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
expected in the console. But I'm wondering if there's a way to send HTML to a browser page to display this?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
(also updated?) pics.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
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.format somewhere?
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
So, lots of questions - even in the sense whether Forth is the right tool.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 50:31:09 |
Calls: | 6,712 |
Calls today: | 5 |
Files: | 12,243 |
Messages: | 5,354,927 |
Posted today: | 1 |