#!/bin/sh
# webtk - HTML editor
#
# Copyright (c) 1996 Sun Microsystems, Inc.
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# Start a the HTML editor/browser
# \
exec /net/bisque.eng/export/vol0/tcl/install/5.x-sparc/bin/wish4.1 "$0" ${1+"$@"}

if {$tk_version < 4.1} {
    Stderr "WebEdit requires Tk 4.1, this is only $tk_version"
    exit 1
}
# The following is patched in by the installation script, webtk.install

#CONFIGURATION
set wish /net/bisque.eng/export/vol0/tcl/install/5.x-sparc/bin/wish8.0
set WebTk(version) {1.0 DEVELOPMENT}
set maintainer Brent.Welch@eng.sun.com
set WebTk(proxy) webcache1.eng
set WebTk(port) 8080
set WebTk(library) /home/bwelch/src/webtk/lib
set WebTk(instlib) /tmp
set WebTk(bin) /home/bwelch/src/webtk/bin
set WebTk(html) /home/bwelch/src/webtk/html
set WebTk(images) /home/bwelch/src/webtk/images
set WebTk(cache) /tmp/webtkcache
#END CONFIGURATION

lappend auto_path $WebTk(library)

#set WebTk(home) [file dirname $here]

#load ../../textwww/textwww.so Textsize
#source table.tcl-
if [catch {
package require Tnm
source mib.tcl
source snmp.tcl
source property.tcl

# mib load
foreach mib {cat1900 rfc1493 rfc1317 rfc1757 } {
    if [catch {mib load $mib.mib}] {
	puts stderr "$mib failed"
    }
}
}] {
    puts stderr "No SNMP support"
}
WebTk

