# -*- mode: Shell-script; -*-
# /etc/urlview/url_handlers
#
# This file is assumed to be sourced from a Bash script.
#
# Copyright (C) 2002-2007 ALT Linux Team <devel@lists.altlinux.org>
#
# This file is in public domain.

#########################
# Configurable section. #
#########################
#
# Any entry in the lists of programs that urlview handler will try out will
# be made of /path/to/program + ':' + TAG where TAG is one of
# PW: XWindows program intended to live on after urlview's caller exits.
# XW: XWindows program
# XT: Launch with an xterm if possible or as VT if not
# VT: Launch in the same terminal

# The lists of programs to be executed are
gopher_prgs=(
    /usr/bin/lynx:XT
    /usr/bin/gopher:XT
    )
# https_progs is a subset of http_progs, so defining https_progs first.
https_prgs=(
    /usr/bin/firefox:PW
    /usr/bin/galeon:PW
    /usr/bin/mozilla:PW
    /usr/bin/konqueror:PW
    /usr/bin/skipstone:PW
    /usr/bin/links:XT
    /usr/bin/lynx:XT
    /usr/bin/w3m:XT
    )
http_prgs=("${https_prgs[@]}")
file_prgs=("${http_prgs[@]}")
ftp_prgs=(
    /usr/bin/lftp:XT
    /usr/bin/ncftp:XT
    /usr/bin/gftp:PW
    "${http_prgs[@]}"
    )
mailto_prgs=(
    '/usr/bin/mutt --':XT
    '/usr/lib/thunderbird/thunderbird-mailto':PW
    '/usr/bin/mozilla -compose':PW
    '/usr/bin/sylpheed --compose':PW
    /usr/bin/kmail:PW
    /usr/bin/pine:XT
    '/usr/bin/mailx --':VT
    )

# Program used as an xterm.
XTERM=/usr/bin/xvt

# End of /etc/urlview/url_handlers
