JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
st.git
11 years agoAdd vpa terminfo capability
Roberto E. Vargas Caballero [Sun, 2 Sep 2012 17:08:52 +0000 (19:08 +0200)]
Add vpa terminfo capability

---
 st.info |    2 ++
 1 file changed, 2 insertions(+)

11 years agoSilencing the compiler but keeping strparse.
Christoph Lohmann [Thu, 30 Aug 2012 19:19:53 +0000 (21:19 +0200)]
Silencing the compiler but keeping strparse.

This will really be needed when there is a full 256 color support.

11 years agoApplying the CBT patch of Roberto Vargas. Thanks.
Christoph Lohmann [Thu, 30 Aug 2012 19:17:54 +0000 (21:17 +0200)]
Applying the CBT patch of Roberto Vargas. Thanks.

11 years agoNever trust terminfo fata morganas. And adding other xterm compatibility.
Christoph Lohmann [Thu, 30 Aug 2012 05:38:47 +0000 (07:38 +0200)]
Never trust terminfo fata morganas. And adding other xterm compatibility.

11 years agoAdd OSC, DSC, PM, APC and settitle.
Christoph Lohmann [Wed, 29 Aug 2012 21:14:20 +0000 (23:14 +0200)]
Add OSC, DSC, PM, APC and settitle.

11 years agoAdding setb and setf and a comment about terminfo installation.
Christoph Lohmann [Wed, 29 Aug 2012 19:13:47 +0000 (21:13 +0200)]
Adding setb and setf and a comment about terminfo installation.

11 years agoAdd CHT sequence
Roberto E. Vargas Caballero [Wed, 29 Aug 2012 18:05:25 +0000 (20:05 +0200)]
Add CHT sequence

This sequence performs "Cursor Forward Tabulation <n> tab stops", which
although is not present in vt100 or vt102, xterm accepts it.
---
 st.c |    5 +++++
 1 file changed, 5 insertions(+)

11 years agoApplying the patches of k0ga and changing the LICENSE file in the appropriate
Christoph Lohmann [Wed, 29 Aug 2012 18:01:34 +0000 (20:01 +0200)]
Applying the patches of k0ga and changing the LICENSE file in the appropriate

way.

11 years agoAdd TBC sequence
Roberto E. Vargas Caballero [Wed, 29 Aug 2012 17:59:47 +0000 (19:59 +0200)]
Add TBC sequence

This sequence clears tab stops in the terminal. If the argument is not present
or is zero, then removes the tab stop of the current horizontal position. If
the argument is 3 then removes all the tab stops of the terminal. It was
necessary modify the terminfo entry tbc, because it has \E[2g instead of the
correct \E[3g.

Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
---
 st.c    |   12 ++++++++++++
 st.info |    2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

11 years agoAdd HTS sequence
Roberto E. Vargas Caballero [Wed, 29 Aug 2012 17:59:43 +0000 (19:59 +0200)]
Add HTS sequence

This sequence adds a new tab stop in the current horizontal position. This
means that tputtab must be look for the next tab stop in the tabs array
instead of using a hard coded value offset. Also, CHT sequence XXX message
is removed because it is not a vt10x sequence (as far as I know it is a
vt50x sequence), and it is not implemented by linux virtual terminal neither
by xterm.

Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
---
 st.c |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

11 years agoAdd tabs field into Term struct
Roberto E. Vargas Caballero [Wed, 29 Aug 2012 17:59:37 +0000 (19:59 +0200)]
Add tabs field into Term struct

Tabs stop are simulated in st using a fixed size of 8, always, without be
worried about sequences changing the tab stops. A user can put a tab stop in
each horizontal position of the screen, so we need at least one flag for
each column of the screen. In the same way as dirty flags is used for the
rows, it is used a bool dinamic array.

Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
---
 st.c |   22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

11 years agoapply post-XDBE patch BORDER fix
Brandon Invergo [Fri, 3 Aug 2012 12:46:40 +0000 (14:46 +0200)]
apply post-XDBE patch BORDER fix

11 years agoImplement Xdbe-based double-buffering
Brandon Invergo [Sat, 28 Jul 2012 12:27:26 +0000 (14:27 +0200)]
Implement Xdbe-based double-buffering

12 years agoupdate TODO.
Aurélien Aptel [Mon, 27 Feb 2012 11:48:13 +0000 (12:48 +0100)]
update TODO.

12 years agocleanup. refactored dirt-related function.
Aurélien Aptel [Mon, 27 Feb 2012 11:44:02 +0000 (12:44 +0100)]
cleanup. refactored dirt-related function.

12 years agouse SHELL as default shell.
Aurélien Aptel [Thu, 16 Feb 2012 18:24:46 +0000 (19:24 +0100)]
use SHELL as default shell.

12 years agorevert to "tip" in VERSION.
Aurélien Aptel [Thu, 16 Feb 2012 00:06:45 +0000 (01:06 +0100)]
revert to "tip" in VERSION.

12 years agoAdded tag 0.2.1 for changeset 108926a0fe61
Aurélien Aptel [Thu, 16 Feb 2012 00:05:26 +0000 (01:05 +0100)]
Added tag 0.2.1 for changeset 108926a0fe61

12 years agobump version.
Aurélien Aptel [Thu, 16 Feb 2012 00:05:14 +0000 (01:05 +0100)]
bump version.

12 years agoreplace fwrite by printf.
Aurélien Aptel [Wed, 15 Feb 2012 23:59:26 +0000 (00:59 +0100)]
replace fwrite by printf.

12 years agorewrite csidump().
Aurélien Aptel [Wed, 15 Feb 2012 23:58:16 +0000 (00:58 +0100)]
rewrite csidump().

12 years agoclean and name enum definitions.
Aurélien Aptel [Wed, 15 Feb 2012 23:33:11 +0000 (00:33 +0100)]
clean and name enum definitions.

12 years agofix default color overwriten bug.
Aurélien Aptel [Wed, 15 Feb 2012 23:10:32 +0000 (00:10 +0100)]
fix default color overwriten bug.

12 years agoshow dark cursor when unfocused.
Aurélien Aptel [Wed, 15 Feb 2012 18:33:48 +0000 (19:33 +0100)]
show dark cursor when unfocused.

12 years agodocument possible configuration.
Aurélien Aptel [Wed, 15 Feb 2012 18:11:07 +0000 (19:11 +0100)]
document possible configuration.

12 years agohandle dim/bright colors.
Aurélien Aptel [Wed, 15 Feb 2012 18:10:31 +0000 (19:10 +0100)]
handle dim/bright colors.

12 years agomerge
Aurélien Aptel [Mon, 13 Feb 2012 00:01:41 +0000 (01:01 +0100)]
merge

12 years agosome minor fixes
anselm@garbe.us [Sat, 11 Feb 2012 09:48:18 +0000 (10:48 +0100)]
some minor fixes

12 years agoreduce size of each glyph for faster copy.
Aurélien Aptel [Wed, 8 Feb 2012 15:45:52 +0000 (16:45 +0100)]
reduce size of each glyph for faster copy.

12 years agoAdded tag 0.2 for changeset 3c2f9f2ab5e4
Aurélien Aptel [Tue, 7 Feb 2012 22:53:45 +0000 (23:53 +0100)]
Added tag 0.2 for changeset 3c2f9f2ab5e4

12 years agocosmetic, whitespace, etc.
Aurélien Aptel [Sat, 21 Jan 2012 22:43:03 +0000 (23:43 +0100)]
cosmetic, whitespace, etc.

12 years agofix PRINT/DRAW _TIMEOUT and fix redrawing bug.
Aurélien Aptel [Sat, 21 Jan 2012 22:26:53 +0000 (23:26 +0100)]
fix PRINT/DRAW _TIMEOUT and fix redrawing bug.

12 years agocopy dirty lines to screen, add select() timeout & min time between draw() calls.
Aurélien Aptel [Sat, 21 Jan 2012 22:14:41 +0000 (23:14 +0100)]
copy dirty lines to screen, add select() timeout & min time between draw() calls.

* add a timeout value (SELECT_TIMEOUT) of 20ms in the select() call
* wait at least 20ms (DRAW_TIMEOUT) between draw() calls
* only copy dirty lines from the buffer to the screen

what draw() does:
* clears dirty lines in the buffer
* draws the longest same-attributes string of each
  dirty line to the buffer with multiple xdraws() call
* copies the current dirty line from buffer to the screen with a single
  xcopy() call

this changeset makes st run ~10x faster.

12 years agofix segfault in selection. (thx Martti Kühne)
Aurélien Aptel [Tue, 10 Jan 2012 21:21:03 +0000 (22:21 +0100)]
fix segfault in selection. (thx Martti Kühne)

12 years agomerge.
Aurélien Aptel [Tue, 1 Nov 2011 15:37:16 +0000 (16:37 +0100)]
merge.

12 years agofix selection. (thx Tarmo Heiskanen)
Aurélien Aptel [Tue, 1 Nov 2011 15:33:43 +0000 (16:33 +0100)]
fix selection. (thx Tarmo Heiskanen)

12 years agodrawregion() only copies region on screen.
Aurélien Aptel [Thu, 20 Oct 2011 21:26:58 +0000 (23:26 +0200)]
drawregion() only copies region on screen.

12 years agoadd dirty flag for lines
Aurélien Aptel [Thu, 20 Oct 2011 21:20:59 +0000 (23:20 +0200)]
add dirty flag for lines

12 years agono palette limit (thx Nick)
Aurélien Aptel [Thu, 6 Oct 2011 19:32:34 +0000 (21:32 +0200)]
no palette limit (thx Nick)

12 years agosimplify version format.
Aurélien Aptel [Thu, 22 Sep 2011 08:04:58 +0000 (10:04 +0200)]
simplify version format.

12 years agoselection is removed or scrolled properly. (thx Rafa Garcia Gallego)
Aurélien Aptel [Fri, 16 Sep 2011 16:48:16 +0000 (18:48 +0200)]
selection is removed or scrolled properly. (thx Rafa Garcia Gallego)

12 years agoworking on old repo, merging recent changesets.
Aurélien Aptel [Fri, 16 Sep 2011 16:24:13 +0000 (18:24 +0200)]
working on old repo, merging recent changesets.

12 years agomove xembedatom in XWindow struct, add link to xembed specs.
Aurélien Aptel [Fri, 16 Sep 2011 16:21:48 +0000 (18:21 +0200)]
move xembedatom in XWindow struct, add link to xembed specs.

12 years agotweak focus to support XEMBED client message and remove focus on EnterNotify. (thx...
Aurélien Aptel [Fri, 16 Sep 2011 16:03:44 +0000 (18:03 +0200)]
tweak focus to support XEMBED client message and remove focus on EnterNotify. (thx Adrian)

12 years agoremove dup of default window size.
Aurélien Aptel [Fri, 16 Sep 2011 15:57:56 +0000 (17:57 +0200)]
remove dup of default window size.

12 years agochange "op" cap in terminfo entry to xterm/rxvt value.
Aurélien Aptel [Sun, 14 Aug 2011 15:15:19 +0000 (17:15 +0200)]
change "op" cap in terminfo entry to xterm/rxvt value.

12 years agofix custom key handling.
Aurélien Aptel [Sun, 14 Aug 2011 15:13:59 +0000 (17:13 +0200)]
fix custom key handling.

12 years agofix focus state when embed in another window.
Aurélien Aptel [Thu, 9 Jun 2011 16:25:56 +0000 (18:25 +0200)]
fix focus state when embed in another window.

12 years agofix segfault with mouse selection. (thx anonymous)
Aurélien Aptel [Thu, 9 Jun 2011 12:27:07 +0000 (14:27 +0200)]
fix segfault with mouse selection. (thx anonymous)

12 years agoadd -w option to embed st. (thx nodus cursorius)
Aurélien Aptel [Wed, 8 Jun 2011 19:35:58 +0000 (21:35 +0200)]
add -w option to embed st. (thx nodus cursorius)

12 years agoapplied parts of "anonymous" cleanup patch.
Aurélien Aptel [Wed, 8 Jun 2011 18:26:00 +0000 (20:26 +0200)]
applied parts of "anonymous" cleanup patch.

12 years agoadd altscreen escseq alias & caps to terminfo entry. (thx Bert Münnich)
Aurélien Aptel [Wed, 8 Jun 2011 18:22:38 +0000 (20:22 +0200)]
add altscreen escseq alias & caps to terminfo entry. (thx Bert Münnich)

12 years agodisable mouse highlight when mouse report enabled. (thx Bert Münnich)
Aurélien Aptel [Wed, 8 Jun 2011 17:32:10 +0000 (19:32 +0200)]
disable mouse highlight when mouse report enabled. (thx Bert Münnich)

12 years agoreverse video mode. (thx Bert Münnich)
Aurélien Aptel [Wed, 8 Jun 2011 10:40:35 +0000 (12:40 +0200)]
reverse video mode. (thx Bert Münnich)

12 years agoadd status bar (window title) to terminfo. (thx Rafa Gallego)
Aurélien Aptel [Wed, 1 Jun 2011 17:57:48 +0000 (19:57 +0200)]
add status bar (window title) to terminfo. (thx Rafa Gallego)

12 years agoset title before mapping window (thx Kamil Cholewiński).
Aurélien Aptel [Sun, 22 May 2011 14:57:27 +0000 (16:57 +0200)]
set title before mapping window (thx Kamil Cholewiński).

12 years agoapplied parts of Connor Lane Smith's cleanup patch.
Aurélien Aptel [Sat, 14 May 2011 15:47:37 +0000 (17:47 +0200)]
applied parts of Connor Lane Smith's cleanup patch.

12 years agomacro cleanup.
Aurélien Aptel [Tue, 10 May 2011 20:55:35 +0000 (22:55 +0200)]
macro cleanup.

12 years agoadd mouse report escape to terminfo entry.
Aurélien Aptel [Tue, 10 May 2011 20:54:30 +0000 (22:54 +0200)]
add mouse report escape to terminfo entry.

12 years agosupport for x11 xterm mouse reporting
Aurélien Aptel [Tue, 10 May 2011 20:22:44 +0000 (22:22 +0200)]
support for x11 xterm mouse reporting

13 years agowhitespace.
Aurélien Aptel [Tue, 26 Apr 2011 18:29:28 +0000 (20:29 +0200)]
whitespace.

13 years agocleanup.
Aurélien Aptel [Tue, 26 Apr 2011 18:22:15 +0000 (20:22 +0200)]
cleanup.

13 years agoupdate TODO
Aurélien Aptel [Thu, 21 Apr 2011 22:42:58 +0000 (00:42 +0200)]
update TODO

13 years agoselection clicks, shift+arrow keys, fast(er) redraw, key mask in config.h (thx Magnus...
Aurélien Aptel [Thu, 21 Apr 2011 22:18:53 +0000 (00:18 +0200)]
selection clicks, shift+arrow keys, fast(er) redraw, key mask in config.h (thx Magnus Leuthner)

13 years agoupdate README.
Aurélien Aptel [Sun, 3 Apr 2011 19:40:33 +0000 (21:40 +0200)]
update README.

13 years agoquick bug-fixing 0.1.1 release.
Aurélien Aptel [Sun, 3 Apr 2011 19:05:41 +0000 (21:05 +0200)]
quick bug-fixing 0.1.1 release.

13 years agoupdate VERSION.
Aurélien Aptel [Sun, 3 Apr 2011 19:04:45 +0000 (21:04 +0200)]
update VERSION.

13 years agotake BORDER into account for selection. (thx Petr Sabata)
Aurélien Aptel [Sun, 3 Apr 2011 19:03:48 +0000 (21:03 +0200)]
take BORDER into account for selection. (thx Petr Sabata)

13 years agofix utf8 clipboard. (thx Petr Sabata)
Aurélien Aptel [Sun, 3 Apr 2011 19:00:55 +0000 (21:00 +0200)]
fix utf8 clipboard. (thx Petr Sabata)

13 years agoAdded tag 0.1 for changeset cbc18c988236
Aurélien Aptel [Sun, 3 Apr 2011 00:02:31 +0000 (02:02 +0200)]
Added tag 0.1 for changeset cbc18c988236

13 years agoadd support for utf8 clipboard. fix usage message.
Aurélien Aptel [Sat, 2 Apr 2011 22:35:02 +0000 (00:35 +0200)]
add support for utf8 clipboard. fix usage message.

13 years agodo not add newline to selection text if next line not selected (Nick)
pancake@nopcode.org [Fri, 1 Apr 2011 07:35:38 +0000 (09:35 +0200)]
do not add newline to selection text if next line not selected (Nick)

13 years agoremove debugging printf
pancake@nopcode.org [Fri, 1 Apr 2011 07:33:28 +0000 (09:33 +0200)]
remove debugging printf

13 years agoapply Nick's patch to fix some error printf to use stderr
pancake@nopcode.org [Fri, 1 Apr 2011 07:32:41 +0000 (09:32 +0200)]
apply Nick's patch to fix some error printf to use stderr

13 years agofix insert key, terminfo and changed TERM back to st. (thx Ondrej Martinek)
Aurélien Aptel [Sun, 23 Jan 2011 11:30:01 +0000 (12:30 +0100)]
fix insert key, terminfo and changed TERM back to st. (thx Ondrej Martinek)

13 years agochange X cursor to "I".
Aurélien Aptel [Sun, 12 Dec 2010 12:32:13 +0000 (13:32 +0100)]
change X cursor to "I".

13 years agoupdate terminfo entry.
Aurélien Aptel [Wed, 8 Dec 2010 17:41:55 +0000 (18:41 +0100)]
update terminfo entry.

13 years agoadd new line glitch to terminfo entry.
Aurélien Aptel [Wed, 8 Dec 2010 17:09:39 +0000 (18:09 +0100)]
add new line glitch to terminfo entry.

13 years agochange -e behaviour and update man page.
Aurélien Aptel [Tue, 30 Nov 2010 21:55:44 +0000 (22:55 +0100)]
change -e behaviour and update man page.

13 years ago-e flag handles arguments.
Aurélien Aptel [Sun, 28 Nov 2010 12:17:20 +0000 (13:17 +0100)]
-e flag handles arguments.

13 years agouse memmove() instead of memcpy() in ttyread().
Aurélien Aptel [Sun, 28 Nov 2010 00:40:39 +0000 (01:40 +0100)]
use memmove() instead of memcpy() in ttyread().

13 years agofix and clean ttyread(). buf wasn't static.
Aurélien Aptel [Sat, 27 Nov 2010 20:19:31 +0000 (21:19 +0100)]
fix and clean ttyread(). buf wasn't static.

13 years agomerge.
Aurélien Aptel [Fri, 26 Nov 2010 21:12:54 +0000 (22:12 +0100)]
merge.

13 years agos/xw.dis/xw.dpy/
Aurélien Aptel [Fri, 26 Nov 2010 21:11:31 +0000 (22:11 +0100)]
s/xw.dis/xw.dpy/

13 years agoFix unused variable issue and OSX includes
pancake@nopcode.org [Wed, 24 Nov 2010 13:27:44 +0000 (14:27 +0100)]
Fix unused variable issue and OSX includes

13 years agocleanup & bugfix in xdraws().
Aurélien Aptel [Sat, 20 Nov 2010 21:24:04 +0000 (22:24 +0100)]
cleanup & bugfix in xdraws().

13 years agoclean comment regarding redrawing in bmotion().
Aurélien Aptel [Fri, 19 Nov 2010 21:32:39 +0000 (22:32 +0100)]
clean comment regarding redrawing in bmotion().

13 years agoAdd -c option to override the default window class
Gregor Best [Fri, 19 Nov 2010 16:13:13 +0000 (17:13 +0100)]
Add -c option to override the default window class

13 years agosome code cleaning.
Aurélien Aptel [Thu, 18 Nov 2010 11:43:33 +0000 (12:43 +0100)]
some code cleaning.

13 years agoutf8 support! print text in delicious unicode greatness! all hail to the glorious...
Aurélien Aptel [Thu, 18 Nov 2010 00:00:04 +0000 (01:00 +0100)]
utf8 support! print text in delicious unicode greatness! all hail to the glorious Damian Okrasa for the patch!

TERM set back to xterm.
changed default fonts.
Note: drawing is now (even) slower.

13 years agoselection code cleanup.
Aurélien Aptel [Mon, 8 Nov 2010 18:49:13 +0000 (19:49 +0100)]
selection code cleanup.

13 years agofixed ED.
Aurélien Aptel [Sun, 31 Oct 2010 19:29:22 +0000 (20:29 +0100)]
fixed ED.

13 years agoredraw if we scroll on resize
Devin J. Pohly [Mon, 25 Oct 2010 20:45:13 +0000 (16:45 -0400)]
redraw if we scroll on resize

13 years agoget rid of artifacts in border on resize down
Devin J. Pohly [Mon, 25 Oct 2010 20:00:10 +0000 (16:00 -0400)]
get rid of artifacts in border on resize down

13 years agocopy old pixmap to new on resize
Devin J. Pohly [Mon, 25 Oct 2010 19:26:47 +0000 (15:26 -0400)]
copy old pixmap to new on resize

13 years agomove code into new xresize func, add early exit to resize
Devin J. Pohly [Mon, 25 Oct 2010 19:10:41 +0000 (15:10 -0400)]
move code into new xresize func, add early exit to resize

13 years ago\v and \f are have the same behaviour of \n.
Aurélien Aptel [Sat, 16 Oct 2010 18:54:19 +0000 (20:54 +0200)]
\v and \f are have the same behaviour of \n.

13 years agoadded LNM mode; re-organized kpress() to handle it.
Aurélien Aptel [Sat, 16 Oct 2010 18:50:29 +0000 (20:50 +0200)]
added LNM mode; re-organized kpress() to handle it.

13 years agoredraw optimization.
Aurélien Aptel [Sat, 16 Oct 2010 15:13:22 +0000 (17:13 +0200)]
redraw optimization.

13 years agofixed newline bug.
Aurélien Aptel [Thu, 14 Oct 2010 17:21:12 +0000 (19:21 +0200)]
fixed newline bug.