Go to file
Avi Halachmi (:avih) a20fe9919d
boxdraw_v2: custom render lines/blocks/braille for perfect alignment
It seems impossible to ensure that blocks and line drawing glyphs
align without visible gaps for all combinations of arbitrary font,
size and width/height scale factor.

This commit adds options to render most of the lines/blocks and
braille codepoints without using the font such that they align
perfectly regardless of font, size or other configuration values.

Supported codepoints are U+2500 - U+259F except dashes/diagonals,
and U28XX.

The lines/blocks data is stored as 16-bit values at boxdraw_data.h

boxdraw/braille are independent, disabled by default at config[.def].h
2021-02-09 00:42:06 -05:00
FAQ FAQ: fix single-buffer patch 2020-06-01 14:09:46 +02:00
LEGACY LEGACY: typo. 2012-09-18 19:08:03 +02:00
LICENSE LICENSE: bump years 2020-06-17 23:49:40 +02:00
Makefile boxdraw_v2: custom render lines/blocks/braille for perfect alignment 2021-02-09 00:42:06 -05:00
README tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 2016-11-14 19:05:47 +01:00
TODO Remove old TODO entry. 2015-04-13 17:06:11 +02:00
arg.h don't modify argv, use a counter 2018-03-20 21:22:27 +01:00
boxdraw.c boxdraw_v2: custom render lines/blocks/braille for perfect alignment 2021-02-09 00:42:06 -05:00
boxdraw_data.h boxdraw_v2: custom render lines/blocks/braille for perfect alignment 2021-02-09 00:42:06 -05:00
config.def.h boxdraw_v2: custom render lines/blocks/braille for perfect alignment 2021-02-09 00:42:06 -05:00
config.mk bump version to 0.8.4 2020-06-19 11:27:17 +02:00
st.1 Add support for scroll(1) 2020-04-11 15:23:20 +02:00
st.c boxdraw_v2: custom render lines/blocks/braille for perfect alignment 2021-02-09 00:42:06 -05:00
st.h boxdraw_v2: custom render lines/blocks/braille for perfect alignment 2021-02-09 00:42:06 -05:00
st.info Partially add back in "support REP (repeat) escape sequence" 2020-05-30 22:04:28 +02:00
win.h ST: Add WM_ICON_NAME property support 2020-10-18 11:17:11 +02:00
x.c boxdraw_v2: custom render lines/blocks/braille for perfect alignment 2021-02-09 00:42:06 -05:00

README

st - simple terminal
--------------------
st is a simple terminal emulator for X which sucks less.


Requirements
------------
In order to build st you need the Xlib header files.


Installation
------------
Edit config.mk to match your local setup (st is installed into
the /usr/local namespace by default).

Afterwards enter the following command to build and install st (if
necessary as root):

    make clean install


Running st
----------
If you did not install st with make clean install, you must compile
the st terminfo entry with the following command:

    tic -sx st.info

See the man page for additional details.

Credits
-------
Based on Aurélien APTEL <aurelien dot aptel at gmail dot com> bt source code.