# ONLY EDIT /site/etc/csh.cshrc.master
set Z_HOST_SHORT = `uname -n`
set	Z_BERKLIX_ORG		= berklix.org
set	Z_PLIP_EP		= film
set	Z_FREEBSD_DOM		= freebsd.org
set	Z_HOLZ_DOM		= js.berklix.net
set	Z_HOLZ_GATE		= gate.${Z_HOLZ_DOM}
set	Z_HOLZ_PLIP_DOM	= jhs-plip.private
set	Z_MC_PUB_DOM		= martin-collins.de
set	Z_MAIL_RECEIVE_DOM	= berklix.net
set	Z_NO_DOM		= no.berklix.net
set	Z_XX_DOM		= xx.berklix.net
set	Z_VCFE_DOM		= vcfe.org
set	Z_HOST_TYPE		= `uname -s`
set	Z_DHCP_DOM		= dummy_dhcp.org
setenv	MAIL_HOST	`hostname`
setenv	NO_DIALOG	YES
switch ($Z_HOST_SHORT)
	case blak.${Z_HOLZ_DOM}:
	case dell.${Z_HOLZ_DOM}:
	case dual.${Z_HOLZ_DOM}:
	case erik.${Z_HOLZ_DOM}:
	case film.${Z_HOLZ_DOM}:
	case fire.${Z_HOLZ_DOM}:
	case john.${Z_HOLZ_DOM}:
	case jail.${Z_HOLZ_DOM}:
	case king.${Z_HOLZ_DOM}:
	case lapa.${Z_HOLZ_DOM}:
	case lapa.${Z_HOLZ_PLIP_DOM}:
	case lapd.${Z_HOLZ_DOM}:
	case laph.${Z_HOLZ_DOM}:
	case lapl.${Z_HOLZ_DOM}:
	case lapl.${Z_HOLZ_PLIP_DOM}:
	case lapn.${Z_HOLZ_DOM}:
	case lapn.${Z_HOLZ_PLIP_DOM}:
	case lapo.${Z_HOLZ_DOM}:
	case lapr.${Z_HOLZ_DOM}:
	case laps.${Z_HOLZ_DOM}:
	case loft.${Z_HOLZ_DOM}:
	case mini.${Z_HOLZ_DOM}:
	case rain.${Z_HOLZ_DOM}:
	case scan.${Z_HOLZ_DOM}:
	case slam.${Z_HOLZ_DOM}:
	case snow.${Z_HOLZ_DOM}:
	case sony.${Z_HOLZ_DOM}:
	case test.${Z_HOLZ_DOM}:
	case thin.${Z_HOLZ_DOM}:
	case wind.${Z_HOLZ_DOM}:
		setenv	DOMAIN		${Z_HOLZ_DOM}
		setenv	MAIL_HOST	${Z_MAIL_RECEIVE_DOM}
		set Z_GATE_HOST = ${Z_HOLZ_GATE}
		set Z_PLIP_EP	= main
		breaksw
	case mart.${Z_HOLZ_DOM}:
	case park.${Z_HOLZ_DOM}:
		setenv	DOMAIN		${Z_HOLZ_DOM}
		setenv	MAIL_HOST	${Z_MAIL_RECEIVE_DOM}
		breaksw
	case dell.${Z_DHCP_DOM}:
	case lapa.${Z_DHCP_DOM}:
	case lapd.${Z_DHCP_DOM}:
	case laph.${Z_DHCP_DOM}:
	case lapl.${Z_DHCP_DOM}:
	case lapn.${Z_DHCP_DOM}:
	case lapo.${Z_DHCP_DOM}:
	case lapr.${Z_DHCP_DOM}:
	case laps.${Z_DHCP_DOM}:
		setenv	DOMAIN		${Z_DHCP_DOM}
		set nobeep
		breaksw
	case lapp.${Z_HOLZ_DOM}:
	case lapp.${Z_HOLZ_PLIP_DOM}:
		setenv	DOMAIN		${Z_HOLZ_DOM}
		setenv	MAIL_HOST	${Z_MAIL_RECEIVE_DOM}
		set Z_GATE_HOST = ${Z_HOLZ_GATE}
		set Z_PLIP_EP	= film-plip
		breaksw
	case slim.${Z_BERKLIX_ORG}:
	case land.${Z_BERKLIX_ORG}:
		setenv	DOMAIN	${Z_BERKLIX_ORG}
		setenv	WWWHOST www.berklix.org
		breaksw
	case freefall.${Z_FREEBSD_DOM}:
	case hub.${Z_FREEBSD_DOM}:
		setenv	DOMAIN	${Z_FREEBSD_DOM}
		breaksw
	case symmetric.${Z_VCFE_DOM}:
		setenv	DOMAIN	${Z_VCFE_DOM}
		breaksw
	case dell.${Z_NO_DOM}:
	case lapa.${Z_NO_DOM}:
	case lapd.${Z_NO_DOM}:
	case laph.${Z_NO_DOM}:
	case lapl.${Z_NO_DOM}:
	case lapn.${Z_NO_DOM}:
	case lapo.${Z_NO_DOM}:
	case lapr.${Z_NO_DOM}:
	case laps.${Z_NO_DOM}:
		setenv	DOMAIN	${Z_NO_DOM}
		breaksw
	case dell.${Z_XX_DOM}:
	case lapa.${Z_XX_DOM}:
	case lapd.${Z_XX_DOM}:
	case laph.${Z_XX_DOM}:
	case lapl.${Z_XX_DOM}:
	case lapn.${Z_XX_DOM}:
	case lapo.${Z_XX_DOM}:
	case lapr.${Z_XX_DOM}:
	case laps.${Z_XX_DOM}:
		setenv	DOMAIN	${Z_XX_DOM}
		breaksw
	default:
		setenv	DOMAIN	unset
		breaksw
	endsw
if ($?Z_GATE_HOST) then
	setenv	FTPSERVER ${Z_GATE_HOST}
	setenv	FTP_PROXY	ftp://gate
	setenv	ftp_proxy	ftp://${Z_GATE_HOST}:21
	setenv	ftp_proxy	http://${Z_GATE_HOST}:80
	setenv	HTTP_PROXY	http://${Z_GATE_HOST}:80
	setenv	http_proxy	http://${Z_GATE_HOST}:80
	setenv	https_proxy	http://${Z_GATE_HOST}:80
	setenv	FTP_PASSWORD	`whoami`@${MAIL_HOST}
	setenv	all_proxy	http://${Z_GATE_HOST}
	setenv	NO_PROXY localhost,$DOMAIN
	else
		unsetenv	FTP_PASSIVE_MODE
	endif
setenv	GZIP		"--fast"
setenv	SHELL		/bin/csh
setenv	PAGE		A4
setenv	PAPERSIZE	a4
setenv	A4		A4
setenv	WITH_A4SIZE	yes
umask 022
set	Z_MY_HOME		= ~
set	Z_MY_BIN	= $Z_MY_HOME/bin
set Z_UNAME_R=`uname -r`
setenv	GZIP "--best"
switch ($Z_HOST_TYPE)
	case FreeBSD:
		limit coredumpsize 0
		setenv	TZ	GMT
		set D_D = ""
		set D_D =      "arabic"
		set D_D = "$D_D biology"
		set D_D = "$D_D chinese"
		set D_D = "$D_D french"
		set D_D = "$D_D games"
		set D_D = "$D_D hebrew"
		set D_D = "$D_D hungarian"
		set D_D = "$D_D japanese"
		set D_D = "$D_D korean"
		set D_D = "$D_D polish"
		set D_D = "$D_D portuguese"
		set D_D = "$D_D russian"
		set D_D = "$D_D ukrainian"
		set D_D = "$D_D vietnamese"
		switch ($Z_UNAME_R)
			case 8.4-RELEASE:
				set D_D = "$D_D digikam"
				set D_D = "$D_D k3b"
				set D_D = "$D_D kdeaddons3"
				set D_D = "$D_D pdfgrep"
				breaksw
			case 9.1-RELEASE:
				set D_D = "$D_D digikam"
				set D_D = "$D_D k3b"
				set D_D = "$D_D k9copy"
				set D_D = "$D_D kdeaddons3"
				set D_D = "$D_D kdirstat"
				set D_D = "$D_D texinfo"
				breaksw
			case 9.2-RELEASE:
				set D_D = "$D_D ezjail"
				set D_D = "$D_D gammu"
				set D_D = "$D_D laternamagica"
				set D_D = "$D_D luxrays"
				set D_D = "$D_D mp3towav-bundle"
				set D_D = "$D_D texinfo"
				set D_D = "$D_D xvile"
				breaksw
			case 9.2-STABLE:
				set D_D = "$D_D acroread9"
				set D_D = "$D_D cups"
				set D_D = "$D_D demime"
				set D_D = "$D_D flwm"
				set D_D = "$D_D hplip"
				set D_D = "$D_D ispell"
				set D_D = "$D_D midori"
				set D_D = "$D_D w3m"
				set D_D = "$D_D xpi-adblock"
				set D_D = "$D_D xpi-adblock_plus"
				set D_D = "$D_D xpi-flashblock"
				set D_D = "$D_D mtr"
				breaksw
			case 9.3-RELEASE:
				set D_D = "$D_D acroread9"
				set D_D = "$D_D cups"
				set D_D = "$D_D demime"
				set D_D = "$D_D flwm"
				set D_D = "$D_D hplip"
				set D_D = "$D_D ispell"
				set D_D = "$D_D midori"
				set D_D = "$D_D w3m"
				set D_D = "$D_D xpi-adblock"
				set D_D = "$D_D xpi-adblock_plus"
				set D_D = "$D_D xpi-flashblock"
				breaksw
			case 10.0-RELEASE:
				set D_D = "$D_D chromium"
				set D_D = "$D_D demime"
				set D_D = "$D_D dvdrip"
				set D_D = "$D_D emil"
				set D_D = "$D_D estic"
				set D_D = "$D_D evince"
				set D_D = "$D_D ezjail"
				set D_D = "$D_D firefox"
				set D_D = "$D_D freebsd-doc-de"
				set D_D = "$D_D freebsd-doc-en"
				set D_D = "$D_D ftpproxy"
				set D_D = "$D_D git"
				set D_D = "$D_D gnash"
				set D_D = "$D_D gpsdrive"
				set D_D = "$D_D gtkam"
				set D_D = "$D_D hplip"
				set D_D = "$D_D ispell"
				set D_D = "$D_D kdirstat"
				set D_D = "$D_D laternamagica"
				set D_D = "$D_D libreoffice"
				set D_D = "$D_D linkcheck"
				set D_D = "$D_D lxdvdrip"
				set D_D = "$D_D nvi-devel"
				set D_D = "$D_D ogmrip"
				set D_D = "$D_D open-vm-tools-nox11"
				set D_D = "$D_D seamonkey"
				set D_D = "$D_D texinfo"
				set D_D = "$D_D transcode"
				set D_D = "$D_D w3m"
				set D_D = "$D_D xine"
				set D_D = "$D_D xmms-wma"
				set D_D = "$D_D xpaint"
				set D_D = "$D_D xsane"
				set D_D = "$D_D youtube_dl"
				breaksw
			case 10.1-RELEASE:
	set D_D = "$D_D ogmrip"
	set D_D = "$D_D BROKEN:"
	set D_D = "$D_D acroread9"
	set D_D = "$D_D calc"
	set D_D = "$D_D calc_install_fails_ok_on_current"
	set D_D = "$D_D chromium"
	set D_D = "$D_D chromium_lacks_sem_open"
	set D_D = "$D_D claws-mail"
	set D_D = "$D_D claws-mail_texlive-base_fails"
	set D_D = "$D_D cups"
	set D_D = "$D_D cups_cups-base_fails"
	set D_D = "$D_D demime"
	set D_D = "$D_D demime_jhs_to_resusitate"
	set D_D = "$D_D estic"
	set D_D = "$D_D etherape"
	set D_D = "$D_D etherape_glib.h"
	set D_D = "$D_D gnash"
	set D_D = "$D_D hplip"
	set D_D = "$D_D libreoffice"
	set D_D = "$D_D libreoffice_texlive-base_fails"
	set D_D = "$D_D magicpoint"
	set D_D = "$D_D majordomo"
	set D_D = "$D_D majordomo_TRYBROKEN=YES_install_fails"
	set D_D = "$D_D translate"
	set D_D = "$D_D xorg"
	set D_D = "$D_D xorg-drivers"
	set D_D = "$D_D xf86-video-intel"
	set D_D = "$D_D libdrm"
	set D_D = "$D_D NON-EXISTANT:"
	set D_D = "$D_D arena"
	set D_D = "$D_D ashe"
	set D_D = "$D_D cheapcall"
	set D_D = "$D_D cheetah"
	set D_D = "$D_D digikam"
	set D_D = "$D_D doc"
	set D_D = "$D_D dvdbackup"
	set D_D = "$D_D galeon"
	set D_D = "$D_D galeon2"
	set D_D = "$D_D getbdf"
	set D_D = "$D_D gtkportscan"
	set D_D = "$D_D hpoj"
	set D_D = "$D_D jailutils"
	set D_D = "$D_D k3b"
	set D_D = "$D_D kdeaddons3"
	set D_D = "$D_D libdvdcss"
	set D_D = "$D_D libdvdread"
	set D_D = "$D_D linux-beonex"
	set D_D = "$D_D manpages"
	set D_D = "$D_D mbmon"
	set D_D = "$D_D mkisofs"
	set D_D = "$D_D mkmf"
	set D_D = "$D_D mp3towav-bundle"
	set D_D = "$D_D ogle"
	set D_D = "$D_D openoffice-3-devel"
	set D_D = "$D_D portaudit"
	set D_D = "$D_D portbrowser"
	set D_D = "$D_D portscanner"
	set D_D = "$D_D portupgrade"
	set D_D = "$D_D proxy"
	set D_D = "$D_D psearch"
	set D_D = "$D_D psutils-a4"
	set D_D = "$D_D py-bittorrent"
	set D_D = "$D_D samba"
	set D_D = "$D_D screen"
	set D_D = "$D_D sftp"
	set D_D = "$D_D showrgb"
	set D_D = "$D_D stdcmap"
	set D_D = "$D_D teTeX-base"
	set D_D = "$D_D texcm-ttf"
	set D_D = "$D_D tk82"
	set D_D = "$D_D vilearn"
	set D_D = "$D_D wifimgr"
	set D_D = "$D_D wu-ftpd"
	set D_D = "$D_D xclock"
	set D_D = "$D_D xf86-video-kbd"
	set D_D = "$D_D xf86-video-mouse"
	set D_D = "$D_D xf86-video-vga"
	set D_D = "$D_D xfed"
	set D_D = "$D_D xfm"
	set D_D = "$D_D xmleditor"
	set D_D = "$D_D xmms-wma"
	set D_D = "$D_D xvid4conf"
				breaksw
			case 10.2-RELEASE:
	set D_D = "$D_D acroread9"
	set D_D = "$D_D acroreadwrapper"
	set D_D = "$D_D demime"
	set D_D = "$D_D emil"
	set D_D = "$D_D majordomo"
				breaksw
			case 10.3-RELEASE:
	set D_D = "$D_D astro"
	set D_D = "$D_D demime"
	set D_D = "$D_D dlint"
	set D_D = "$D_D majordomo"
				breaksw
			case 10.3-STABLE:
	set D_D = "$D_D demime"
	set D_D = "$D_D majordomo"
				breaksw
			case 13.0-CURRENT:
	set D_D = "$D_D demime"
	set D_D = "$D_D majordomo"
	set D_D = "$D_D acroreadwrapper"
	set D_D = "$D_D acroread9"
	set D_D = "$D_D chimera"
	set D_D = "$D_D dosbox"
	set D_D = "$D_D emil"
	set D_D = "$D_D firefox"
	set D_D = "$D_D freerdp"
	set D_D = "$D_D gimp-app"
	set D_D = "$D_D gv"
	set D_D = "$D_D libcue"
	set D_D = "$D_D mp3splt-gtk"
	set D_D = "$D_D noweb"
	set D_D = "$D_D nut"
	set D_D = "$D_D opera"
	set D_D = "$D_D ripit"
	set D_D = "$D_D vlc"
	set D_D = "$D_D xorg"
	set D_D = "$D_D xsane"
				breaksw
			endsw
		setenv	DUDS "$D_D"
		setenv	FORCE_PACKAGE "Ignore copyright advisory about exporting binaries to others."
		setenv	FORCE_PKG_REGISTER YES
		setenv	PACKAGEROOT "ftp://ftp"
		setenv	MANPATH '/usr/share/man:/usr/man:/usr/local/man:'
		setenv	OPENWINHOME	/usr/local
		set XYZJHS  = ""
		set XYZNINE = ""
		switch ($Z_UNAME_R)
			case 12.2-STABLE:
				set XYZNINE = ":/9-RELEASE/usr/local/bin"
				breaksw
			case 12.3-STABLE:
				set XYZNINE = ":/9-RELEASE/usr/local/bin"
				breaksw
			case 12.4-RELEASE:
				set XYZNINE = ":/9-RELEASE/usr/local/bin"
				breaksw
			case 12.4-STABLE:
				set XYZNINE = ":/9-RELEASE/usr/local/bin"
				breaksw
			case 13.2-RELEASE:
				set XYZNINE = ":/9-RELEASE/usr/local/bin"
				breaksw
		endsw
		switch ( $DOMAIN )
			case ${Z_HOLZ_DOM}:
				set XYZJHS = ":$Z_MY_BIN/.other:$Z_MY_BIN/.csh:$Z_MY_BIN/.sh"
				switch ($Z_HOST_SHORT)
					case mart.$DOMAIN:
					case park.$DOMAIN:
						set XYZGATE = ":/site/domain/js.berklix.net/etc/gate:/etc/isdn"
						breaksw
					default:
						set XYZGATE = ""
						breaksw
					endsw
				setenv	PATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin${XYZNINE}:/site/usr/local/bin${XYZJHS}${XYZGATE}
					unset XYZGATE
				breaksw
			case ${Z_NO_DOM}:
				set XYZJHS = ":$Z_MY_BIN/.other:$Z_MY_BIN/.csh:$Z_MY_BIN/.sh"
				setenv	PATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin${XYZNINE}${XYZJHS}
				breaksw
			case ${Z_XX_DOM}:
				set XYZJHS = ":$Z_MY_BIN/.other:$Z_MY_BIN/.csh:$Z_MY_BIN/.sh"
				setenv	PATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
				breaksw
			case ${Z_BERKLIX_ORG}:
				set XYZJHS = ":/usr/local/mailman/bin:$Z_MY_BIN/.other:$Z_MY_BIN/.csh:$Z_MY_BIN/.sh"
				setenv	PATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/site/usr/local/bin${XYZJHS}
			default:
				breaksw
			endsw
		unset XYZJHS
		unset XYZNINE
		setenv	TZ	Europe/Berlin
		setenv	USA_RESIDENT	NO
		setenv	WITH_JADETEX NO
		setenv	DISABLE_VULNERABILITIES YES
		breaksw
	setenv TESSDATA_PREFIX /usr/local/share/tessdata
	case OpenBSD:
		setenv	BSDSRCDIR	`cd /usr/src;pwd`
		setenv	PATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:\
/usr/local/sbin:/usr/local/bin:\
$Z_MY_HOME/bin/.${Z_HOST_TYPE}:$Z_MY_HOME/bin/.csh:$Z_MY_HOME/bin/.sh:\
$Z_MY_HOME/bin/.bash:$Z_MY_HOME/bin/.perl:$Z_MY_HOME/bin/.other
		breaksw
	case NetBSD:
		setenv	CFLAGS	"-static -DJULIAN_STACEY -O -I./"
		setenv	LDFLAGS "-static"
		setenv	LINES	56
		setenv	MACHINE pc532
		setenv	MACHINE_ARCH	ns32k
		unsetenv	DESTDIR
		setenv	PATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/gnu/bin:\
/usr/local/bin:$Z_MY_BIN
		setenv	PKG_PATH ftp://ftp.de.netbsd.org/pub/NetBSD/packages/`uname -r`/`uname -m`/All
		breaksw
	case Symmetrix:
		unsetenv	CDPATH
		setenv	GZIP "--best"
		set path=( /sbin /usr/ucb /usr/gnu/bin /bin /usr/bin \
			/usr/local /usr/nsc /usr/bin/misc /usr/vsl/bin ~/bin )
		set	cdpath=(/sys \
			/usr/src/{etc,bin,usr.bin,ucb,lib,usr.lib,lib/c,})
		breaksw
	case HP-UX:
		setenv	MANPATH /usr/share/man:/usr/man:/usr/local/man:\
/opt/CC/share/man:`cd ~mayer;pwd`/man
		breaksw
	case ULTRIX:
		setenv	PATH	/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:\
/usr/local/sbin:/usr/local/bin:\
$Z_MY_HOME/bin/.${Z_HOST_TYPE}:$Z_MY_HOME/bin/.csh:$Z_MY_HOME/bin/.sh:\
$Z_MY_HOME/bin/.bash:$Z_MY_HOME/bin/.perl:$Z_MY_HOME/bin/.other
		setenv	PATH	$PATH:/usr/bin/X11
		breaksw
	case SunOS:
		setenv	PATH /usr/ucb:/bin:/usr/bin:/usr/local/bin
		breaksw
	case SCO_SV:
	default:
		breaksw
	endsw
switch ($DOMAIN)
	case ${Z_HOLZ_DOM}:
		setenv	GS_LIB /usr/local/lib/ghostscript/fonts
		unsetenv	MAKE_X_MIT
		setenv	MANSEC 1:2:3:4:5:6:7:8:l:n
		setenv	SM_SAVE_DIR	~/private/xsm
		breaksw
	case ${Z_NO_DOM}:
	case ${Z_VCFE_DOM}:
	case ${Z_BERKLIX_ORG}:
		breaksw
	default:
		breaksw
	endsw
if ($?Z_GATE_HOST) then
	setenv	WWW_HOME http://${Z_GATE_HOST}
	endif
setenv		PKG_TMPDIR /usr/tmp
switch ($Z_HOST_SHORT)
	case snow.${Z_HOLZ_DOM}:
		breaksw
	case sony.${Z_HOLZ_DOM}:
		breaksw
	case park.${Z_HOLZ_DOM}:
		alias xcdplayer "/usr/local/bin/xcdplayer -device /dev/racd0"
		breaksw
	case film.${Z_HOLZ_DOM}:
		alias xcdplayer "/usr/local/bin/xcdplayer -device /dev/acd0"
		setenv	CDR_DEVICE 1,1,0
		breaksw
	case fire.${Z_HOLZ_DOM}:
		setenv	CDR_SPEED 10
			setenv	CDDA_DEVICE	3,0,0
			setenv	CDR_DEVICE	3,1,0
		breaksw
	case blak.${Z_HOLZ_DOM}:
			setenv	CDDA_DEVICE	0,0,0
			setenv	CDR_DEVICE	0,1,0
		breaksw
	case rain.${Z_HOLZ_DOM}:
		setenv	CDDA_DEVICE 6,0
		setenv	CDR_DEVICE 6,0
		setenv	CDR_SPEED 2
		setenv	CDR_FIFOSIZE 8m
		breaksw
	case wind.${Z_HOLZ_DOM}:
		setenv	CDDA_DEVICE 2,0
		unsetenv	HAVE_MOTIF
		unsetenv	KDEDIR
		breaksw
	case john.${Z_HOLZ_DOM}:
		breaksw
	case king.${Z_HOLZ_DOM}:
		setenv	CDDA_DEVICE 4,0
		setenv	CDR_DEVICE 3,0
		setenv	CDR_SPEED 2
		setenv	CDR_FIFOSIZE 8m
		unsetenv	HAVE_MOTIF
		unsetenv	KDEDIR
		breaksw
	case dell.${Z_DHCP_DOM}:
	case lapa.${Z_DHCP_DOM}:
	case lapd.${Z_DHCP_DOM}:
	case laph.${Z_DHCP_DOM}:
	case lapl.${Z_DHCP_DOM}:
	case lapn.${Z_DHCP_DOM}:
	case lapo.${Z_DHCP_DOM}:
	case lapr.${Z_DHCP_DOM}:
		setenv	NO_CHECKSUM
		breaksw
	case laps.${Z_DHCP_DOM}:
	case laps.${Z_HOLZ_DOM}:
	case laps.${Z_NO_DOM}:
		setenv	CDR_DEVICE	0,0,0
		setenv	CDR_DEVICE	2,0,0
		setenv	CDDA_DEVICE	2,0,0
		breaksw
	case freefall.${Z_FREEBSD_DOM}:
	case hub.${Z_FREEBSD_DOM}:
		breaksw
	default:
		breaksw
	endsw
if ($?prompt == 0) goto unset_label
setenv	MAILCHECK	10
setenv	EDITOR		vi
setenv	TERMPATH	/etc/termcap:/usr/share/misc/termcap
set Z_WHOAMI = `who am i | awk '{ print $1 }' | sed -e 's/\\!/ /' | sed -e "s/$Z_HOST_SHORT/ /" | awk '{ print $1 }'`
set autolist yes
set	history	= 100
alias	a		'alias | more'
alias	batt		"sysctl hw.acpi.battery.time hw.acpi.battery.life"
alias	c		'cls;cd;jobs'
alias	ci		"echo probably a typo for vi"
alias	cdr	'cd "`/bin/pwd`"'
alias	coax		'cd /site/domain/this/etc/namedb/master;vi *.fwd'
alias	df		'df -H -t ufs,zfs,msdosfs'
alias	fmt		"/usr/bin/fmt 70 75"
alias	fx		"firefox-clean"
alias	h		"history | tail -20"
alias	heat		"sysctl -a | grep temp | grep '[0-9][0-9]' | grep -v tjmax | sort"
alias	ispell		"/usr/local/bin/ispell -x"
alias	isdn		"/etc/isdn/isdn"
alias	j		jobs -l
alias	k		ksmp3play
alias	l		"ls -alG"
alias	ll		ls -lg
alias	ls		"ls -F"
alias	mf		"mformat -t 80 -h 2 -s 18 a:"
alias	n		"cd ~/txt/notes ; make notes.vhtml"
alias	p		"ps -laxwwh"
alias	pd		pushd
alias	pe		"printenv | sort | more"
alias	po		popd
alias	rd		rmdir
alias	rewind		'(cd /dev ; dd if=tape of=null count=1 ; dd if=tape of=null count=1 )'
alias	skip		"dd if=/dev/ntape of=/dev/null"
alias	sl		'ls | rev | sort | rev | more'
alias	spell		"spell -b"
alias	tac		"tail -r"
if ($Z_HOST_TYPE != Symmetrix) then
  alias telnet		"echo Use ssh when possible.; /usr/bin/telnet $*"
endif
alias	xv		"/usr/local/bin/xv -24 -best24 -noqcheck -fixed"
alias	names		"vi ~/txt/contacts/firms.phone"
alias	people		"vi ~/txt/contacts/people.phone"
alias	urls		"vi ~/txt/text/urls"
set	filec
setenv	BLOCKSIZE	K
if ( X.$Z_HOST_TYPE == X.SCO_SV) then
	stty -a > /dev/null
	endif
stty	eof '^d' erase '^h' intr '^c' kill '^u' susp '^z'
set prompt="%B $Z_UNAME_R `tty | sed -e s/\\/dev\\/tty//` $Z_WHOAMI ! %m%~ %b"
switch ($Z_HOST_TYPE)
	case FreeBSD:
		set prompt="%B$Z_UNAME_R `tty | sed -e s/\\/dev\\/tty//` $Z_WHOAMI ! %m%~ %b"
		alias xlock "xlock -mode mountain"
		breaksw
	case Symmetrix:
		set prompt="$Z_WHOAMI@$Z_HOST_SHORT csh `tty | sed -e s/\\/dev\\///` ! % "
		alias	date	'date -u'
		alias	df	/bin/df -i
		breaksw
	case OpenBSD:
		alias	eject		"/bin/eject /dev/rfd0c"
		alias	swapinfo	"pstat -s"
		breaksw
	case NetBSD:
		alias	5	echo You are already on $Z_HOST_SHORT
		alias	b	kermit -l /dev/tty06 -b 9600 -c
		alias	s	kermit -l /dev/tty05 -b 9600 -c
		setenv	DOC	dummy_to_stop_make_clean_of_share_doc_aborting
		setenv	TERM vt_100_l56
		setenv	TERMCAP "vt_100_l56:bl=^G:cr=^M:it#8:do=^J:co#80:li#56:cl=50\E[;H\E[2J:sf=2*\ED:le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:cb=3\E[1K:ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:is=\E[1;24r\E[24;1H:if=/usr/share/tabset/vt100:rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:ks=\E[?1h\E=:ke=\E[?1l\E>:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn:sc=\E7:rc=\E8:cs=\E[%i%d;%dr:"
		setenv	TERMCAPbracketsmatch	"]]]]]]]]]]]]]]]]]]]]]]]]]]]"
		unsetenv	TERMCAPbracketsmatch
		setenv	TTY_SETS	`stty -g`
		breaksw
	case SCO_SV:
		alias resize '/usr/bin/X11/resize|egrep \'(LINES|COLUMNS)\' >! ~/.resize; source ~/.resize; rm ~/.resize'
		alias rsh rcmd
		breaksw
	default:
		echo "/etc/csh.cshrc 2nd switch: no action for $Z_HOST_SHORT"
		breaksw
	endsw
switch ($DOMAIN)
	case ${Z_HOLZ_DOM}:
		setenv	ARCHIE_HOST	archie.th-darmstadt.de
		setenv	ADOBE_LANG	ENU
		breaksw
	case ${Z_FREEBSD_DOM}:
		breaksw
	default:
		breaksw
	endsw
unset_label:
unset \
	D_D \
	Z_MAIL_RECEIVE_DOM \
	Z_BERKLIX_ORG \
	Z_DHCP_DOM \
	Z_PLIP_EP \
	Z_FREEBSD_DOM \
	Z_GATE_HOST \
	Z_HOLZ_DOM \
	Z_HOLZ_GATE \
	Z_HOLZ_PLIP_DOM \
	Z_HOST_SHORT \
	Z_HOST_TYPE \
	Z_MC_PUB_DOM \
	Z_MY_BIN \
	Z_MY_HOME \
	Z_NO_DOM \
	Z_UNAME_R \
	Z_VCFE_DOM \
	Z_WHOAMI \
	Z_XX_DOM
