Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Dillo - local file as command line argument (Announce)

posted by obeythepenguin Homepage, United States, 27.11.2011, 18:29

Hi Japheth,

> I did a few tests of the local files feature (using the Win32 version!).
>
> When I start dillo with a plain file argument:
>
> C:\TEMP>c:\dillo\dillo Manual.html
>
> it tries to translate the argument to a full URL -
> file:/:\TEMP/Manual.html.
>
> However, this is not quite correct; there's no "drive letter" in the URL,
> and hence the file isn't found by dillo. Firefox translates a command line
> argument to file:///C:/TEMP/Manual.html.

I'm still working out some bugs in the file:/ code. Cut me a break, it's not even four days old! ;-)

But seriously, that's probably a bug in Dillo's command-line parser, where it tries to convert relative filenames into absolute file:/ URLs. Since Dillo is originally a Unix program, it makes a lot of assumptions about file paths that aren't valid on other systems. I will take a look at that code when I get a chance.

In the meantime, absolute pathnames do work, both on the command line and in the location bar.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 431 users online (0 registered, 431 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum