about summary refs log tree commit diff homepage
torus(1) General Commands Manual torus(1)

server, client, image, meta, merge — collaborative ASCII art

server [-d data] [-p pidfile] [-s sock]

client [-h] [-s sock]

image [-d data] [-f font] [-x x] [-y y]

meta

merge data1 data2 data3

server maps a data file and listens on a UNIX-domain socket to synchronize events between clients.

client connects to a UNIX-domain socket and presents a curses(3) interface.

image renders a tile from a data file using a PSF2 font to PNG on standard output.

meta extracts metadata from a data file on standard input to CSV on standard ouput. The CSV fields are tileX, tileY, createTime, modifyCount, modifyTime, accessCount, accessTime.

merge interactively merges two data files data1 and data2 into data3. Differing tiles are presented in a curses(3) interface and are chosen by typing a or b.

The arguments are as follows:

data
Set path to data file. The default path is torus.dat.
font
Set path to PSF2 font. The default path is default8x16.psfu.
Write help page data to standard output and exit.
pidfile
Daemonize and write PID to pidfile. Only available on FreeBSD.
sock
Set path to UNIX-domain socket. The default path is torus.sock.
x -y y
Set tile coordinates to render. The default coordinates are 32,32.

This software targets FreeBSD and Darwin.

help.h contains tile data for the help page and can be generated from the first tile of torus.dat.

default8x16.psfu is taken from kbd.

Causal Agency October 12, 2018 torus(1)
>June McEnroe This should prevent bad wrapping. 2019-05-26Add DawnJune McEnroe 2019-05-20Declare vasprintf(3) for GNUJune McEnroe who the fuck is scraeming "#define _GNU_SOURCE" at my house. show yourself, coward. i will never #define _GNU_SOURCE 2019-05-20Fix comparison warning in ttpreJune McEnroe 2019-05-20Add AuthorityJune McEnroe 2019-05-19Specify precedence of unary versions of operatorsJune McEnroe 2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe