Technical Manual...

On 2022-05-30, albert@cherry.(none) (albert) <albert@cherry> wrote:
In article <d93b170a-c892-4682-a261-8b116333b8d2n@googlegroups.com>,
Ricky <gnuarm.deletethisbit@gmail.com> wrote:
On Wednesday, May 18, 2022 at 5:49:53 PM UTC-4, lang...@fonz.dk wrote:
onsdag den 18. maj 2022 kl. 23.27.40 UTC+2 skrev Ricky:
On Wednesday, May 18, 2022 at 5:19:46 PM UTC-4, lang...@fonz.dk wrote:
onsdag den 18. maj 2022 kl. 23.05.33 UTC+2 skrev Ricky:
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 the medium that 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 one application sending HTML to a browser
on the same machine? I guess this being more of a hardware group, this
might not be the best place to ask.

windows or linux?
Windows

if you can execute a system command like \"start filename.html\" it
should open filename.html in the default browser
(or bring bring up the chose application menu)

Is \"start\" an actual command? I think I understand what you mean. Like
the file was double clicked in Windows, it would be opened by the
default browser... even Microsoft Edge. I\'ll ask in the Forth group how
to run a file. Thanks

In MS-Windows.
If I associate a .txt file with a particular editor,
the editor is opened with this file if I state the name of the text
file on the command prompt.
I would expect the same happens if you associate a .html file with
a browser.

(A unix shell could do the same, if a html is marked executable,
they could start the preferred mime association. There is no
such shell as far as I know.)

Ah, no. executable launching is mediated by the operating system
(execve() system call), not by a shell, and it does not use mime
to pick the interpreter (if one is needed).

OTOH xdg-open uses mime.


--
Jasen.
 
In article <t74i8j$snl$1@gonzo.revmaps.no-ip.org>,
Jasen Betts <usenet@revmaps.no-ip.org> wrote:
On 2022-05-30, albert@cherry.(none) (albert) <albert@cherry> wrote:
In MS-Windows.
If I associate a .txt file with a particular editor,
the editor is opened with this file if I state the name of the text
file on the command prompt.
I would expect the same happens if you associate a .html file with
a browser.

(A unix shell could do the same, if a html is marked executable,
they could start the preferred mime association. There is no
such shell as far as I know.)

Ah, no. executable launching is mediated by the operating system
(execve() system call), not by a shell, and it does not use mime
to pick the interpreter (if one is needed).

Sure? A shell passes a file to the execve shell.
It would be small potatoes to inspect the first few characters
for \'#!\' and \'.ELF\' and then go by the extension instead
using mime, provided the file is marked executable.

OTOH xdg-open uses mime.

I used
mime x.pdf
but an inconvenient menu appears.

xdg-open x.pdf
opens the files without hassle.
Thanks.

Unfortunately
firefox lina.html#DROP
opens the doc file at the subject DROP.
Via xdg-open it doesn\'t succeed.
[It can be argued that the # is an awful hack that has no
place in an command shell.]

--
Jasen.

Groetjes Albert
--
\"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
 
On 5/18/22 2:05 PM, Ricky 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 the medium that 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 one application sending HTML to a browser on the same machine? I guess this being more of a hardware group, this might not be the best place to ask.

In the 90\'s we did this. Designed an ultrasound machine that ran on a PC
and if the user needed any read-up it came up as HTML in the browser. At
first the OS was QNX and later this got ported to Windows NT4.0. I don\'t
know about modern Windows anymore because personally I switched to
Linux. It\'s the same there, lots of software and HW-control routines
open the help files in the broweer upon request, as HTML.

--
Regards, Joerg

http://www.analogconsultants.com/
 
On 2022-06-13 21:58, Joerg wrote:
On 5/18/22 2:05 PM, Ricky 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 the medium that 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 one application sending HTML to a browser on
the same machine? I guess this being more of a hardware group,
this might not be the best place to ask.


In the 90\'s we did this. Designed an ultrasound machine that ran on a
PC and if the user needed any read-up it came up as HTML in the
browser. At first the OS was QNX and later this got ported to Windows
NT4.0. I don\'t know about modern Windows anymore because personally I
switched to Linux. It\'s the same there, lots of software and
HW-control routines open the help files in the broweer upon request,
as HTML.

It\'s simple enough: Just refer your browser to an URL like
file:///path/to/desired/html/file.

Jeroen Belleman
 

Welcome to EDABoard.com

Sponsor

Back
Top