Commit Graph

30 Commits

Author SHA1 Message Date
aleks da86f511a4
Create a desktop-entry for st
Creates a desktop-entry for st. This enables to find st in a graphical
menu and to display it with a nice icon.
2021-04-02 10:10:24 -04:00
Avi Halachmi (:avih) 51f4d5dc92
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-04-02 01:03:21 -04:00
Hiltjo Posthuma 7e19e11676 Makefile: fix dependencies on config.h
patch by Younes Khoudli (changed slightly). Thanks
2019-01-04 12:33:01 +01:00
Hiltjo Posthuma 0f245dfeb9 Makefile: add all files to make dist 2018-03-14 19:54:50 +01:00
Hiltjo Posthuma b2ac917753 Revert "Revert "fixed STLDFLAG order in broken st Makefile""
This reverts commit 274d46ace0.

Sorry, the original commit was correct after all. It allows has the
correct link order and supports static-linking also.

Just a reminder: it is important to give a (brief) rationale of the
patch intentions.
2017-09-15 11:16:37 +02:00
Hiltjo Posthuma 274d46ace0 Revert "fixed STLDFLAG order in broken st Makefile"
This reverts commit 7f990328e4.

this was wrong as pointed out by k0ga:
"STLDFLAGS is about flags to the linker, for example -L
not about -l for that reason it must go before the object list".
2017-09-13 22:40:36 +02:00
Anselm R Garbe 7f990328e4 fixed STLDFLAG order in broken st Makefile 2017-07-23 11:17:26 +02:00
Quentin Rameau d4928edba0 Let the user specify C and LD FLAGS 2017-07-12 00:28:11 +02:00
Quentin Rameau fabd4602b3 Do not obfuscate what make is doing.
Change some styling too while we're at it.
2017-07-12 00:28:10 +02:00
Michael Forney e2ee5ee611 Split X-specific code into x.c 2017-01-20 19:42:26 -08:00
pl@ninthfloor.org 3ca7249c86 tic -s -> tic -sx (Treat unknown capabilities as user-defined.) 2016-11-14 19:05:47 +01:00
Christoph Lohmann 246c3481d7 arg.h wasn't used for dist. 2015-03-16 22:17:30 +01:00
Christoph Lohmann c772a6e571 Applying the changes to the docs; by Peter Hartman. 2013-01-05 20:30:25 +01:00
Christoph Lohmann ff040e9894 Adding setb and setf and a comment about terminfo installation. 2012-08-29 21:13:47 +02:00
Aurélien Aptel b6af0fdc20 fixed makefile. 2010-09-02 02:03:53 +02:00
Aurélien Aptel 2080dfebea added manpage. 2010-09-02 02:02:56 +02:00
Aurélien Aptel 160bda1b60 toggle ATTR_REVERSE on selected text, factored some code and fixed Makefile. 2010-08-31 11:02:17 +02:00
pancake 596bb133a5 fix build
use config.def.h mechanism
add SHELL in config.h
2010-08-30 23:49:15 +02:00
Aurélien Aptel ae5baac932 use predefined OS macro instead of uname. 2010-08-30 13:04:19 +02:00
Aurélien Aptel 6db6980e27 st now runs on Linux, OpenBSD and FreeBSD. 2010-08-28 03:18:22 +02:00
Aurélien Aptel ce3f4fc647 fixed backspace problem, updated terminfo entry and moved TNAME in config.h. 2010-08-19 12:46:54 +02:00
Anselm R Garbe 10e49a0505 applied Devin J Pohly's st color info patches, thanks Devin! 2010-07-24 12:09:14 +01:00
Aurélien Aptel 2e37752961 added/removed files, updated Makefile. 2009-06-16 02:33:38 +02:00
Anselm R Garbe d58dd3b8bc backport of local changes 2009-05-10 13:17:09 +01:00
Matthias-Christian Ott e0d0a2b96e simplify Makefile
Due to consideration of POSIX compliance issues config.mk had
to be removed. Configuration variables can be overridden by
environment variables or specified via command line.

Additionally all pretty-printed messages were removed and
built-in rules are used. This also simplifies and purges
the Makefile.
2008-07-21 17:06:59 +02:00
Matthias-Christian Ott b3902ca178 remove emallocz() 2008-07-04 18:18:51 +02:00
Matthias-Christian Ott 0c0ada8a7f make st and std separate programmes 2008-06-14 11:03:29 +02:00
Matthias-Christian Ott 5f28725471 source utility functions out to util.c 2008-06-10 17:56:57 +02:00
Anselm R Garbe 375efb8891 slight changes 2008-06-01 18:04:49 +01:00
Anselm R Garbe 1987ae4bac added some new files for the initial rewrite of st from scratch 2008-05-20 10:03:59 +01:00