# /site/etc/csh.cshrc.master # /etc/csh.cshrc & .cshrc by Julian H. Stacey # :set ts=2 # http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/src/jhs/etc/csh.cshrc.master # Only edit /site/etc/csh.cshrc.master # ( Which gets installed to # /home/jhs/public_html/src/bsd/fixes/freebsd/src/jhs/etc/ # csh.cshrc.master # by # cd /site/etc ; make ; make install # & beyond by # cd ~jhs/public_html ; make int2remo # cd /site ; xs make rdist6 2lapr 2fire int2remo # ) #{ # Re-read with `source ~/.cshrc` # .cshrc is read by scs bsd4.2 csh before .login. # freebsd /etc/csh.cshrc runs before /etc/csh.login # Anything that is just an internal variable to unset later gets named Z_* set Z_HOST_SHORT = `uname -n` # uname -n returns eg: eg dell.no.berklix.net # so it is Not a short name. # `hostname -s` could not be used as host zombie at pcs & host hobel at uni # decades back did not allow any parameter to hostname. # FreeBSD supports, but I do not currently use, YP/NIS domainname. set Z_BERKLIX_ORG = berklix.org set Z_PLIP_EP = film # # gets reset to film-plip for lapl 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 = js.berklix.net # doesnt resolve yet. one day 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 HISTORICAL_MAKE_WORLD yes # # For FreeBSD-5.3-RELEASE # # at 12.2: only in src/Makefile, only affects label world: # # at 12.2: I commented out. setenv MAIL_HOST `hostname` setenv NO_DIALOG YES # For ports/Mk/bsd.port.mk # As I do many builds that hang on dialogs, & I virtually never want it; # JJLATER a better alternative could be to append "--timeout 10" # # default # # MAIL_HOST is what your local proxy will declare you # # to be to remote ftpd sites # When I am obscured behind a firewall, I set this to the public hostname # of my mail server at that site (not the internal name of the ftp proxy). # REMOTEHOST is automatically set by /usr/src/contrib/tcsh/ # to show where I am coming from as a text name. # If named fails, it does not get set, not even as a numeric. 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} # # MAIL_HOST is what local proxy declares to remote ftpd sites. 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 # # disable tcsh terminal beep breaksw # #} case lapp.${Z_HOLZ_DOM}: case lapp.${Z_HOLZ_PLIP_DOM}: # #{ setenv DOMAIN ${Z_HOLZ_DOM} setenv MAIL_HOST ${Z_MAIL_RECEIVE_DOM} # # MAIL_HOST is what your local proxy will declare you # # to be to remote ftpd sites 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 MAIL_HOST ${Z_MAIL_RECEIVE_DOM} setenv DOMAIN ${Z_BERKLIX_ORG} setenv WWWHOST www.berklix.org # # WWWHOST needed to over ride FreeBSD-4.7 # # /usr/ports/mail/mailman/work/mailman-2.0.12/ # # Mailman/Defaults.py # # DEFAULT_URL = 'http://list.berklix.org/mailman/' # # If WWWHOST is not set, mailman configure uses MAILHOST. 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 # # else switch statement below errors with # # "DOMAIN: Undefined variable" # # when logging in after booted off my rescue stick breaksw # #} endsw # #} # 05.06.2000 commented out set Z_HOST_SHORT = `basename ${Z_HOST_SHORT} .$DOMAIN` # Proxies. These are used both by interactive web browsers & non interactive # ftp/fetch scripts. # From: Jeremy Chadwick # Date: Wed, 24 Nov 2010 03:37:45 -0800 (12:37 CET) # To: "Julian H. Stacey" , freebsd-stable@freebsd.org # There is absolutely nothing that requires or guarantees a piece of # software will import or make use of *_proxy environment variables. The # software has to explicitly state it honours and respects these, and # provide documentation stating what it expects the syntax to be. # The only two pieces of software I have encountered which honours these is # perl LWP::UserAgent (and friends), and curl. # man 3 fetch: # FTP_PROXY URL of the proxy to use for FTP requests. The document # part is ignored. FTP and HTTP proxies are supported; # if no scheme is specified, FTP is assumed. If the # proxy is an FTP proxy, libfetch will send user@host # as user name to the proxy, where user is the real us- # er name, and host is the name of the FTP server. # If this variable is set to an empty string, no proxy # will be used for FTP requests, even if the HTTP_PROXY # variable is set. # ftp_proxy Same as FTP_PROXY, for compatibility. # man 3 fetch: # HTTP_PROXY URL of the proxy to use for HTTP requests. The docu- # ment part is ignored. Only HTTP proxies are supported # for HTTP requests. If no port number is specified, the # default is 3128. # Note that this proxy will also be used for FTP docu- # ments, unless the FTP_PROXY variable is set. # man 3 fetch: # HTTP_AUTH Specifies HTTP authorization parameters as a colon-sep- # arated list of items. The first and second item are # the authorization scheme and realm respectively; fur- # ther items are scheme-dependent. Currently, only basic # authorization is supported. # Basic authorization requires two parameters: the user # name and password, in that order. # This variable is only used if the server requires au- # thorization and no user name or password was specified # in the URL. # man 3 fetch: # HTTP_PROXY_AUTH Specifies authorization parameters for the HTTP proxy # in the same format as the HTTP_AUTH variable. # This variable is used if and only if connected to an # HTTP proxy, and is ignored if a user and/or a password # were specified in the proxy URL. # fortune: # In order to make fetch ask for username/password # when it encounter a password-protected web page, # you can set the environment variable HTTP_AUTH # to 'basic:*'. # man ftp: # FTP_PASSIVE_MODE If this variable is set to something else than NO, # ftp will use passive mode by default. # Prompt from fortune on a 6.1 system: # Having trouble using fetch through a firewall? Try setting # the environment variable FTP_PASSIVE_MODE to yes, and see # fetch(3) for more details. # 6.1 generic/src/login.conf has FTP_PASSIVE_MODE=YES # unsetenv FTP_PASSIVE_MODE # unsetenv commented out 2006.08.31 # # FTP_PASSIVE_MODE comes from login.conf # # the unsetenv is needed to avoid "dir" failing # # FTP_PASSIVE_MODE is helpful on wind with # # ncftp -N ftp://gate/pub/ls-lR.gz # # as it hangs on data transfer, whereas without # # FTP_PASSIVE_MODE it hangs earlier, saying # # "Receiving file: /pub/ls-lR.gz" # FTP_PROXY over rides ftp_proxy when used by ports # make, so I assert ftp_proxy & leave FTP_PROXY # unset ready to over ride manually if I want. # On host=fire, /var/log/xferlog I have seen attempted access from my gate # (ehn the gate was itself called from within a chroot on fire) ... # ftpd[82018]: ANONYMOUS FTP LOGIN FROM mart, apache_proxy@ # fire ftpd[82027]: connection from mart (192.168.91.48) # these attempts stopped after "unsetenv http_proxy" # man ftp: # ftp_proxy URL of FTP proxy to use when making FTP URL requests # (if not defined, use the standard ftp protocol). # # setenv ftp_proxy ftp://${Z_GATE_HOST} # # if proxy ftpd is refusing with "Login incorrect" # # just comment out ftp_proxy, & let apache work instead # # remember: standard bsd ftpd does not support proxy working ! # man ftp: # http_proxy URL of HTTP proxy to use when making HTTP URL requests # # Chimera: # # all_proxy is default proxy host for all protocols # # setenv all_proxy http://${Z_GATE_HOST} # # setenv http_proxy http://${Z_GATE_HOST} # # setenv http_proxy http://localhost:8080/ # # setenv http_proxy http://gw.muc.ditec.de:8080/ # # setenv ftp_proxy http://${Z_GATE_HOST} # # gopher_proxy http://${Z_GATE_HOST} # # wais_proxy http://${Z_GATE_HOST} # # setenv no_proxy localhost,${Z_HOLZ_DOM} # # no_proxy comma separated list of domains # # that should not be proxied. # # /usr/local/lib/chimera/Chimera: # # .httpProxy: http://www.somewhere.org:8000/ # # .gopherProxy: http://www.somewhere.org:8000/ # # .ftpProxy: http://www.somewhere.org:8000/ # # FTP proxying may be needed to pass a firewall, # # but FTP should almost _never_ # # go through a proxy _cache_ -- cached FTP # # proxying tends to _increase_ network # # load, as well as eating tremendous amounts of # # disk space on the proxy # # .waisProxy: http://www.somewhere.org:8000/ # # .newsProxy: http://www.somewhere.org:8000/ # # .nntpProxy: http://www.somewhere.org:8000/ # # .email: # # .urnProxy: http://www.somewhere.org:8000/ # # .noProxy: my.own.domain,another.domain # # .allProxy: http://www.somewhere.org:8000/ # # strings /usr/local/bin/chimera | grep -i prox | sort | uniq # # _http_proxy allProxy all_proxy ftpProxy ftp_proxy # # gopherProxy gopher_proxy httpProxy http_proxy # # newsProxy news_proxy nntpProxy nntp_proxy noProxy # # no_proxy urnProxy urn_proxy waisProxy wais_proxy # # ftp has a proxy command (no params) # # after invoking it, packets from my internal address # # are then caught trying to go to internet port=ftp, ie # # ipfw: 7900 Deny TCP main:1957 # # freebsd.org:21 in via ed0 # # man ncftp: # # somewhat compatible with the stock ftp program .netrc # # gateway-login & gateway-host # # man ftp: proxy ftp-command # # Execute an ftp command on a secondary control connection # # Lynx: does not use all_proxy, does use http_proxy & ftp_proxy, # # & also /etc/local/lynx.cfg Env vars take precedence. # # Arena: # # ? # # Mosaic 2.7b5: /usr/local/lib/mosaic/proxy see # # http://www.ncsa.uiuc.edu/SDG/Software/XMosaic/\ # # help-proxylist.html # # I do not know of anything that uses NO_PROXY & ALL_PROXY # # but I am adding them for completeness. # # man ftp: # # ftp_proxy URL of FTP proxy to use when making # # FTP URL requests (if not defined, use # # the standard ftp protocol). # # http_proxy URL of HTTP proxy to use when making # # HTTP URL requests. # # 7.1-RELEASE/src/lib/libfetch has no_proxy, 6.4 has, 6.1 has not. if ($?Z_GATE_HOST) then # #{{ If Z_GATE_HOST is set, we are a client of that gate. # echo "Setting proxies" setenv FTPSERVER ${Z_GATE_HOST} # man ftp: FTPSERVER Host to use as gate-ftp server when gate is enabled. # man 3 fetch: does Not specify FTPSERVER # man ftp: # FTPSERVERPORT # man ftp: FTPSERVERPORT # Port to use when connecting to gate-ftp server when # gate is enabled. Default is port returned by a # getservbyname() lookup of ftpgate/tcp. setenv FTP_PROXY ftp://gate setenv ftp_proxy ftp://${Z_GATE_HOST}:21 # ftp://gate ok with ports/ftp/ftpproxy # 11.0-CURRENT man 3 fetch: # ftp_proxy Same as FTP_PROXY, for compatibility. setenv ftp_proxy http://${Z_GATE_HOST}:80 # linkchecker complained before: # Result Error: LinkCheckerError: Proxy # value `ftp://gate.js.berklix.net:21' must # start with 'http:' or 'https:'. setenv HTTP_PROXY http://${Z_GATE_HOST}:80 setenv http_proxy http://${Z_GATE_HOST}:80 # 11.0-CURRENT man 3 fetch: # http_proxy Same as HTTP_PROXY, for compatibility. setenv https_proxy http://${Z_GATE_HOST}:80 # https_proxy man linkchecker setenv FTP_PASSWORD `whoami`@${MAIL_HOST} # setenv FTP_LOGIN ftp # # overide `fetch` default of anonymous # # FTP_LOGIN not needed by ports/ftp/ftpproxy setenv all_proxy http://${Z_GATE_HOST} # setenv ALL_PROXY http://${Z_GATE_HOST} # all_proxy & ALL_PROXY are not in 11.0-CURRENT man 3 fetch setenv NO_PROXY localhost,$DOMAIN # setenv no_proxy localhost,$DOMAIN # 11.0-CURRENT man 3 fetch: no_proxy Same as NO_PROXY, for compatibility. else # #}{ We are a gate EG Park # # On Park, "fetch ftp://bsd.berklix.com/etc/ftpmotd" fails with # # "Permission denied" if FTP_PASSIVE_MODE is set, # # & works if unset. # # On Park, "ncftp ftp://bsd.berklix.com/etc/ftpmotd" works # # whether or not it has "setenv FTP_PASSIVE_MODE" # # On Wind, whether or not it has "setenv FTP_PASSIVE_MODE" # # "fetch ftp://bsd.berklix.com/etc/ftpmotd" fails with # # "README: Connection refused" # # and "ncftp ftp://bsd.berklix.com/etc/ftpmotd" fails with # # "bsd.berklix.com: gethostbyname herror (2): # # Host name lookup failure" unsetenv FTP_PASSIVE_MODE # ports/ftp/ftpproxy doesnt care about FTP_PASSIVE_MODE # when accesing internal hosts, But it only fetches # through the firewall when Not defined. endif # #}} #{ First set up stuff needed in common by both # non interactive & interactive sessions. # setenv noclobber # faxaddmodem complains: bash: # /tmp/addmodem8512: Cannot clobber existing file setenv GZIP "--fast" setenv SHELL /bin/csh #setenv LC_ALL "en_US.ISO8859-1" # # LC_ALL to support national characters for european languages # # in tools like less without creating other nationalisation aspects. #{============================================================================ # A4 for the world, except USA & maybe Canada. setenv PAGE A4 # PAGE is for Pre-FreeBSD-4.5: # /usr/src/gnu/usr.bin/groff/devps/Makefile # which creates # /usr/obj/src/gnu/usr.bin/groff/devps/DESC # which contains # paperlength 792000 or 841890 # which produces: # /usr/share/groff_font/devps/DESC # PAGE is for Pre-FreeBSD-4.5/ # /usr/src/contrib/groff/devps/Makefile.sub # PAGE is for (just my FreeBSD-4.5) # /usr/src/gnu/usr.bin/groff/Makefile.inc PAGE?=A4 # setenv PAPERSIZE A4 # for ports/print/a2ps setenv PAPERSIZE a4 # # for ports/ math/R-letter, # # print/a2ps-letter, a2ps43-letter, apsfilter, # # c2ps-letter, enscript-letter, lprps-letter setenv A4 A4 # # for generic-4.5/ports/print/ghostscript-gnu # # & generic-7.1-RELEASE/ports/print/ghostscript8# Which should but does not affect: # /usr/local/share/ghostscript/*/lib/gs_init.ps # if next line is left commented out it defaults to american letter # % /DEFAULTPAPERSIZE (a4) def # If gs is not compiled for A4, later uncomment /DEFAULTPAPERSIZE. setenv WITH_A4SIZE yes # # for 7.1-RELEASE/ports/print/ghostscript8 # ----------------------------------------------------------------------------- # ANALYSIS OF fORMATS # .ps Postscript # Starting from an A4 tiff, then make ps # gs -sDEVICE=bbox *.ps # %%BoundingBox: 0 0 578 843 # %%HiResBoundingBox: 0.000000 0.000000 577.807998 842.003974 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # PostScript units (72 to the inch): "page_height=792" appears in: # doc/en_US.ISO_8859-1/books/corp-net-guide/book.html # doc/en_US.ISO_8859-1/books/corp-net-guide/x661.html # doc/en_US.ISO_8859-1/books/handbook/book.html # doc/en_US.ISO_8859-1/books/handbook/printing-advanced.html # examples/printing/make-ps-header # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # examples/BSD_daemon/FreeBSD.pfa 79200 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # To change a postscript file created by this # groff -U -b -s -t -Tps -dumlauts=p file.rof > file.ps # which is in USA letter format, EG: # def/PL 792 def/LS ... # change it to A4 format: EG: # def/PL 841.89 def/LS ... # ----------------------------------------------------------------------------- # .pdf: depending on content of gs_init.ps, # Multiple occurences (1 per page I guess) of # letter.pdf: < x11-toolkits/gnustep-back > x11-toolkits/gnustep-gui > lang/gnustep-base > net/mDNSResponder install: /usr/local/etc/rc.d/mdns.sh: not found ; mDNSResponder is fixed on current set D_D = "$D_D digikam" # # graphics/libkipi x11/kdelibs3 set D_D = "$D_D k3b" # # ?/ needs x11/kdelibs3, conflicts with openssl-1.0.1_8 ; pkg_delete openssl-1.0.1_8 |& wc -l 190 set D_D = "$D_D kdeaddons3" # # ?/ needs x11/kdelibs3, conflicts with openssl-1.0.1_8 ; pkg_delete openssl-1.0.1_8 |& wc -l 190 set D_D = "$D_D pdfgrep" # # textproc/ compile error, OK on current # #} # #} breaksw case 9.1-RELEASE: # #{ set D_D = "$D_D digikam" # # graphics/ x11/kdelibs3 set D_D = "$D_D k3b" # # ?/ x11/kdelibs3 set D_D = "$D_D k9copy" # # multimedia/ x11/kdelibs3 set D_D = "$D_D kdeaddons3" # # ?/ x11/kdelibs3 set D_D = "$D_D kdirstat" # # sysutils/ x11/kdelibs3 set D_D = "$D_D texinfo" # # print/ fetch size mismatch # #} breaksw case 9.2-RELEASE: # #{ set D_D = "$D_D ezjail" # # sysutils/ Applying FreeBSD patches for ezjail-3.3 File to patch: set D_D = "$D_D gammu" # # comms/ cc problem set D_D = "$D_D laternamagica" # # graphics > gnustep-back > gnustep-gui > texinfo fetch fails. set D_D = "$D_D luxrays" # # graphics/ fetch fails and hangs the xterm set D_D = "$D_D mp3towav-bundle" # # audio/ marked broken set D_D = "$D_D texinfo" # # print/ fetch size mismatch set D_D = "$D_D xvile" # # editors/ needs iconv # #} breaksw case 9.2-STABLE: # #{ A duplicate of 9.3-RELEASE set D_D = "$D_D acroread9" # # print/ install silently hangs on ^D. set D_D = "$D_D cups" # # print/ cups-base install fails after rm db/ports set D_D = "$D_D demime" # # mail/ install fails I NEED TO FIX set D_D = "$D_D flwm" # # x11-wm/ config fails, there is no /var/db/ports/ entry set D_D = "$D_D hplip" # # print/ fails on print/cups-base set D_D = "$D_D ispell" # # textproc/ no directory set D_D = "$D_D midori" # # www/ no distfile, but current build ok http://lists.freebsd.org/pipermail/freebsd-xfce/2014-January/000858.html set D_D = "$D_D w3m" # # www/ undefined reference to GC_get_warn_proc set D_D = "$D_D xpi-adblock" # # www/ install fails, OK on current set D_D = "$D_D xpi-adblock_plus" # # www/ install fails, OK on current set D_D = "$D_D xpi-flashblock" # # www/ install fails, OK on current set D_D = "$D_D mtr" # # imported from land.berklix.org # #} breaksw case 9.3-RELEASE: # #{ set D_D = "$D_D acroread9" # # print/ install silently hangs on ^D. set D_D = "$D_D cups" # # print/ cups-base install fails after rm db/ports set D_D = "$D_D demime" # # mail/ install fails I NEED TO FIX set D_D = "$D_D flwm" # # x11-wm/ config fails, there is no /var/db/ports/ entry set D_D = "$D_D hplip" # # print/ fails on print/cups-base set D_D = "$D_D ispell" # # textproc/ no directory set D_D = "$D_D midori" # # www/ no distfile, but current build ok http://lists.freebsd.org/pipermail/freebsd-xfce/2014-January/000858.html set D_D = "$D_D w3m" # # www/ undefined reference to GC_get_warn_proc set D_D = "$D_D xpi-adblock" # # www/ install fails, OK on current set D_D = "$D_D xpi-adblock_plus" # # www/ install fails, OK on current set D_D = "$D_D xpi-flashblock" # # www/ install fails, OK on current # #} breaksw case 10.0-RELEASE: # #{ set D_D = "$D_D chromium" # # www/ 10.0-BETA1: ftp set D_D = "$D_D demime" # # imail/ install from stage fails set D_D = "$D_D dvdrip" # # multimedia/ multimedia/transcode set D_D = "$D_D emil" # # mail/ In file included from y.tab.c:396 set D_D = "$D_D estic" # # misc/ iostream. 10.0-BETA1 clang broken, gcc ok set D_D = "$D_D evince" # # graphics/ cc problem set D_D = "$D_D ezjail" # # ?/ Applying FreeBSD patches for ezjail-3.3 File to patch: set D_D = "$D_D firefox" # # www/ cc fails, current too. set D_D = "$D_D freebsd-doc-de" # # misc/ 10.0-BETA1: misc/freebsd-doc-en breaks after newest set D_D = "$D_D freebsd-doc-en" # # misc/ depends on x11-fonts/lohit fetch fails also on current. set D_D = "$D_D ftpproxy" # # ftp/ 10.0-BETA1: ftpproxy know how to make wB after latest cur set D_D = "$D_D git" # # devel/ > www/w3m : undefined reference to GC_get_warn_proc set D_D = "$D_D gnash" # # graphics/ 10.0-BETA1: cc errs set D_D = "$D_D gpsdrive" # # gpsdrive cc problem also on current set D_D = "$D_D gtkam" # # graphics/ graphics/OpenEXR cc errs on 10.0-RELEASE & current set D_D = "$D_D hplip" # # print/ 10.0-BETA1: devel/qt4-declarative patches fail on current. set D_D = "$D_D ispell" # # textproc/ install stage fails. It has dissapered in current @ 2014-08 set D_D = "$D_D kdirstat" # # sysutils/ 10.0-BETA1: devel/qt4-declarative patch failsafter latest cur set D_D = "$D_D laternamagica" # # graphics/ texinfo fetch fails set D_D = "$D_D libreoffice" # # editors graphics/vigra > graphics/OpenEXR : cc problem. Also on current set D_D = "$D_D linkcheck" # # www/ 14 errors generated set D_D = "$D_D lxdvdrip" # # multimedia/ depends on multimedia/transcode cc problem in 10.0 & current set D_D = "$D_D nvi-devel" # # editors/ 10.0-BETA1 breaks with current-2013-10-22 after rm -rf /var/db/ports/editors_nvi-devel ; unsetenv NOCLEANDEPENDS set D_D = "$D_D ogmrip" # # multimedia errs set D_D = "$D_D open-vm-tools-nox11" # # emulators/ 10.0-BETA1: breaks with crrent-2013-10-22 after /var/db/ports/\*vm* unsetenv NOCLEANDEPENDS set D_D = "$D_D seamonkey" # # www/ fetch Missing in 13.0-CURRENT set D_D = "$D_D texinfo" # # print/ fetch size mismatch set D_D = "$D_D transcode" # # multimedia/ 'error_recognition' declared here set D_D = "$D_D w3m" # # www/ undef ref to GC_get_warn_proc set D_D = "$D_D xine" # # multimedia depend on multimedia/libxine cc problem. set D_D = "$D_D xmms-wma" # # audio/ 10.0-BETA1: cc errs after latest cur set D_D = "$D_D xpaint" # # graphics/ 10.0-BETA1: cc errs set D_D = "$D_D xsane" # # graphics > graphics/gimp-app > graphics/OpenEXR: cc problem set D_D = "$D_D youtube_dl" # # www/ multimedia/rtmpdump wants older openssl # #} breaksw case 10.1-RELEASE: # #{ set D_D = "$D_D ogmrip" # # http://distcache.FreeBSD.org/ports-distfiles/ogmrip-1.0.1.tar.gz: size mismatch: expected 3276396, actual 3280561 set D_D = "$D_D BROKEN:" set D_D = "$D_D acroread9" # # print/ marked as broken: Not staged TRYBROKEN=YES install hangs on kbd,package fails" set D_D = "$D_D calc" # # math/ set D_D = "$D_D calc_install_fails_ok_on_current" set D_D = "$D_D chromium" # # www/ platform lacks a functioning sem_open Current fails the same. set D_D = "$D_D chromium_lacks_sem_open" set D_D = "$D_D claws-mail" # # mail/ : textproc/docbook-utils : print/tex-jadetex : print/texlive-texm : print/texlive-base : Fails also on Current on configure: error: cannot find/use libpng set D_D = "$D_D claws-mail_texlive-base_fails" set D_D = "$D_D cups" # # print/ : print/cups-base - Current also fails. set D_D = "$D_D cups_cups-base_fails" set D_D = "$D_D demime" # # mail/ : ? set D_D = "$D_D demime_jhs_to_resusitate" set D_D = "$D_D estic" # # fixed in current set D_D = "$D_D etherape" # # resolv.c:64:10: fatal error: 'glib.h' file not found Same fail on current too set D_D = "$D_D etherape_glib.h" set D_D = "$D_D gnash" # # graphics/ Makefile: .if ${OSVERSION} > 1000000 BROKEN= unable to link in libboost_system .endif broken on current too set D_D = "$D_D hplip" # # print/ : devel/py-gobject set D_D = "$D_D libreoffice" # # editors/ : graphics/libcdr : graphics/libwpg : devel/doxygen : print/texlive-infra : print/texlive-texmf : print/texlive-base : current texlive-base is also broken set D_D = "$D_D libreoffice_texlive-base_fails" set D_D = "$D_D magicpoint" # # misc/ : C breakage Fails on current too set D_D = "$D_D majordomo" # # mail/ : marked as broken: Not staged.. # # needs work by jhs@ set D_D = "$D_D majordomo_TRYBROKEN=YES_install_fails" set D_D = "$D_D translate" # # misc/ : pkg-static: translate-1.11 conflicts with libtranslate-0.99_7 (installs files into the same place). Problematic file: /usr/local/bin/translate : pkg delete libtranslate-0.99_7 ... Installed packages to be REMOVED: libtranslate-0.99_7 gnome-translate-0.99_16 (depends on libtranslate-0.99_7) set D_D = "$D_D xorg" # # x11/ : x11-drivers/xorg-drivers set D_D = "$D_D xorg-drivers" # # x11-drivers/ : xf86-video-intel xf86drm.h' file not found graphics/libdrm : valgrind.h devel/valgrind set D_D = "$D_D xf86-video-intel" # # x11-drivers/ : xf86drm.h' file not found graphics/libdrm set D_D = "$D_D libdrm" # # graphics/ : valgrind.h devel/valgrind fails on 10.1 & current set D_D = "$D_D NON-EXISTANT:" set D_D = "$D_D arena" # # www/ non-existent set D_D = "$D_D ashe" # # www/ non-existent set D_D = "$D_D cheapcall" # # german/ non-existent set D_D = "$D_D cheetah" # # www/ non-existent set D_D = "$D_D digikam" # # graphics/ non-existent set D_D = "$D_D doc" # # net/ non-existent set D_D = "$D_D dvdbackup" # # multimedia/ non-existent set D_D = "$D_D galeon" # # www/ non-existent set D_D = "$D_D galeon2" # # www/ non-existent set D_D = "$D_D getbdf" # # x11-fonts/ non-existent set D_D = "$D_D gtkportscan" # # security/ non-existent set D_D = "$D_D hpoj" # # graphics/ non-existent set D_D = "$D_D jailutils" # # sysutils/ non-existent set D_D = "$D_D k3b" # # sysutils/ non-existent set D_D = "$D_D kdeaddons3" # # misc/ non-existent set D_D = "$D_D libdvdcss" # # sysutils/ non-existent set D_D = "$D_D libdvdread" # # sysutils/ non-existent set D_D = "$D_D linux-beonex" # # www/ non-existent set D_D = "$D_D manpages" # # german/ non-existent set D_D = "$D_D mbmon" # # sysutils/ non-existent set D_D = "$D_D mkisofs" # # sysutils/ non-existent set D_D = "$D_D mkmf" # # devel/ non-existent set D_D = "$D_D mp3towav-bundle" # # audio/ non-existent set D_D = "$D_D ogle" # # multimedia/ non-existent set D_D = "$D_D openoffice-3-devel" # # editors/ non-existent set D_D = "$D_D portaudit" # # security/ non-existent set D_D = "$D_D portbrowser" # # sysutils/ non-existent set D_D = "$D_D portscanner" # # security/ non-existent set D_D = "$D_D portupgrade" # # sysutils/ non-existent set D_D = "$D_D proxy" # # ftp/ non-existent set D_D = "$D_D psearch" # # sysutils/ non-existent set D_D = "$D_D psutils-a4" # # print/ non-existent set D_D = "$D_D py-bittorrent" # # net/ non-existent set D_D = "$D_D samba" # # net/ non-existent set D_D = "$D_D screen" # # misc/ non-existent set D_D = "$D_D sftp" # # ftp/ non-existent set D_D = "$D_D showrgb" # # x11/ non-existent set D_D = "$D_D stdcmap" # # x11/ non-existent set D_D = "$D_D teTeX-base" # # print/ non-existent set D_D = "$D_D texcm-ttf" # # x11-fonts/ non-existent set D_D = "$D_D tk82" # # x11-toolkits/ non-existent set D_D = "$D_D vilearn" # # editors/ non-existent set D_D = "$D_D wifimgr" # # net-mgmt/ non-existent set D_D = "$D_D wu-ftpd" # # ftp/ non-existent set D_D = "$D_D xclock" # # x11/ non-existent set D_D = "$D_D xf86-video-kbd" # # x11-drivers/ non-existent set D_D = "$D_D xf86-video-mouse" # # x11-drivers/ non-existent set D_D = "$D_D xf86-video-vga" # # x11-drivers/ non-existent set D_D = "$D_D xfed" # # x11-fonts/ non-existent set D_D = "$D_D xfm" # # x11-fm/ non-existent set D_D = "$D_D xmleditor" # # editors/ non-existent set D_D = "$D_D xmms-wma" # # audio/ non-existent set D_D = "$D_D xvid4conf" # # multimedia/ non-existent # #} breaksw case 10.2-RELEASE: # #{ # #{ set D_D = "$D_D acroread9" # # print/ acroread9-9.5.5 bsd.linux-apps.mk test failed: The component gdkpixbuf is not defined for LINUX_DIST_SUFFIX=-c6 (the corresponding variable gdkpixbuf_c6_FILE is not defined). This usually means that the current port should be used with non default linux base and/or infrastructure port(s). set D_D = "$D_D acroreadwrapper" set D_D = "$D_D demime" # # mail/ set D_D = "$D_D emil" # # mail/ # { # 10.2: # demime-1.1d_1 depends on file: /Bundle/LWP.pm - not found # current ports, 10.2 src: # emil-2.1b9_1 pkg(8) must be version 1.6.0 or greater, but you have # 1.5.4. You must upgrade the ports-mgmt/pkg port first. # chroot /s4 ; cd /usr/ports/mail/emil ; make clean # make: "/usr/ports/Mk/bsd.port.mk" line 1175: UNAME_r # (10.2-RELEASE) and OSVERSION (1100085) do not agree on major version # number. # } # } set D_D = "$D_D majordomo" # # exec: /usr/bin/perl: not found breaksw # #} case 10.3-RELEASE: # #{ host=slim 2016-07-31 set D_D = "$D_D astro" # # /xearth < x11/libX11 < x11/libxcb < devel/libcheck set D_D = "$D_D demime" set D_D = "$D_D dlint" set D_D = "$D_D majordomo" breaksw # #} case 10.3-STABLE: # #{ host=slim 2016-08-17 set D_D = "$D_D demime" set D_D = "$D_D majordomo" breaksw # #} case 13.0-CURRENT: # #{ set D_D = "$D_D demime" # # ME TO FIX mail/ set D_D = "$D_D majordomo" # # ME TO FIX mail/ set D_D = "$D_D acroreadwrapper" # # print -> www/linux-libgtkembedmoz marked as broken: No public distfiles set D_D = "$D_D acroread9" # # ME TO FIX print/ # bsd.linux-apps.mk test failed: The component gdkpixbuf # is not defined for LINUX_DIST_SUFFIX=-c6 (the # corresponding variable gdkpixbuf_c6_FILE is not # defined). This usually means that the current port # should be used with non default linux base and/or # infrastructure port(s). set D_D = "$D_D chimera" # # 2016-12-07 www/chimera not in generic set D_D = "$D_D dosbox" # # 2016-12-07 emulators/dosbox devel/physfs set D_D = "$D_D emil" # # 2016-12-07 mail/emil plist set D_D = "$D_D firefox" # # 2016-12-07 www/firefox lang/rust set D_D = "$D_D freerdp" # # 2016-12-07 net/freerdp multimedia/gstreamer1-plugins set D_D = "$D_D gimp-app" # # 2016-12-07 graphics/gimp-app multimedia/gstreamer1-plugins www/webkit2-gtk3 set D_D = "$D_D gv" # # 2016-12-07 print/gv ghostscript9-agpl-base set D_D = "$D_D libcue" # # 2016-12-07 textproc/libcue multimedia/audacious-plugins set D_D = "$D_D mp3splt-gtk" # # 2016-12-07 audio/mp3splt-gtk multimedia/gstreamer1-plugins self set D_D = "$D_D noweb" # # 2018-10-30 devel/noweb fetch hangs # # => Attempting to fetch /pub/FreeBSD/dists/current//noweb-2.11b.tgz # # ftp: Can't connect to `/pub/FreeBSD/dists/current//noweb-2.11b.tgz:': No such file or directory # # ftp: Can't connect to `/pub/FreeBSD/dists/current//noweb-2.11b.tgz:ftp' set D_D = "$D_D nut" # # 2016-12-07 sysutils/nut plist set D_D = "$D_D opera" # # 2016-12-07 www/opera multimedia/gstreamer1-plugins set D_D = "$D_D ripit" # # 2016-12-07 audio/ripit audio/libdiscid set D_D = "$D_D vlc" # # 2016-12-07 multimedia/vlc devel/qt5-core set D_D = "$D_D xorg" # # 2016-12-07 x11/xorg x11-drivers/xf86-video-mach64 set D_D = "$D_D xsane" # # 2016-12-07 graphics/xsane multimedia/gstreamer1-plugins breaksw # #} # #} endsw # # set D_D = "$D_D MANUAL" # # Beyond here, DUDS will be added live, interactively from keyboard. # # by setenv DUDS "`printenv DUDS` xxx" setenv DUDS "$D_D" setenv FORCE_PACKAGE "Ignore copyright advisory about exporting binaries to others." # # I am building packages for my own machines. setenv FORCE_PKG_REGISTER YES # # "Overwrites in /var/db/pkg/" # # Even fresh chrooted build failed when I commented out # # - because I wanted X built, & # # imake-6.7.0_2 depends on file: perl5.8.5 setenv PACKAGEROOT "ftp://ftp" # # Ref man pkg_add # ----------------------------------------------------------------------------- # # For /usr/ports/ # # setenv BERKLIX_AMBITIOUS=YES # # setenv BERKLIX_CLIENT YES # # setenv BERKLIX_GATE YES # # setenv BERKLIX_MINIMAL YES # # setenv BERKLIX_SERVER YES # # Warning: enabling any of these will cause an # # undef on SUBDIR on all other ports not specificaly included # # from ports/*/Makefile.local. # ----------------------------------------------------------------------------- # PACKAGESITE below is just an example, but I dont need it. # setenv PACKAGESITE \ # "ftp://ftp/pub/FreeBSD/ports/i386/packages-4.11-release/All/" # # Ref man pkg_add # ----------------------------------------------------------------------------- # # Avoid packages arriving in ports tree. # # bsd.port.mk has: PACKAGES?= ${PORTSDIR}/packages # # so setting PORTSDIR is enough, assuming # # /usr/ports/packages > ../packages .... # setenv PORTSDIR /usr/ports # # Commented out 2017-04-15 # ----------------------------------------------------------------------------- # setenv HAVE_MOTIF YES # # Commented out 2017-04-15 # # as nothing in cd /usr/ports/Mk; grep -l HAVE_MOTIF * # ----------------------------------------------------------------------------- # setenv KDEDIR /usr/local # # Commented out 2017-04-15 # # as nothing in cd /usr/ports/Mk; grep -l KDEDIR * # ----------------------------------------------------------------------------- # # setenv MAKEFLAGS "SENDMAIL_CF=`hostname -s`.cf" # # MAKEFLAGS used by /usr/src/etc/sendmail/Makefile # ----------------------------------------------------------------------------- # setenv MANPATH '/usr/share/man:/usr/man:/usr/local/man:/usr/local/lib/ghostscript/doc:' # 9.2-RELEASE & 12.2-STABLE have no /usr/local/lib/ghostscript/doc setenv MANPATH '/usr/share/man:/usr/man:/usr/local/man:' # ----------------------------------------------------------------------------- setenv OPENWINHOME /usr/local # What for ? # # OPENWINHOME referenced by 4.4 or earlier # # audio/workman/ # # deskutils/xrolo/ # # ftp/ftptool/ # # games/imaze/ # # games/xvmahjongg/ # # games/xvmines/ # # java/jdk12-beta/ # # mail/faces/ # # math/calctool/ # # print/bibcard/ # # sysutils/contool/ # # x11-toolkits/slingshot/ # # x11-toolkits/xview-clients/ # # x11-toolkits/xview/ # # x11-wm/olvwm/ # # x11/props/ # # The /a is in case running a new release, # # & not everything rebuilt yet. But it can confuse too. # # as it needs libs from local # # local is still used on park 6.2 # # Prepare for setenv PATH set XYZJHS = "" set XYZNINE = "" ## XYZNINE for /9-RELEASE/usr/local/bin/chimera ## Which was in 9.3-RELEASE & has now disapeared from /usr/ports/. 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 # } # # Keep on adding cases till I port ports/browsers/chimera 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" # # /site/domain/js.berklix.net/etc/gate: # # hosts, hosts.sh, # # interfaces_dynamic.sh, rc.conf.sh, # # variables.sh # # /etc/isdn: Only on gates not on internals: # # answer, direction.sh, export.sh, # # interfaces_static.sh, isdn, # # isdn_in@ > direction.sh, # # isdn_inout@ > direction.sh, # # isdn_out@ > direction.sh, # # isdntel.sh, record, tell, # # tell-record. # #} breaksw default: set XYZGATE = "" breaksw endsw # #}A setenv PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin${XYZNINE}:/site/usr/local/bin${XYZJHS}${XYZGATE} # # - /site/usr/local/bin # # gbde.sh gbde2.sh host2coax # # host2colour host2interface host2number # # - Unused: $Z_MY_BIN/.${Z_HOST_TYPE} # # - If PATH ends with a : then . is assumed after, # # which is a security hazard. # # - Breaking PATH with back slashes works, # # but su complains 3 times: # # Warning: imported path contains relative components # # & set shows: # # path ( # # ... broken into multiple lines ... # # ) 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} # # switch ($Z_HOST_SHORT) # # - /site/usr/local/bin: # # gbde.sh gbde2.sh host2coax # # host2colour host2interface host2number # # - Unused: $Z_MY_BIN/.${Z_HOST_TYPE} # # - If PATH ends with a : then . is assumed after # # which of course is a security hazard ! # # - Breaking PATH with backslashes works, # # but su complains 3 times: # # Warning: imported path contains relative components # # & set shows: # # path ( # # ... broken into multiple lines ... # # ) # # breaksw # #} default: # #{ # # Includes remote internet servers. # # Where I take care no bin/jhs/ shows in eg # # http://www.berklix.net/cgi-bin/printenv # # as if its visible there, its also # # visible to other web servers run by # # copyright predator web sites offering # # downloads, who are really doing 'bait & trap' # # Been a lot of articles in german press about # # bastards sending Mahnungs for stuff people # # were not clear if they had downloaded & if # # so under what conditions. breaksw # #} endsw # #} unset XYZJHS unset XYZNINE # # /site/usr/local/bin for gbde.sh # # Unused: $Z_MY_BIN/.${Z_HOST_TYPE} # # if PATH ends with a : then . is assumed after # # which of course is a security hazard ! # Breaking the path with backslashes works, but su complains 3 times: # Warning: imported path contains relative components # & set shows: # path ( # .... broken into multiple lines ... # ) # # setenv SLRNPULL_ROOT /var/spool/news/slrn # # used by slrnpull, not use in a decade ## Hashed 2021-11-21 setenv TMPDIR ~/tmp # # Become TMPDIR=/home/jhs/tmp # # Used by slrn & ctm & /usr/libexec/locate.updatedb # # & maybe vi, # # but breaks `cd /usr/src/release ;make release`. # # because a chroot occurs with no /home/jhs/tmp setenv TZ Europe/Berlin # # Re-enabled 2023-08-15 # # TZ is a name within within /usr/share/zoneinfo/ # # see also man environ # # Europe/Berlin # # doesnt realise the clocks have just gone back # # (left summer time) # # See tzset(3) for more information. setenv USA_RESIDENT NO # # NO for /usr/ports/security/pgp # # Used by ~jhs/public_html/src/bsd/fixes/FreeBSD/\ # # src/gen/contrib/tcl/generic/README.JHS & # # lib/libtcl/README.JHS # # NO for ports/security/ssh2 setenv WITH_JADETEX NO # # /usr/ports/textproc/docproj must have 'yes' or 'no'. # # ------------------------------------------------------------- setenv DISABLE_VULNERABILITIES YES # # for ports/lang/perl5.20 for demime for majordomo # #{ To consolidate the surplus variant TCLs, do this in this order: # # ln -s ../../usr/local/include/tcl /usr/include/tcl # # ln -sf tcl7.5 /usr/local/include/tcl # # ln -sf generic/tcl.h /usr/include/tcl/tcl.h # # To avoid breakage from `cd .../2.2.2.release/\ # # src/lib/libtcl ; make` # # cd .../2.2.2.release/src/contrib/tcl/generic # # ln -sf /usr/include/tcl/generic/tclInt.h tclInt.h # # # Note /cdrom.2.2.2/usr/include/tcl/generic/tclInt.h == # # # current/ports/\ # # lang/tcl75/work/tcl7.5p1/generic/tclInt.h # # cd 2.2.2.release/src/lib/libtcl # # ln -s /usr/include/tcl.h tcl.h # # # grep TCL_VERSION tcl.h #define TCL_VERSION "7.5", # # same for cdrom.2.2.2 # # Current/src @ 10.96 uses tcl8 # #} # #{ Things for FreeBSD + Dasa fest2000 at Dasa & Holz, # # not needed at other sites, # # Festigkeit_2000 runs on: # # HP: tcl-7.5, tk-4.1, tix-4.1.7.5 # # Linux: tcl-7.6, tk-4.2, tix-4.1.7.6 # # FreeBSD: tcl-7.5p1, tk-4.1, tix-4.1.0 (build in this order) # # Fest2000 setenv TCL_LIBRARY /usr/local/lib/tcl7.5 # # Other dependencies: # # /usr/lib/libtcl.so.75.1: used by /usr/bin/vi # # lang/tcl75 installs these: # # /usr/local/lib/libtcl75.a # # /usr/local/lib/libtcl75.so.1.0 # # /usr/local/lib/tcl7.5/ # # init.tcl ldAout.tcl parray.tcl # # tclAppInit.c tclConfig.sh tclIndex # # /usr/local/man/man[13n]/ tclsh.1 Tcl_Interp.3 Tcl_Main.3 Tcl.n # # /usr/local/include/tcl7.5/tcl.h # # make default does this: # # ln -sf tcl7.5/generic/tcl.h /usr/local/include # # ln -sf tcl7.5/tclConfig.sh /usr/local/lib # # but I do better with this after make install: # # ln -sf tclsh7.5 /usr/local/bin/tclsh # # ln -sf ../local/bin/tclsh /usr/bin/tclsh # # ln -sf tcl7.5 /usr/local/include/tcl # # ln -sf tcl/generic/tcl.h /usr/local/include # # rm -rf /usr/local/lib/tcl # # ln -sf tcl7.5 /usr/local/lib/tcl # # ln -sf tcl/tclConfig.sh /usr/local/lib # # ln -sf ../local/lib/tcl /usr/libdata/tcl # # /sbin/ldconfig -m //usr/local/lib # # Fest2000 setenv TK_LIBRARY /usr/local/lib/tk4.1 # # tk4.1 while configuring reads /usr/libdata/tcl/tclConfig.sh # # x11/tk41 installs these: # # /usr/local/lib/libtk41.a # # /usr/local/lib/libtk41.so.1.0 # # /usr/local/bin/wish4.1 # # /usr/local/include/tk4.1/generic/default.h # # Do this after make install: # # ln -sf wish4.1 /usr/local/bin/wish # # ln -sf tk4.1 /usr/local/lib/tk # # ln -sf tk/tkConfig.sh /usr/local/lib # # ln -sf tk4.1 /usr/local/include/tk # # ln -sf tk/generic/tk.h /usr/local/include # # ln -sf libtk41.a /usr/local/lib/libtk.a # # ln -sf libtk41.so.1.0 /usr/local/lib/libtk.so.1.0 # # ln -sf libtk41.so.1 /usr/local/lib/libtk.so.1 # # tk4.1 has no -L/usr/local/lib so once failed like this: # # cc tkAppInit.o -L/usr/ports/x11/tk41/work/tk4.1/unix # # -ltk41 -L/usr/ports/lang/tcl75/work/tcl7.5p1/unix # # -ltcl75 -L/usr/local/lib -lX11 -lm -lc -o wish # # ld: -ltcl75: no match # # 1.1: 7105 May 16 17:49 /usr/local.1+XFree86-3.2/lib/X11/XF86Setup/\ # # tcllib/palette.tcl # # 1.2: 7111 Aug 11 11:04 /usr/local/lib/tk4.1/palette.tcl # # 1.4: 6402 May 19 01:14 /usr/local/lib/tk4.2/palette.tcl # # Fest2000 setenv TIX_LIBRARY /usr/local/share/tix4.1 # checked # # Before compiling: cd /usr/local ; ln -s ../libdata # # to avoid: # # checking Tk source directory... //usr/local/include/tk4.1 # # Can not open /usr/include/tcl/../../libdata/tcl/tclConfig.sh # # I saw usage of # # -I/usr/include/tcl/unix # # /usr/bin/tclsh # # make -i install fails with # # Installing libtixsam4175.a as //usr/local/lib/libtixsam4175.a # # strip: //usr/local/lib/libtixsam4175.a: # # Inappropriate file type or format # # Installing libtksam41.a as //usr/local/lib/libtksam41.a # # strip: //usr/local/lib/libtksam41.a: # # Inappropriate file type or format # # Installing libtclsam75.a as //usr/local/lib/libtclsam75.a # # strip: //usr/local/lib/libtclsam75.a: # # Inappropriate file type or format # # Installing libtix4175.a as //usr/local/lib/libtix4175.a # # strip: //usr/local/lib/libtix4175.a: # # Inappropriate file type or format # # installing the tixindex program for builing tclIndex for # # Tix scripts # # strip: //usr/local/bin/tixindex: # # Inappropriate file type or format # # Installing libtixsam4175.a as //usr/local/lib/libtixsam4175.a # # strip: //usr/local/lib/libtixsam4175.a: # # Inappropriate file type or format # # Fix it with: # # (cd work/Tix4.1.0/unix/tk4.1;tar cf - libtksam41.a \ # # libtixsam4175.a libtclsam75.a libtix4175.a ) | \ # # (cd /usr/local/lib;tar xf - ) # # (cd work/Tix4.1.0/tools;;tar cf - tixindex ) | \ # # (cd /usr/local/bin;tar xf -) # # ports/x11/tix does not create a static lib, unlike tcl7.5 & tk4.1 # # .. why ? # # I do not know of any variables needed for graphics/Mesa. # #} breaksw setenv TESSDATA_PREFIX /usr/local/share/tessdata # Where tesseract finds eng.traineddata, not needed on # FreeBSD-9.2-RELEASE, but needed for 12.2-STABLE # & current 2018-12. tesseract fails to set it by default. # #} 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 # Removed 2005.08.19 /site/domain/js.berklix.net/etc/gate # Removed 2005.08.19 /etc/isdn # # setenv TZ Europe/Berlin breaksw # #} case NetBSD: # #{ setenv CFLAGS "-static -DJULIAN_STACEY -O -I./" setenv LDFLAGS "-static" # # LDFLAGS is used by cc, not ld # # This seems to work OK # # make CFLAGS+="$CFLAGS" LDFLAGS+="$LDFLAGS" # # Caution: static breaks world on FreeBSD setenv LINES 56 # # for vi setenv MACHINE pc532 # # MACHINE used in: # # sys/arch/pc532, # # sys/arch/pc532/pc532 # # sys/lib/libkern/ns32k setenv MACHINE_ARCH ns32k # # MACHINE_ARCH used in: # # gnu/usr.bin/gcc2/arch/ns32k # # lib/libc/gen/Makefile.inc # # gnu/usr.bin/gdb/bfd/arch/ns32k # # gnu/usr.bin/gdb/gdb/arch/ns32k # # gnu/usr.bin/ld/ns32k # # lib/csu/ns32k # # lib/libc/arch/ns32k # # setenv TERM vt100 # # setenv TERM vt_100_l56 unsetenv DESTDIR # # if have setenv DESTDIR / # # then cd /usr/src/lib/libc ; make invokes # # cpp -E -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -DPOSIX_MISTAKE # # -I/usr/src/lib/libc/arch/ns32k -nostdinc -idirafter # # /usr/include # # /usr/src/lib/libc/arch/ns32k/gen/_setjmp.S | as -o _setjmp.o # # and the -idirafter /usr/include for some reason results in no # # data ever being sent to pipe setenv PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/gnu/bin:\ /usr/local/bin:$Z_MY_BIN # # set path=( /usr/ucb /bin /usr/bin /etc /usr/local/bin # # /usr/gnu/bin .) # # ----------------------------------------------------------------------------- # # Old ex FreeBSD, but pkg_add doesnt seem to use PKG_PATH # # setenv PKG_PATH /pub/FreeBSD/ports/i386/packages-`uname -r|dd conv=lcase`/All # # NetBSD 3.1 install defines eg: # # PKG_PATH ftp://ftp.de.netbsd.org/pub/NetBSD/packages/3.1/i386/All # # I might as well define it as I do not uually fetch FreeBSD, but build local, # # whereas I do not want to compile NetBSD packages. setenv PKG_PATH ftp://ftp.de.netbsd.org/pub/NetBSD/packages/`uname -r`/`uname -m`/All breaksw # #} case Symmetrix: # #{ unsetenv CDPATH setenv GZIP "--best" # # /usr/gnu/bin/tar should be before /bin/tar set path=( /sbin /usr/ucb /usr/gnu/bin /bin /usr/bin \ /usr/local /usr/nsc /usr/bin/misc /usr/vsl/bin ~/bin ) # # SCS /.cshrc: /etc /usr/ucb /bin /usr/bin /usr/local /usr/nsc . # # SCS /.profile: /etc /usr/ucb /bin /usr/bin /usr/nsc . # # /etc removed from path, & /sbin added after I moved all # # executables to /sbin from /etc. # # I use /usr/vsl/bin as /usr/local/bin has a load of stuff # # I do not have source for. set cdpath=(/sys \ /usr/src/{etc,bin,usr.bin,ucb,lib,usr.lib,lib/c,}) breaksw # #} case HP-UX: # #{ # # setenv PATH ${PATH}:${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 # # /usr/bin/lpr, /usr/bin/lp, no man lpr setenv MANPATH /usr/share/man:/usr/man:/usr/local/man:\ /opt/CC/share/man:`cd ~mayer;pwd`/man breaksw # #} case ULTRIX: # #{ # # /usr/bin/lpr, /usr/bin/lp, /usr/ucb/lpq 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 $PATH:/usr/local/bin # for gzip # # fails with setenv PATH $PATH:/usr/local/bin # # Variable syntax. # # printenv PATH reports ":/usr/ucb:/bin:/usr/bin" # # echo "xx`printenv PATH`yy" # # xx:/usr/ucb:/bin:/usr/binyy # # /usr/local/bin for gzip # # ucb: finger more rdist tail vacation vi setenv PATH /usr/ucb:/bin:/usr/bin:/usr/local/bin breaksw # #} case SCO_SV: # #{ OPS # # set path=( \ # # /usr/local/bin /usr/lib/X11/IXI/XDesktop/bin \ # # /usr/lib/X11/IXI/XDesktop/bin/i3sc0322 /etc \ # # /bin /usr/bin /usr/merge/dosroot/ubin /usr/bin/X11 \ # # ~/bin ~/bin/.sh ~/bin/.csh ~/bin/.perl ~/bin/.other ) # # # gnu tar installs by default into /usr/local/bin which # # # pre-empts SCO posix limited short file name tar. # # setenv DEBUGGER gdb # # # Note only a SCO with the extra purchasable C # # # development system comes with "dbx", the basic SCO # # # does not have "dbx". # # # without this env var, if you compile xxgdb-1.12 # # # on SCO, # # # it will bring up the graphics, then fail to find # # # dbx and Silently exit with No useful diagnostic. # # # BTW gdb is in /opt/K/SKUNK98/Gdb/4.17/usr/local/bin/ # # # & the SCO extra C licence also brings a graphical # # # front end called "dbXtra" # # setenv IMAKECPP /opt/K/SCO/link/1.1.1Eb/lib/idcpp # # # You do not need to set IMAKECPP if you are using # # # a SCO with the supplementary licenced C developers # # # package, but you do need it if you are using my free # # # xmkmf + imake ported from XFRee86-3.3.[2or3]. # # # Maybe SCO-imake uses a non broken cpp, # # # but my-imake defaults to use /lib/cpp > # # # /opt/K/SKUNK98/Gcc/98q2/usr/local/lib/gcc-lib\ # # # /i486-pc-sco3.2v5.0/2.7.2.3/cpp # # # which is broken, as also is # # # /opt/K/SKUNK98/Gcc/98q2/usr/local/lib/gcc-lib\ # # # /i486-pc-sco3.2v5.0/egcs-2.90.27/cpp # # # they create bad Makefiles with surplus spaces EG: # # # "oceres : $(OBJS) $(DEPLIBS)" # # # "install.man:: oceres .man" # # # PS /opt/K/SCO/BaseX/5.1.3b/usr/lib/X11/xrdb/cpp # # # says: cpp: line 3, Error: Illegal # command \ # # # "Copyright" .... # & lots more xmkmf errors # # setenv TZ GMT-01 # # # This belongs somewhere else, but pretty much all # # # the time I am logged into SCO, I am working in central # # # Europe. # # # The polarity appears wrong, but the numbers work out # # # OK, except that SCO keeps saying GMT when it should # # # not ! See examples below: # # # unsetenv TZ ; date # # # Tue Jun 8 16:03:45 GMT 1999 # # # setenv TZ GMT+01 ; date # # # Tue Jun 8 15:03:49 GMT 1999 # # # setenv TZ GMT-01 ; date # # # Tue Jun 8 17:03:53 GMT 1999 # # # setenv TZ +01:00 ; date # # # Tue Jun 8 16:03:58 GMT 1999 # # # setenv TZ -01:00 ; date # # # Tue Jun 8 16:04:02 GMT 1999 # # breaksw # #} default: breaksw endsw # #} # End of stuff needed in common by both non interactive & interactive sessions. } switch ($DOMAIN) # #{ Site Specific Non-Interactive case ${Z_HOLZ_DOM}: # #{ # setenv CVSROOT /usr/cvs # # Some host have local tree so no point doing slow net access. # setenv CVSROOT_LN /pri/FreeBSD/development/FreeBSD-CVS # # Reminder of path for those that dont have a local copy. # # setenv FETCH_BEFORE_ARGS -N # -N not in 228 man fetch # # setenv FETCH_CMD ncftp # # setenv INTERACTIVE # # setenv LD_LIBRARY_PATH /usr/local/lib # use comma for extras # # /etc/rc now does this & /usr/local/lib # # GS_FONTPATH Path names used to search for fonts # # GS_LIB Path names for initialization files and fonts # # man gs says default is: # # "/usr/local/lib/ghostscript/3.N:\ # # /usr/local/lib/ghostscript/3.N/fonts" # # make install does not create # # /usr/local/lib/ghostscript/3.53/fonts # # strings /usr/local/bin/gs | grep fonts : # # /usr/local/lib/ghostscript/3.53:\ # # /usr/local/lib/ghostscript/fonts setenv GS_LIB /usr/local/lib/ghostscript/fonts # # 9.2-RELEASE /usr/local/lib/ghostscript/ 9.06/ fonts/ # # 12.2-STABLE /usr/local/lib/ghostscript/ 9.52/ fonts/ # # setenv MAKE_LOCAL hashed 2021-09-10 not in 12.2-STABLE src/ # setenv MAKE_PORTS # Presumably obsolete not in current src ports @ 2009.11 unsetenv MAKE_X_MIT setenv MANSEC 1:2:3:4:5:6:7:8:l:n # # setenv PRINTER ascii # # setenv SAVE $Z_MY_HOME/tmp/med # for med editor setenv SM_SAVE_DIR ~/private/xsm # # SM_SAVE_DIR ref. man 1 xsm # # SM_SAVE_DIR needs more thinking about: # # what about my netted host & 2 SVGA & NCD all running X11 ? # # setenv WINEPATH /dos/bin/dos:/dos/bin/local: # # /dos/bin/msc_v4:/dos/bin/packages # # setenv XWINFONTPATH /usr/local/lib/X11/fonts/6x13, # # Not existant in 9.2-RELEASE & 12.2-STABLE : All of # # /usr/local/lib/X11/fonts/6x13, # # /usr/local/lib/X11/fonts/8x13, # # /usr/local/lib/X11/fonts/25x26, # # /usr/local/lib/X11/fonts/30x31 # 12.2-STABLE: # /usr/local/lib/X11/fonts/6x13 not existant breaksw # #} ${Z_HOLZ_DOM} case ${Z_NO_DOM}: case ${Z_VCFE_DOM}: case ${Z_BERKLIX_ORG}: breaksw # case otn.lm.dasa.de: # #{ # if ($?prompt) then # #{ # set notify # #} # endif # setenv USER `whoami` # switch ($Z_HOST_TYPE) # #{ # case HP-UX: # case ULTRIX: # #{ # setenv JHS_TCL ~/tcl # my backup of # Berhard stuff # setenv TCL_LIBRARY ${JHS_TCL}/tcl_lib # setenv TIX_LIBRARY ${JHS_TCL}/tix_lib # setenv TK_LIBRARY ${JHS_TCL}/tk_lib # setenv TZ MET-1METDST # # HP-UX does not like Europe/Berlin # if ($?prompt) then # #{ # alias w ${JHS_TCL}/wish # alias tw ${JHS_TCL}/tixwish # # alias ti745 \ # "set term = ti745 ; stty -tabs" # # alias ti785 \ # "set term = ti745 ; stty -tabs" # # alias vt100 "set term = vt100" # #} # endif # setenv PATH ${PATH}:${Z_MY_HOME}/bin/.${Z_HOST_TYPE} # setenv PATH ${PATH}:${Z_MY_HOME}/../mayer/bin:. # # $HOME/../mayer/bin as fest_2000/setup calls # tclsh in # # $HOME/../mayer/bin, & although # # fest_2000/setup is a sh # # not a csh, there are other things in # # ${Z_MY_HOME}/../mayer/bin that may be needed. # breaksw # #} HP-UX | ULTRIX # case FreeBSD: # # TZ: FreeBSD accepts both Europe/Berlin & # # MET-1METDST. # breaksw # default: # echo "Warning Z_HOST_TYPE $Z_HOST_TYPE \ # unexpected at $DOMAIN." # breaksw # endsw # #} $Z_HOST_TYPE # # setenv MANPATH ${MANPATH}:/opt/CC/share/man # JJLATER dont I need a breaksw here ? # #} otn.lm.dasa.de default: breaksw endsw # #} Site Specific Non-Interactive # Interactive if ($?Z_GATE_HOST) then # #{ setenv WWW_HOME http://${Z_GATE_HOST} # # WWW_HOME in all of arena & lynx & chimera & Mosaic # # not in current-11.0 man 3 fetch endif # #} setenv PKG_TMPDIR /usr/tmp # # Some X stuff needs a lot of space. switch ($Z_HOST_SHORT) # #{ Host Specific for Interactive case snow.${Z_HOLZ_DOM}: # # if short of space on gate, uncomment next line # # setenv PKG_TMPDIR /host/user/usr/tmp breaksw case sony.${Z_HOLZ_DOM}: # # if short of space on gate, uncomment next line # # setenv PKG_TMPDIR /host/user/usr/tmp breaksw case park.${Z_HOLZ_DOM}: # # For ide, not for scsi & mitsumi alias xcdplayer "/usr/local/bin/xcdplayer -device /dev/racd0" breaksw case film.${Z_HOLZ_DOM}: alias xcdplayer "/usr/local/bin/xcdplayer -device /dev/acd0" # # on 5.3 volume works finally: mouse to green bar, # # then for coarse: keep clicking left or right. # # for fine middle button & slide setenv CDR_DEVICE 1,1,0 # # write device for cdrecord breaksw case fire.${Z_HOLZ_DOM}: # #{ # # Speeds: # # DVD-RAM: LG "52x24x52x" # # CD-RW Bezel: Plextor 16x10x40 setenv CDR_SPEED 10 # # writer cdrecord # # DVD: Nothing on Bezel, but it is just a reader anyway, so # # no need to set CDR_SPEED which is for writing only # cdrecord -v -scanbus # order depends if dvdram power is # on at boot (at least pre 8.0-RELEASE # If pre 8.0-RELEASE & USB DVD writer is powered up before reboot: # 0,0,0 'HL-DT-ST' 'DVDRAM GSA-5163D' 'A102' # 2,0,0 'PIONEER ' 'DVD-ROM DVD-116 ' '1.09' # Reader # 2,1,0 'PLEXTOR ' 'CD-R PX-W1610A' '1.02' # Writer # If 8.0-RELEASE & USB DVD writer is powered up before reboot: # 0,0,0 'PIONEER ' 'DVD-ROM DVD-116 ' # 0,1,0 'PLEXTOR ' 'CD-R PX-W1610A' # 3,0,0 'HL-DT-ST' 'DVDRAM GSA-5163D' # if 9.2-RELEASE & USB DVD writer not powered up before reboot: # 0,0,0 '' '' '' NON CCS Disk # 1,0,0 '' '' '' NON CCS Disk # 3,0,0 'PIONEER ' 'DVD-ROM DVD-116 ' # 3,1,0 'PLEXTOR ' 'CD-R PX-W1610A' ## 2014-03-19 I am no longer happy with filetest, inadequate docu in man csh ## if ( "x`filetest -c /dev/cd2`" == "x1" ) then ## # #{{ ## # # USB DVDRAM writer exists. Assume it was ## # # powered up & connected at boot time when ## # # SCSI allocation occured. (If it was only turned ## # # On later, the allocation assumptions fail. ## # # JJLATER investigate devd.conf to improve this. ## setenv CDDA_DEVICE 0,0,0 ## # # reader cdda2wav ## setenv CDR_DEVICE 0,1,0 ## # # writer cdrecord ## else ## # #}{ USB writer assumed not connected at boot ## setenv CDDA_DEVICE 0,0,0 ## # # reader cdda2wav ## setenv CDR_DEVICE 0,1,0 ## # # writer cdrecord ## endif setenv CDDA_DEVICE 3,0,0 setenv CDR_DEVICE 3,1,0 # #}} breaksw # #fire} case blak.${Z_HOLZ_DOM}: # #{ # cd0 at ata0 bus 0 scbus0 target 0 lun 0 # cd1 at ata0 bus 0 scbus0 target 1 lun 0 # 0,0,0 0) 'HL-DT-ST' 'DVD-RAM GH22NP20' '1.02' Removable CD-ROM # 0,1,0 1) 'HL-DT-ST' 'DVD-RAM GH22NP20' '1.02' Removable CD-ROM setenv CDDA_DEVICE 0,0,0 setenv CDR_DEVICE 0,1,0 breaksw # #blak} case rain.${Z_HOLZ_DOM}: # #{ setenv CDDA_DEVICE 6,0 # # read device for cdda2wav # # cdrom=1,0 worm=6,0 # # setenv CDROM_SELECT_SPEED 6 # read speed for cdda2wav # # cdrom=8 worm=6 setenv CDR_DEVICE 6,0 # # write device for cdrecord setenv CDR_SPEED 2 # # write speed for cdrecord setenv CDR_FIFOSIZE 8m # # up from 4m. # # Even though audio CDs write OK over NFS at 4m, # # it gives me more safety, as data CD are one Big track, # # + also allows me more buffer in case I momentarily # # disrupt my ethernet. # #} breaksw case wind.${Z_HOLZ_DOM}: # #{ setenv CDDA_DEVICE 2,0 # # read device for cdda2wav # # setenv CDROM_SELECT_SPEED 2 # read speed for cdda2wav # # remove distant/minority cdrom market countries. unsetenv HAVE_MOTIF unsetenv KDEDIR # # do I want USA_RESIDENT when generating cdrom ? # # do I want TRYBROKEN when generating cdrom ? # #} breaksw case john.${Z_HOLZ_DOM}: breaksw case king.${Z_HOLZ_DOM}: # #{ # # cd0 id=3 # # dmesg: 10.000MB/s transfers setenv CDDA_DEVICE 4,0 # # read device for cdda2wav # # setenv CDROM_SELECT_SPEED 6 # read speed for cdda2wav setenv CDR_DEVICE 3,0 # # write device for cdrecord setenv CDR_SPEED 2 # # write speed for cdrecord setenv CDR_FIFOSIZE 8m # # up from 4m. # # Even though audio CDs write OK over NFS at 4m, # # it gives me more safety, as data CD are one Big track, # # + also allows me more buffer in case I momentarily # # disrupt my ethernet. # # # # unsetenv DUDS # fetch all distfiles even if I cant build them. unsetenv HAVE_MOTIF unsetenv KDEDIR # # do I want USA_RESIDENT when generating cdrom ? # # do I want TRYBROKEN when generating cdrom ? # #} 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}: # #{ # # CDR_DEVICE cdrecord setenv CDR_DEVICE 0,0,0 # # 'HL-DT-ST' 'DVDRAM setenv CDR_DEVICE 2,0,0 # # 'MATSHITA' 'DVD/CDRW # # setenv CDR_SPEED ? # cdrecord setenv CDDA_DEVICE 2,0,0 # # cdda2wav # #} breaksw case freefall.${Z_FREEBSD_DOM}: case hub.${Z_FREEBSD_DOM}: # { # setenv CVSREAD # # ~ncvs # setenv CVSROOT /home/ncvs # #echo "CVSREAD=$CVSREAD CVSROOT=$CVSROOT" # #} breaksw default: breaksw endsw # # Host Specific for Interactive } # Aliases are only useful interactively, so are skipped to reduce startup # time for noninteractive shells (which conveniently leave the prompt unset). if ($?prompt == 0) goto unset_label # I used to just exit, but when I did a `set` in a script, I see lots of # unwanted variables. # ======================================================================== # NOW SET UP STUFF ONLY NEEDED FOR INTERACTIVE SESSSIONS. setenv MAILCHECK 10 # setenv EMAIL jhs@whatever_domain # for chimera when calling anon. ftp # do not remove comment delimeter in system wide /etc/csh.cshrc, # only for use in ~/.cshrc setenv EDITOR vi # setenv TERMPATH ~/.termcap:/etc/termcap:/usr/share/misc/termcap setenv TERMPATH /etc/termcap:/usr/share/misc/termcap # # 12.2-STABLE: /etc/termcap@ -> /usr/share/misc/termcap # 2015-01-09 hashed out ~/.termcap as I can not remember why I am using it, # & I am seeing error "top: can not open termcap file" # when calling # rsh gate xterm -display disp:0 -fg black -bg Lightgreen -n \"gate top\" -title \"Gate top\" -e /usr/bin/top -d0 # from host=disp # /usr/local/etc/termcap # set Z_WHOAMI = `whoami` # SCO_SV does not have `whoami` # Sco who am i produces: "st26u9!jhs ttyp3 Dec 2 13:34" # Native awk on sco needed awk -e, but BSD/awk & gnu/gawk on Sco-Skunkware # do not allow awk -e, & this cshrc with -e then fails to extract user name. set Z_WHOAMI = `who am i | awk '{ print $1 }' | sed -e 's/\\!/ /' | sed -e "s/$Z_HOST_SHORT/ /" | awk '{ print $1 }'` set autolist yes # # print expansion alternatives on filename tab-completion # Pressing tab in that circumstance pops up a list of matching # filenames to choose from. You can then type the next character # or two and hit tab again. # Initial aliases (may be changed for some hosts ) 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" # When I have done eg cd /host/blak/pub & want to see where I really am, # eg in /.amd_mnt/blak/ad4s4/ftp/.backup/pub # alias cdr 'cd `/bin/pwd`' # Fails on a directory with spaces. alias cdr 'cd "`/bin/pwd`"' # # OK on a directory with spaces. alias coax 'cd /site/domain/this/etc/namedb/master;vi *.fwd' alias df 'df -H -t ufs,zfs,msdosfs' # zfs for host=land tank2/ezjail/berklix.org alias fmt "/usr/bin/fmt 70 75" alias fx "firefox-clean" # # /usr/local/bin/firefox-clean alias h "history | tail -20" alias heat "sysctl -a | grep temp | grep '[0-9][0-9]' | grep -v tjmax | sort" # heat-jhs: fire:55, lapr:45 # heat-gary-ryzen:27-starting+max_fan_up to 56C with make -j 10 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 slrn "/usr/local/bin/slrn -f ~/dots/slrn/.jnewsrc" alias spell "spell -b" alias tac "tail -r" # # tac is a command on Linux, not on FreeBSD if ($Z_HOST_TYPE != Symmetrix) then # # Symmetrix old, has no ssh. alias telnet "echo Use ssh when possible.; /usr/bin/telnet $*" # # alias rlogin "echo Use ssh when possible.; /usr/bin/rlogin $*" # # Now /usr/local/bin/rlogin from bsdrcmds-20171003.01 ports/net/bsdrcmds endif alias xv "/usr/local/bin/xv -24 -best24 -noqcheck -fixed" # I believe these options are still not enough to prevent pictures shrinking. # file:///host/fire/home/jhs/.HOME/txt/xv/tree/xvman310a/modifying-behavior-2.html # /usr/local/share/doc/xv alias names "vi ~/txt/contacts/firms.phone" alias people "vi ~/txt/contacts/people.phone" alias urls "vi ~/txt/text/urls" # Variable aliases dependent on host set filec # # escape completes names setenv BLOCKSIZE K # stty mustnt be done unless interactive shell, else will zap controlling tty if ( X.$Z_HOST_TYPE == X.SCO_SV) then # # Prevent Sco xterm complaining on the first stty set (regardless which) # # "stty: standard input: unable to perform all requested operations" # # note scoterm does not need this. stty -a > /dev/null endif stty eof '^d' erase '^h' intr '^c' kill '^u' susp '^z' # set prompt = '[%B%m%b] %B%~%b%# ' # set prompt="%B$Z_WHOAMI@%m `echo $Z_UNAME_R | sed -e s/-RELEASE//` `tty | sed -e s/\\/dev\\/tty//` %~ ! %b" # jhs@fire 5.3 p3 /usr/tmp 2 # set prompt="%B`echo $Z_UNAME_R | sed -e s/-RELEASE//` `tty | sed -e s/\\/dev\\/tty//` $Z_WHOAMI ! %m%~ %b" # I removed the code to remove -RELEASE from prompt, (which I # previously had for a shorter prompt), else I don't see the -RELEASE # reminder of a nasty mix if I am running a 12.2-STABLE system booted # with an older 12.2-RELEASE kernel. set prompt="%B $Z_UNAME_R `tty | sed -e s/\\/dev\\/tty//` $Z_WHOAMI ! %m%~ %b" switch ($Z_HOST_TYPE) # #{ Generic (select by $Z_HOST_TYPE later) # case RCU: # #{ # # whoami: not found # setenv Z_WHOAMI `who am i | awk '{print $1;}'` # unalias df # no -k # #} # breaksw case FreeBSD: # #{ # # set prompt="%B$Z_WHOAMI@%m `echo $Z_UNAME_R | sed -e s/-RELEASE//` `tty | sed -e s/\\/dev\\/tty//` %~ ! %b" # # jhs@fire 5.3 p3 /usr/tmp 2 # # set prompt="%B`echo $Z_UNAME_R | sed -e s/-RELEASE//` `tty | sed -e s/\\/dev\\/tty//` $Z_WHOAMI ! %m%~ %b" # # New prompt easier to mouse to a /host/something for cd, eg: # 5.3 p3 2 fire/usr/tmp # # I removed the code to remove -RELEASE from prompt, (which I # # previously had for a shorter prompt), else I don't see the -RELEASE # # reminder of a nasty mix if I am running a 12.2-STABLE system booted # # with an older 12.2-RELEASE kernel. set prompt="%B$Z_UNAME_R `tty | sed -e s/\\/dev\\/tty//` $Z_WHOAMI ! %m%~ %b" # alias date date -u +%Y-%m-%dT%H:%M:%SZ alias xlock "xlock -mode mountain" # # avoid caught signal 8 while running galaxy mode. # # SVFONTPATH is used by starwriter # # setenv TERM cons25 # # setenv TERM xterm # # setenv TTY_SETS `stty -g` # # hashed 2021-09-10 not in 12.2-STABLE ; export TTY_SETS # #setenv XKEYSYMDB /usr/local/lib/X11/XKeysymDB # # XKEYSYMDB For netscape, not in FreeBSD-12.2-STABLE & 9.2-RELEASE # setenv XNLSPATH /usr/local/lib/X11/nls # # XNLSPATH For netscape. not in FreeBSD-12.2-STABLE & 9.2-RELEASE # # XNLSPATH instead of /usr/X11/lib/X11/nls # # User setrlimit(2), or ulimit in bash, # # or limit in csh... MAXUPRC default. # # unlimit openfiles (csh) # # unlimit descriptors (tcsh) # # ulimit (ash) # # limit maxproc 100 read from /etc/csh.cshrc by tcsh # # but not seen by X, which uses /bin/sh to start everything up. # # So put 'ulimit -u 100' in .xsession. & check # # .xsession-errors Ref. login.conf # # setenv LANG C # might be needed for netscape, (also X -bpp 16) # # setenv SPUNK_COLOR YES # # for xestic # # setenv SPUNK_LANGUAGE 2 # # for xestic, 1=German, 2=English # # setenv SPUNK_COUNTRY 049 # # setenv SPUNK_CP437 yes # for a PC term, not inside an xterm. # # setenv LC_CTYPE iso_8859_1 # convert estic umlauts to ascii. # # setenv SPUNK_XFONT 12x24 # # or 8x13 # alias xestic \ # "cd /etc/pbx; /usr/local/bin/xestic -display disp:0.0" # # -geometry anything from 80x25 to 100x50 supposed to be OK # # but does not work on freebsd xestic 1.40 # # Maybe needs full path to find adjacent estic.res. # # Does not look for DISPLAY as an env. var. # # Files installed by /usr/ports/misc/estic/Makefile: # # /usr/local/bin/ xestic, xestic.res. # # /usr/local/etc/pbx/ aliases.example, # # estic.ini.freebsd_example, estic.ini.generic_example # # /usr/local/share/doc/estic/ README estic.doc # # I use these symbolic links: # # /usr/local/etc/pbx > ../../../etc/pbx # # /usr/local/var > ../../var # # /etc/pbx > ../home/jhs/pbx # # /home/jhs/pbx > private/etc/pbx # # estic.rc is created by xestic in CWD. # # ~jhs/pbx/ # # alias.dat Txt Jhs Old # # aliases.example Txt Gen < port # # config Bin JHS # # estic.ini Txt # # ~jhs/.estic-rc Bin breaksw # # FreeBSD } case Symmetrix: # #{ set prompt="$Z_WHOAMI@$Z_HOST_SHORT csh `tty | sed -e s/\\/dev\\///` ! % " # # Note uname most flags dont work, # # /usr/bin/uname > /usr/vsl/bin/uname # # stty all >& .cshrc.stty.all goes to stdout # # setenv TTY_SETS `cat .cshrc.stty.all` # # rm .cshrc.stty.all # # stty all doesnt generate correct syntax, # # but shows what we want, 4.4BSD stty -g would be ideal alias date 'date -u' # # kernel thinks it is in pacific 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` # # ; export TTY_SETS # #} breaksw case SCO_SV: # #{ alias resize '/usr/bin/X11/resize|egrep \'(LINES|COLUMNS)\' >! ~/.resize; source ~/.resize; rm ~/.resize' alias rsh rcmd # # SCO rsh is the restricted shell, # # alias yacc "rcmd st26s1 yacc" # # alias yacc bison # off of skunkware cdrom # #} breaksw default: echo "/etc/csh.cshrc 2nd switch: no action for $Z_HOST_SHORT" breaksw endsw # # $Z_HOST_TYPE } switch ($DOMAIN) # #{ Site Specific case ${Z_HOLZ_DOM}: setenv ARCHIE_HOST archie.th-darmstadt.de # # what muc use # ----------------------------------------------------------------------------- # setenv NNTPSERVER news.muc.de # # Commented out 2017-04-15 # ----------------------------------------------------------------------------- setenv ADOBE_LANG ENU # for ports/print/acroread9 acroread # When $LANG is set, $ADOBE_LANG will be set automatically based on it. breaksw case ${Z_FREEBSD_DOM}: # echo "Suggest: who ; cvs hi -a" # echo "CVSREAD=$CVSREAD CVSROOT=$CVSROOT" breaksw default: breaksw endsw # #} # Unset my variables internal only to this file, 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 # Warning do not hang a backslash on last line, & then leave a blank line, # cos blank line gets discarded by makefile, & then the unset fails to run. # Ex Symmetric Computer Systems Inc. /.cshrc: # set path=(/etc /usr/ucb /bin /usr/bin /usr/local /usr/nsc .) # alias ls ls -F # if ($?prompt) then # #{ # set history=100 # set prompt=`hostname`' \! # ' # set cdpath=(/sys /usr/src/{etc,bin,usr.bin,ucb,lib,usr.lib,lib/c,}) # alias a alias # alias h 'history -r' # alias j jobs -l # alias so source # alias ll ls -lg # alias ta 'vi -t \!*' # alias tset 'set noglob histchars=""; eval `\tset -s -Q \!:*`; unset noglob histchars' # alias x exit # alias z suspend # alias + pushd # alias - popd # alias cd 'set old=$cwd; chdir \!*' # alias back 'set t=$cwd; chdir $old; set old=$t; dirs; unset t' # alias ci sccs delget # alias co sccs get -e # alias setup 'sccs admin -i \!* < \!:$' # alias out 'echo SCCS/p.* |sed -e s,SCCS/p.,,g' # alias get sccs get # alias info sccs info # alias prt sccs prt # alias sd sccs diffs # alias sds 'sccs sccsdiff \!* |more -s' # #} # endif # setenv SHELL /bin/csh # setenv EXINIT 'set ai sm' # Things used by Polytropon posted to questions@ 2013-07: # setenv XTERM_LOCALE en_US.ISO8859-1 # setenv LC_CTYPE de_DE.ISO8859-1 # 12.2-STABLE by default is XTERM_LOCALE=C # An example of how to force /usr/ports to build when kernel != ports tree: # UNAME_r=10.1-RELEASE-p10 # UNAME_v=FreeBSD 10.1-RELEASE-p10 # OSVERSION=1001000 #}