on Sun, Dec 24, 2000 at 08:39:23AM -0800, Xucaen (xucaen@yahoo.com) wrote:
>
> --- Chuan-kai Lin <cklin@oink.cc.ntu.edu.tw>
> wrote:
>
> > Instead of using lynx, I would suggest using w3m, which does really
> > amazing things for a text-based browser. I personally never
> > believed somebody could pull it off until I saw it in action.
> > Install w3m, and point it to slashdot... and you will see :)
>
> i've never heard of w3m. what is the package name
> for apt-get? is this a text-based file manager?
$ apt-cache search w3m
...apt-cache is part of apt, though it may be a Woody-only thing.
w3m is a text-mode HTML/Web browser. I've found that the combination of
screen and w3m makes for a *very* nice browsing envrironment. I've
switched to this recently as my first choice -- it's stable, you can
read pretty much any website -- there's so much crap HTML out these days
that's unreadable under a graphical browser it hurts.
Need a new browser window? "C-a c" brings up a new shell. Run another
w3m and fire away. I've added a wrapper (attached) which tells w3m to
run on a default bookmark file by searching through some usual suspects,
else it defaults to the URL or file you give it.
To answer the original question, mc is a good text-mode filesystem
navigation and management tool.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
Evangelist, Zelerate, Inc. http://www.zelerate.org
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
#!/bin/bash
# A w3m wrapper to allow no-argument startup.
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
realw3m=/usr/bin/w3m # Actually, a wrapper itself <g>
arg="" # initialize
# Only subs if no args given and env doesn't say otherwise
if [ $# -eq 0 -a \( -z "$HTTP_HOME" -a -z "$WWW_HOME" \) ]; then
# DEBUG: echo "No args, hunting the wumpus"
for arg in \
$HOME/.w3m/bookmark.html \
$HOME/.netscape/bookmarks.html \
$HOME/.w3m/bookmark.html \
$HOME/.w3m/bookmark.html \
$HOME/.netscape/bookmarks.html \
$HOME/.galeon/bookmarks.xml
do
if [ -f $arg ]; then
# DEBUG: echo "arg set to: $arg"
break
fi
done;
else
: # DEBUG: echo "Args: $#"
fi
eval $realw3m $arg $@
Attachment:
pgp1iOZbiFTpQ.pgp
Description: PGP signature