[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Starting w3m: error



Meph,
Thanks for your fast answer.
I'm not sure whether we're talking about the same thing (sorry, if this is
for the fact that English's not my first language)


> On Sep 30, 2001, 07:25 (-0700) Meph Istopheles wrote:

>   Wolfgang,
>
> > when I do this

.... I want to *start* w3m with
$ cat /usr/doc/HTML/index.html | w3m -T text/html
and I get the error I told about in my last mail ...


> > -------------------------------------------------
> > $ cat /usr/doc/HTML/index.html | w3m -T text/html
> > -------------------------------------------------
>
> > .. then I get this answer from the shell
> > ------------------------------------------------------------
> > /usr/bin/w3m: params[${#params[ ]}]="$1": bad substitution
> > /usr/bin/w3m: ${params[ ]}: bad substitution
> > Broken pipe
> > ------------------------------------------------------------
>
> > -----------------------------------------------------
> > Is there a mistake/bug in the file??
>
> > Or is it simply the wrong file I'm trying to execute, because doing this:
> > ---------------------------------------------------
> > cat /usr/doc/HTML/index.html | w3m-en -T text/html
> > ---------------------------------------------------
> > starts w3m without complaints ....
>
>   Actually, I think the problem is that you've not entered the
> protocol & path.  For instance, if I want to read:
>
> /home/httpd/html/manual/index.html
>
> I'd enter either at command line w3m

typing:
w3m-en file:///usr/doc/HTML/index.html
loads the file without problems ...

typing:
w3m file:///usr/doc/HTML/index.html

gives me this error:
/usr/bin/w3m: params[${#params[ ]}]="$1": bad substitution
/usr/bin/w3m: ${params[ ]}: bad substitution

I'm simply not sure, whether w3m is a file that you can execute, whether
it has a bug or not, or whether w3m is a file that you can't load (because
is used only if you execute w3m-en or w3m-ja ...

Oh, sorry, I forgot that:
I'm using
w3m-0.1.11pre-7 on a kernel 2.2.14-5.0 (RedHat 6.2)

Regards
Wolfgang



> file:///home/httpd/html/manual/index.html
>
> or in w3m, hit G for goto, & enter the same path.  Just tell it
> if you're looking for & where it is as you would a page on the
> Web.
>
>   Meph
>
>






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]