st.git
13 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)

13 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)

13 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)

13 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)

13 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).

13 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.

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

13 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.

13 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/

14 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

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

14 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().

14 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

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

14 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.

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

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

14 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

14 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

14 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

14 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

14 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.

14 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.

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

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

14 years agoreplaced memset by loops in tresize(); turns out it's faster.
Aurélien Aptel [Tue, 12 Oct 2010 23:27:09 +0000 (01:27 +0200)]
replaced memset by loops in tresize(); turns out it's faster.

14 years agoremove useless draw().
Aurélien Aptel [Tue, 12 Oct 2010 23:25:04 +0000 (01:25 +0200)]
remove useless draw().

14 years agoapplied xclipboard patch. thx David Isaac Wolinsky.
Aurélien Aptel [Tue, 12 Oct 2010 23:24:11 +0000 (01:24 +0200)]
applied xclipboard patch. thx David Isaac Wolinsky.

14 years agoclean button selection code.
Aurélien Aptel [Tue, 12 Oct 2010 22:50:18 +0000 (00:50 +0200)]
clean button selection code.

14 years agocompose key patch. thx federico luna.
Aurélien Aptel [Tue, 21 Sep 2010 14:04:13 +0000 (16:04 +0200)]
compose key patch. thx federico luna.

14 years agos/hasfocus/focus/ for consistency.
Aurélien Aptel [Sat, 11 Sep 2010 14:07:36 +0000 (16:07 +0200)]
s/hasfocus/focus/ for consistency.

14 years agodon't draw if the window is not visible.
Aurélien Aptel [Sat, 11 Sep 2010 14:05:57 +0000 (16:05 +0200)]
don't draw if the window is not visible.

14 years agouse xclear() in draw().
Aurélien Aptel [Sat, 11 Sep 2010 14:01:41 +0000 (16:01 +0200)]
use xclear() in draw().

14 years agouse XCreateWindow(), set gravity bit.
Aurélien Aptel [Sat, 11 Sep 2010 13:59:54 +0000 (15:59 +0200)]
use XCreateWindow(), set gravity bit.

14 years agocleaning st.info. added comment in st.c for DECSCNM.
Aurélien Aptel [Thu, 2 Sep 2010 22:15:43 +0000 (00:15 +0200)]
cleaning st.info. added comment in st.c for DECSCNM.

14 years agocleaning st.info. fixed cvvis.
Aurélien Aptel [Thu, 2 Sep 2010 22:00:41 +0000 (00:00 +0200)]
cleaning st.info. fixed cvvis.

14 years agoset terminal colors to xterm default ones.
Aurélien Aptel [Thu, 2 Sep 2010 20:35:55 +0000 (22:35 +0200)]
set terminal colors to xterm default ones.

14 years agoremoved gfx chars not present in xterm acsc.
Aurélien Aptel [Thu, 2 Sep 2010 19:59:05 +0000 (21:59 +0200)]
removed gfx chars not present in xterm acsc.

14 years agofixed start/end sequence of gfx.
Aurélien Aptel [Thu, 2 Sep 2010 18:24:33 +0000 (20:24 +0200)]
fixed start/end sequence of gfx.

14 years agoundefined gfx doesn't draw \0.
Aurélien Aptel [Thu, 2 Sep 2010 18:21:40 +0000 (20:21 +0200)]
undefined gfx doesn't draw \0.

14 years agofixed makefile.
Aurélien Aptel [Thu, 2 Sep 2010 00:03:53 +0000 (02:03 +0200)]
fixed makefile.

14 years agoadded manpage.
Aurélien Aptel [Thu, 2 Sep 2010 00:02:56 +0000 (02:02 +0200)]
added manpage.

14 years agoresize from the top.
Aurélien Aptel [Wed, 1 Sep 2010 23:42:03 +0000 (01:42 +0200)]
resize from the top.

14 years agoadded -e and -t option.
Aurélien Aptel [Wed, 1 Sep 2010 23:37:01 +0000 (01:37 +0200)]
added -e and -t option.

14 years agofactored code and fixed behaviour of tnewline().
Aurélien Aptel [Wed, 1 Sep 2010 21:20:54 +0000 (23:20 +0200)]
factored code and fixed behaviour of tnewline().

14 years agoupdated TODO.
Aurélien Aptel [Wed, 1 Sep 2010 20:54:28 +0000 (22:54 +0200)]
updated TODO.

14 years agostarted to go through st.info and fix things.
Aurélien Aptel [Wed, 1 Sep 2010 20:54:07 +0000 (22:54 +0200)]
started to go through st.info and fix things.

14 years agocapabilities sorted by capname in st.info. copy acsc from xterm.
Aurélien Aptel [Wed, 1 Sep 2010 17:47:46 +0000 (19:47 +0200)]
capabilities sorted by capname in st.info. copy acsc from xterm.

14 years agoremoved debug code.
Aurélien Aptel [Wed, 1 Sep 2010 16:12:54 +0000 (18:12 +0200)]
removed debug code.

14 years agofixed IL and DL.
Aurélien Aptel [Wed, 1 Sep 2010 15:21:09 +0000 (17:21 +0200)]
fixed IL and DL.

14 years agofactor and cleanup code.
Aurélien Aptel [Wed, 1 Sep 2010 14:26:12 +0000 (16:26 +0200)]
factor and cleanup code.

14 years agoadded correct line drawing characters for default font.
Aurélien Aptel [Tue, 31 Aug 2010 22:30:39 +0000 (00:30 +0200)]
added correct line drawing characters for default font.

14 years agouse struct instead of array.
Aurélien Aptel [Tue, 31 Aug 2010 16:30:18 +0000 (18:30 +0200)]
use struct instead of array.

14 years agocleanup.
Aurélien Aptel [Tue, 31 Aug 2010 16:22:59 +0000 (18:22 +0200)]
cleanup.

14 years agofix segfault when selecting big buffers
pancake@nopcode.org [Tue, 31 Aug 2010 15:36:55 +0000 (17:36 +0200)]
fix segfault when selecting big buffers

shift+insert paste clipboard
honor CFLAGS and LDFLAGS in config.mk

14 years agofix build.
Aurélien Aptel [Tue, 31 Aug 2010 14:56:27 +0000 (16:56 +0200)]
fix build.

14 years agoadd selinit() and renamed clipboard_* to sel*.
Aurélien Aptel [Tue, 31 Aug 2010 14:53:34 +0000 (16:53 +0200)]
add selinit() and renamed clipboard_* to sel*.

14 years agomove event configuration in xinit().
Aurélien Aptel [Tue, 31 Aug 2010 14:30:11 +0000 (16:30 +0200)]
move event configuration in xinit().

14 years agouse one global struct instead of many vars for selection. Cleanup.
Aurélien Aptel [Tue, 31 Aug 2010 13:36:13 +0000 (15:36 +0200)]
use one global struct instead of many vars for selection. Cleanup.

14 years agouse GLYPH_SET to test if a char is set; cleanup.
Aurélien Aptel [Tue, 31 Aug 2010 12:52:52 +0000 (14:52 +0200)]
use GLYPH_SET to test if a char is set; cleanup.

14 years agofix crash for small windows
pancake@nopcode.org [Tue, 31 Aug 2010 09:40:57 +0000 (11:40 +0200)]
fix crash for small windows

use unconditional infinite loops

14 years agotoggle ATTR_REVERSE on selected text, factored some code and fixed Makefile.
Aurélien Aptel [Tue, 31 Aug 2010 09:02:17 +0000 (11:02 +0200)]
toggle ATTR_REVERSE on selected text, factored some code and fixed Makefile.

14 years agofix build
pancake [Mon, 30 Aug 2010 21:49:15 +0000 (23:49 +0200)]
fix build

use config.def.h mechanism
add SHELL in config.h

14 years agoinitial implementation of selection and clipboard
pancake [Mon, 30 Aug 2010 21:41:37 +0000 (23:41 +0200)]
initial implementation of selection and clipboard

14 years agofix segfault
pancake@nopcode.org [Mon, 30 Aug 2010 15:07:54 +0000 (17:07 +0200)]
fix segfault

14 years agoadded support for alternate screen.
Aurélien Aptel [Mon, 30 Aug 2010 14:48:18 +0000 (16:48 +0200)]
added support for alternate screen.

14 years agocursor is hid when unfocused.
Aurélien Aptel [Mon, 30 Aug 2010 13:28:29 +0000 (15:28 +0200)]
cursor is hid when unfocused.

14 years agouse predefined OS macro instead of uname.
Aurélien Aptel [Mon, 30 Aug 2010 11:04:19 +0000 (13:04 +0200)]
use predefined OS macro instead of uname.

14 years agost should compile on NetBSD.
Aurélien Aptel [Sun, 29 Aug 2010 23:20:38 +0000 (01:20 +0200)]
st should compile on NetBSD.

14 years agoremoved pty.h. minimal system guessing added in config.mk.
Aurélien Aptel [Mon, 30 Aug 2010 01:12:11 +0000 (03:12 +0200)]
removed pty.h. minimal system guessing added in config.mk.

14 years agoremoved (visual) bell. '\a' sets the urgency flag if st is unfocused.
Aurélien Aptel [Mon, 30 Aug 2010 01:05:05 +0000 (03:05 +0200)]
removed (visual) bell. '\a' sets the urgency flag if st is unfocused.

14 years agoremoved useless cursor init. and renamed xcursor() to xdrawcursor().
Aurélien Aptel [Sun, 29 Aug 2010 23:45:57 +0000 (01:45 +0200)]
removed useless cursor init. and renamed xcursor() to xdrawcursor().

14 years agoadded support for the "magic margin", changed c.hide to c.state, changed xcursor...
Aurélien Aptel [Sun, 29 Aug 2010 23:35:37 +0000 (01:35 +0200)]
added support for the "magic margin", changed c.hide to c.state, changed xcursor() to use term instead of a

parameter and fixed the cursor position after setting a scrolling region.

14 years agoremoved old VT52 escapes, fixed VT100 IND.
Aurélien Aptel [Sun, 29 Aug 2010 23:19:05 +0000 (01:19 +0200)]
removed old VT52 escapes, fixed VT100 IND.

14 years agofix warning
pancake [Sun, 29 Aug 2010 22:32:49 +0000 (00:32 +0200)]
fix warning

14 years agofixed optimized drawing routine and factored some code.
Aurélien Aptel [Sun, 29 Aug 2010 18:12:44 +0000 (20:12 +0200)]
fixed optimized drawing routine and factored some code.