Here's my urlview setup. In .urlview I have:

        REGEXP (http|https|ftp|mailto):(//)?[^ >"]*|www.[-a-z0-9.]+)[^ .,;>">]
        COMMAND screen browse '%s'

"screen" takes its args and runs them as a command-line in a new
screen session, so each browser I fire off with urlview runs in a
separate screen. I like that behavior. I do all my work in a screen
session on a /dev/fb Linux raw console, nice and sharp at 128
columns by 48 lines.

So anyway, browse is a trivial wrapper script that deals with the
fact that I like to use Links to browse everything except https,
which it can't handle; for https I use Lynx. So here's my browse
script:

        #!/bin/sh
        case "$1" in
          https://*) exec lynx "$@";;
                  *) exec links "$@";;
        esac

-Bennett

PGP signature

Reply via email to