[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Starting w3m: error
- From: Meph Istopheles <meph Aeon-AL Com>
- To: <redhat-list redhat com>
- Subject: Re: Starting w3m: error
- Date: Sun, 30 Sep 2001 08:07:20 -0700 (PDT)
Wolfgang,
Ah, it's early here. I see you're using cat. I'm no w3m -- or
cat, for that matter -- expert, but I wonder why you're piping it
anyway when w3m would be the better choice of command. Maybe I'm
just thinking that catting a file through an app which is
designed to display hypertext would be better just using the app
in question.
Also, your command has ...-T text/html & I don't see any T
option for w3m -- only t for setting tab width. If that's what
you have in mind, perhaps it's just a matter of changing the case
from T to t.
Either way, give it a shot....
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)
> > > 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)
--
"I did this 'cause Linux gives me a woody."
-Dave '-ddt->' Taylor, announcing DOOM for Linux
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]