git clone https://github.com/ascii-boxes/boxes.git

Zmiany w Makefile

$ diff Makefile.old Makefile
17c17
< GLOBALCONF = /usr/share/boxes
---
> GLOBALCONF = ${HOME}/.local/share/boxes

Patchowanie

$ patch Makefile Makefile.diff
patching file Makefile

Kompilacja

$ make

Własny config

$ cat ~/.config/boxes/boxes
parent :global:

# ============================================================================


BOX dtb

author   "tm"
designer "(public domain)"
revision "1.0"
tags     "simple, box"

sample
    -------------
    =           =
    =           =
    -------------
ends

shapes {
    nw ("-") n ("-") ne ("-")
     w ("=")          e ("=")
    sw ("-") s ("-") se ("-")
}

padding {
    horiz 1
}

elastic (n,e,s,w)

END dtb


# ============================================================================


#EOF                                     vim: set ai sw=4 expandtab syn=boxes:

Instalacja

$ cp doc/boxes.1 ~/.local/share/man/man1/
$ cp boxes-config ~/.local/share/boxes
$ cp boxes.local ~/.config
$ ln -s ~/.config/boxes.local ~/.boxes
$ install -m 0755 out/boxes ~/.local/bin

Użycie

$ perl -CSA -le 'print uc for @ARGV' -- Zażółć gęślą jaźń | boxes -ac -s16
----------------
=    ZAŻÓŁĆ    =
=    GĘŚLĄ     =
=     JAŹŃ     =
----------------

Refs