![]()
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
help the following message appears:
linux@paddys:/etc > help
S.u.S.E. Help system
====================
-----------------------------------------------------------------------
Call simply 'help' , or declare one of the following
options:
-nox -> No X Windows browser is used, even if the
X Window System runs.
-x -> In every case the X Windows browser is used
'lynx' serves as browser without X window; 'arena' as browser with
X window support. These options can be changed,
by setting the environment variables 'XBROWSER' or 'TEXTBROWSER'
(do not forget to export!).
-----------------------------------------------------------------------
For 'impossible to solve' problems please contact directly
S.u.S.E-GmbH:
Telefon: 0911/3247130 Mo/Do 13:00-18:00
Telefax: 0911/3206727
Email: support@suse.de
WWW: http://www.suse.de
Snail: S.u.S.E. GmbH
Gebhardtstr. 2
D-90762 Fuerth
-----------------------------------------------------------------------
S.u.S.E. team whishes you lots of success!
This does not depend on the used parameters.
/usr/bin/hilfe.
/usr/bin/hilfe:
#!/bin/sh
############################################################################
##
## S.u.S.E. Help script
##
## Copyright (c) 1994 S.u.S.E. GmbH - Fuerth - Germany
##
############################################################################
#
# first look for several X browsers
#
FOUND_XBROWSER=""
for i in Netscape netscape Mosaic xmosaic arena ; do
test -n "$FOUND_XBROWSER" && continue
FOUND_XBROWSER="`/usr/bin/which $i 2> /dev/null`"
if [ -n "$FOUND_XBROWSER" ] ; then
test -x "$FOUND_XBROWSER" 2> /dev/null || FOUND_XBROWSER=""
fi
done
test -z "$FOUND_XBROWSER" && FOUND_XBROWSER=/usr/X11R6/bin/arena
if [ -z "$XBROWSER" ] ; then
XBROWSER=$FOUND_XBROWSER
else
if [ ! -x "$XBROWSER" ] ; then
TBROWSER="`/usr/bin/which $XBROWSER 2> /dev/null`"
if [ -z "$TBROWSER" ] ; then
echo "kann \$XBROWSER=$XBROWSER nicht finden. Nehme $FOUND_XBROWSER..."
XBROWSER=$FOUND_XBROWSER
else
XBROWSER=$TBROWSER
fi
fi
fi
if [ -z "$TEXTBROWSER" ] ; then
TEXTBROWSER=/usr/bin/lynx
else
if [ ! -x $TEXTBROWSER ] ; then
TBROWSER="`/usr/bin/which $TEXTBROWSER 2> /dev/null`"
if [ -z "$TBROWSER" ] ; then
echo "kann \$TEXTBROWSER=$TEXTBROWSER nicht finden. Nehme lynx..."
TEXTBROWSER=/usr/bin/lynx
else
TEXTBROWSER=$TBROWSER
fi
fi
fi
if [ -z "$SUSEHOMEPAGE" ] ; then
HOMEPAGE=file://localhost/usr/doc/susehilf/index.html
else
HOMEPAGE=$SUSEHOMEPAGE
fi
if [ -z "$DISPLAY" ] ; then
X=0
else
X=1
fi
if [ $# -gt 0 ] ; then
if [ $1 = "-nox" ] ; then
X=0
else
if [ $1 = "-x" ] ; then
X=1
else
echo "S.u.S.E. Help system"
echo "===================="
echo ""
echo "-----------------------------------------------------------------------"
echo ""
echo "Call simply 'help' , or give one of the following"
echo "options:"
echo ""
echo " -nox -> No X Windows Browser is used,
even if the"
echo " X Window System runs.."
echo " -x -> In every case the X Windows Browser
is used"
echo ""
echo "'lynx' serves as Browser without X Window,
'arena' as Browser with"
echo "X Window support. These instructions can be
changed,"
echo "as the environment variables 'XBROWSER' or
'TEXTBROWSER'"
echo "are set (do not forget exporting!). "
echo ""
echo "-----------------------------------------------------------------------"
echo ""
echo "For 'impossible to solve' problems please contact
directly"
echo "S.u.S.E-GmbH:"
echo ""
echo " Telefon: 0911/3247130 Mo/Do 13:00-18:00"
echo " Telefax: 0911/3206727"
echo " Email: support@suse.de"
echo " WWW: http://www.suse.de"
echo " Snail: S.u.S.E. GmbH"
echo " Gebhardtstr. 2"
echo " D-90762 Fuerth"
echo "-----------------------------------------------------------------------"
echo ""
echo "Your S.u.S.E.-team whishes you lots of success!"
echo ""
exit
fi
fi
fi
if [ $X -eq 1 ] ; then
if [ -x $XBROWSER ] ; then
BROWSER=$XBROWSER
else
echo "$XBROWSER nicht verfuegbar...."
BROWSER=$TEXTBROWSER
fi
else
if [ -x $TEXTBROWSER ] ; then
BROWSER=$TEXTBROWSER
else
echo "$TEXTBROWSER nicht verfuegbar...."
BROWSER=$XBROWSER
fi
fi
if [ -x $BROWSER ] ; then
exec $BROWSER $HOMEPAGE
else
hilfe -h
exit
fi
############################################################################
![]()
Keywords: HELP
![]()
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch