J
Jasen Betts
Guest
On 2022-05-30, albert@cherry.(none) (albert) <albert@cherry> wrote:
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 <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.