# -*- mode: Shell-script; -*-
# /etc/urlview/url_handlers
#
# This file is assumed to be sourced from a Bash-script.
#
# Copyright (C) 2002 ALT Linux Team <devel@altlinux.ru>
#
# This file is in public domain.
#
# Changes:
# 11 April 2002: extracted from the processing script. (imz)

#########################
# 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
ftp_prgs=(
    /usr/bin/gftp:PW 
    /usr/bin/galeon:PW 
    /usr/bin/lynx:XT 
    /usr/bin/links:XT 
    /usr/bin/lftp:VT 
    /usr/bin/ncftp:VT)
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/galeon:PW 
    /usr/bin/mozilla:PW 
    /usr/bin/netscape:PW 
    /usr/bin/skipstone:PW 
    /usr/bin/lynx:XT 
    /usr/bin/links:XT)
http_prgs=("${https_prgs[@]}")
file_prgs=("${http_prgs[@]}")
mailto_prgs=(
    '/usr/bin/mutt --':XT 
    '/usr/bin/mozilla -compose':PW
    '/usr/bin/sylpheed --compose':PW
    /usr/bin/pine:XT
    '/usr/bin/mailx --':VT)

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

# End of /etc/urlview/url_handlers
