Yeah, I knew it was a missing font thing, but dang, there are a lot of moving parts.
First, make sure that the gsfonts
package is installed (here's the FYI about it: https://www.freshports.org/print/gsfonts/)
$ sudo pkg install gsfonts
;;---------------------------------------------------------------------- | |
;; Elpaso package manager | |
;; Bootstrap it outside of Emacs: these commands will install cask and elpaso, | |
;; respectively, to ~/.emacs.d/elpa. | |
;; | |
;; $ cd builds # go somewhere where you usually build software. | |
;; $ git clone https://github.com/cask/cask && make -C cask install | |
;; $ git clone https://github.com/commercial-emacs/elpaso && make -C elpaso install |
;; Add this, if you want, to the bottom of your $HOME/.gitconfig. | |
;; Impersonate people: add personages (like the 3 below here); then say | |
;; $ git impersonate bob | |
;; Now, git thinks you are Bob (locally of course). This is good for helping | |
;; your team do git surgery on a branch (and retain the credit for the original | |
;; person's work). Don't forget to set yourself back (unmask) when you are done. | |
;; $ git impersonate me | |
;; | |
[user-me] |
;;; Stolen from | |
;;; https://github.com/grettke/help/blob/master/help.org#spell-checking | |
;; Make ispell work better with Org by skipping parts you don't want | |
;; spellchecked like code blocks and metadata. This is a standalone | |
;; version of this from Grant's help repo. Thanks, Grant! | |
(defconst help/org-special-pre "^\s*#[+]") | |
(defun help/block-regex (special) |
Yeah, I knew it was a missing font thing, but dang, there are a lot of moving parts.
First, make sure that the gsfonts
package is installed (here's the FYI about it: https://www.freshports.org/print/gsfonts/)
$ sudo pkg install gsfonts
BEGIN { | |
ITMAX = 100 | |
EPS7 = 3.0e-7 | |
} | |
function fatalError(msg, errcode) { | |
print msg > "/dev/null" | |
exit(errcode+0) | |
} |
#!/usr/bin/env oh | |
#-------------------------------------------------------------------------- | |
# Utilities | |
define defun: syntax (name args: body) e = { | |
e::eval: list define $name : list method (list @$args) = @$body | |
} | |
define fn: syntax (args: body) e = { |
#!/usr/local/bin/pil | |
# | |
# lp2pass.l -- Convert LastPass vault to password store (pass db). | |
# This script processes Secure Notes as well as regular site entries. | |
# | |
# Usage: Given the exported LastPass db (vault records) are in a CSV | |
# file called lp.csv, call this script in any one of the following | |
# ways. | |
# | |
# $ cat lp.csv | lp2pass.l |
# Mg portable GNUmakefile | |
# This file written by Brian Callahan <[email protected]> | |
# and released into the Public Domain. | |
PROG = mg | |
PREFIX ?= /usr/local | |
MANDIR ?= ${PREFIX}/man | |
DOCDIR ?= ${PREFIX}/share/doc/mg | |
INSTALL = /usr/bin/install |
# "Sexy sh prompt" (modeled after "Sexy bash prompt") | |
# | |
# Tries to work on as many Bourne-style and Korn-style shells as | |
# possible and tries to be simple and not litter your environment. | |
# | |
# When you source this script in your (interactive) shell startup | |
# script (or on the command line), you can set some (transient) | |
# environment variables to configure a few extra options; see the | |
# examples below to get the full idea. | |
# |
These are some notes on building XS on OpenBSD 6.0. YMMV with other versions (maybe). They follow the build routine outlined in the INSTALL
document.
NOTE: Prefixes for install target directories (established by the --prefix
option in configure
) are not discussed -- this seems to be more of a personal preference for people, even though I must mention that the OpenBSD package manager installs its bits into /usr/local/bin
; so, you may not want to use that for your prefix. However, I gather, from reading the openbsd-misc
mailing list, that some experienced users still install non-package-manager software there also. Your choice.
As a prerequisite, you might have to pkg_add
the following (I'm not sure, because I didn't start from a clean OpenBSD install; so this is a "best guess"): autoconf
, automake
, boehm-gc
, boost
, gmake
.