# $Revision: 736576fae737 $ $Date: Sun, 31 Mar 2024 21:15:59 -0400 $
# $Source: /doc/html/htdocs/dotfiles/top/dot-envrc $
# $Host: furbag $
# $UUID: 3a0775fa-a277-3c89-a92c-45624bf78723 $
#
# Set up shell environment variables.
# Use "buildenv" to translate this into appropriate form for sh or csh.

# Locale stuff: preferred is LANG 'C' and LC_ALL 'C'
# Default=en_US.UTF-8, which makes ls sort files case-insensitive.
# Setting LC_ALL can make grep faster.
# Sun, 31 Oct 2021 19:00:43 -0400
#   Changed to en_US for mkdocs, but changed it back because it
#   messed up too many other things.

LANG   C
LC_ALL C

# Default for configuration file.
XDG_CONFIG_HOME $HOME/.config

# Go programming environment
GOPATH $HOME/go

# Nice default font for xterm.  See "xt" script.
FONT 'xft:Cascadia:pixelsize=20:bold'

# Zettelkasten files live here.
ZETTELPATH "$HOME/.zettelkasten"

# Searchpath is handled in .path file.  info path:
INFOPATH '/usr/local/share/info:/usr/share/info'

# Generating GNU configure scripts.
ACLOCAL_PATH /usr/local/share/aclocal-1.15:/usr/local/share/aclocal:/usr/share/aclocal-1.11:/usr/share/aclocal

# Webpage document root
DOCROOT "/doc/html/htdocs"

# Good page-width for HTML directory listings.
PAGEWIDTH 90

# Local time for RCS date information
# Use separate options; -zM shows up as an error in the zone time.
# Allow -M to make checkout file modtime same as checked-in file.
RCSINIT "-zLT -M"

# Wiki source and destination
WIKISRC "$HOME/wikisrc"
WIKIDST "$DOCROOT/wiki"

# Mozilla/Firefox history
MOZILLA_HISTORY "$HOME/.mozilla/firefox/deadbeef.default/places.sqlite"

# When using an xterm or console.
# tip found in Zsh mailing list.
BAUD 0

# Where local package config stuff goes.
PKG_CONFIG_PATH /usr/local/lib/pkgconfig

# Formatting with local macro packages
GROFF_TMAC_PATH /usr/local/share/tmac

# Perl module testing
PERL5LIB "$HOME/lib/perl5"

# Python
#PYTHONHOME /usr/local

# Mail delivery using qmail.
QMAILHOST yourhost.com
QMAILUSER you
QMAILNAME "Your Name"
RSYNC_RSH /usr/local/bin/ssh
QMAILINJECT f
REPLYTO you@yourhost.com

# Default file browser and editors.
# Other than a safe basic setting, "less" is handled elsewhere.
#PAGER "most"
#PAGER "vless"  # if less is broken
PAGER "less"
LESS "-XCden -j.3 -z-2"
EDITOR "vim"
CEDITOR "vi"

# Tab size for mfmt
TABWIDTH "4"

# Default fmt width
FMTWIDTH 78

# MOST: %s and %d formatting descriptors represent
# the file name and line number, respectively.
MOST_SWITCHES "-v"
MOST_EDITOR 'vim +%d %s'
MOST_HELP '/usr/local/etc/most.hlp'

# df output
BLOCKSIZE "1m"
#BLOCK_SIZE 1048576    # messes up GNU version of ls.
DIFMT "mbuv2iUFP"

# Lynx browser.
LYNX_CFG $HOME/.lynxcfg

# Mailbox.
MAIL "/var/mail/vogelke"

# X-windows
DOMAIN "`domainname`"
HOST "`uname -n`"
DISPLAY ":0.0"

# Used in "shell" mode under Emacs.
ESHELL "/bin/sh"
TMPDIR "/tmp"
# Your shell should really set this for you.
#SHELL "/bin/zsh"     

# Used by HTML tidy.
HTML_TIDY "$HOME/.tidyrc"

# Used by maint and hm program
MAINTOPTS "-f"
MAINTPAGER "yes"
HMOPT "bdgpsu"

# Used by top to display over the whole screen.
TOP "all"

# Used by "look" to pick your dictionary.
LOOKDICT "/usr/local/share/dict/single.txt"

# Used by "new"
NEWEDITOR "vi"
FULLNAME "$QMAILNAME"
COMPANY "Amalgamated Conglobulation Inc."
ORGANIZATION "IT dept"

# Need this to make waissearch work.
USER "$LOGNAME"

# Postgres
# PGDATA /other/pgsql/data
# PGLIB /usr/local/lib
PGDATABASE files

# DocBook
DB /usr/share/sgml/docbook/docbook-xsl-1.64.1
XML_CATALOG_FILES /usr/share/sgml/docbook/xml-dtd-4.1.2/catalog
SGML_CATALOG_FILES /usr/share/sgml/docbook/xml-dtd-4.1.2/catalog
