JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
st.git
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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

13 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

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

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

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

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

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

13 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

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

13 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

13 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

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

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

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

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

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

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

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

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

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

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

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

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

13 years agofixed pixmap buffer drawing.
Aurélien Aptel [Sun, 29 Aug 2010 17:41:36 +0000 (19:41 +0200)]
fixed pixmap buffer drawing.

13 years agoadded a XFlush() in xbell().
Aurélien Aptel [Sun, 29 Aug 2010 17:14:05 +0000 (19:14 +0200)]
added a XFlush() in xbell().

13 years agomoved term.hidec in term.c for consistency, put back delay in xbell()
Aurélien Aptel [Sun, 29 Aug 2010 16:55:15 +0000 (18:55 +0200)]
moved term.hidec in term.c for consistency, put back delay in xbell()

along with duration in config.h, factored some code in tnew()/treset()
and cleaned some code.

13 years agomerged tscroll() with tscrollup().
Aurélien Aptel [Sun, 29 Aug 2010 10:27:59 +0000 (12:27 +0200)]
merged tscroll() with tscrollup().

13 years agost now runs on Linux, OpenBSD and FreeBSD.
Aurélien Aptel [Sat, 28 Aug 2010 01:18:22 +0000 (03:18 +0200)]
st now runs on Linux, OpenBSD and FreeBSD.

13 years agoremoved XINERAMA from config.mk and fixed a segfault when st is
Aurélien Aptel [Fri, 27 Aug 2010 11:53:27 +0000 (13:53 +0200)]
removed XINERAMA from config.mk and fixed a segfault when st is

started without a display. (thx Hiltjo Posthuma)

13 years agofixed potential bug in IS_SET().
Aurélien Aptel [Thu, 26 Aug 2010 22:58:28 +0000 (00:58 +0200)]
fixed potential bug in IS_SET().

13 years agomerged tcursorwrap() with tnewline(), added few comments and updated copyright.
Aurélien Aptel [Thu, 26 Aug 2010 22:28:27 +0000 (00:28 +0200)]
merged tcursorwrap() with tnewline(), added few comments and updated copyright.

13 years agocleaned some spaces.
Aurélien Aptel [Thu, 26 Aug 2010 22:05:50 +0000 (00:05 +0200)]
cleaned some spaces.

13 years agoadded macro to test flags, removed tmovecursor().
Aurélien Aptel [Thu, 26 Aug 2010 21:43:08 +0000 (23:43 +0200)]
added macro to test flags, removed tmovecursor().

13 years agofaster resizing.
Aurélien Aptel [Thu, 26 Aug 2010 19:37:12 +0000 (21:37 +0200)]
faster resizing.

13 years agoclose master/slave pty in the shell process.
Aurélien Aptel [Thu, 26 Aug 2010 19:36:21 +0000 (21:36 +0200)]
close master/slave pty in the shell process.

13 years agoclean \t.
Aurélien Aptel [Thu, 26 Aug 2010 19:34:37 +0000 (21:34 +0200)]
clean \t.

13 years agoupdate function prototypes.
Aurélien Aptel [Thu, 26 Aug 2010 19:33:53 +0000 (21:33 +0200)]
update function prototypes.

13 years agofix \b and clean \t.
Aurélien Aptel [Thu, 26 Aug 2010 19:32:34 +0000 (21:32 +0200)]
fix \b and clean \t.

13 years agoadded F1-12 key, fixed DCH and ICH.
Aurélien Aptel [Sun, 22 Aug 2010 17:46:46 +0000 (19:46 +0200)]
added F1-12 key, fixed DCH and ICH.

13 years agofixed backspace problem, updated terminfo entry and moved TNAME in config.h.
Aurélien Aptel [Thu, 19 Aug 2010 10:46:54 +0000 (12:46 +0200)]
fixed backspace problem, updated terminfo entry and moved TNAME in config.h.

13 years agorenamed a function.
Aurélien Aptel [Fri, 13 Aug 2010 20:43:30 +0000 (22:43 +0200)]
renamed a function.

13 years agoapplied Devin J Pohly's st color info patches, thanks Devin!
Anselm R Garbe [Sat, 24 Jul 2010 11:09:14 +0000 (12:09 +0100)]
applied Devin J Pohly's st color info patches, thanks Devin!

13 years agofix gcc warnings
pancake@nopcode.org [Thu, 8 Jul 2010 15:34:02 +0000 (17:34 +0200)]
fix gcc warnings

13 years agofixed background color bug (thx Devin J. Pohly).
Aurélien Aptel [Thu, 8 Jul 2010 14:31:41 +0000 (16:31 +0200)]
fixed background color bug (thx Devin J. Pohly).

13 years agoadded PBaseSize hint and set default title to "st".
Aurélien Aptel [Thu, 3 Jun 2010 21:14:37 +0000 (23:14 +0200)]
added PBaseSize hint and set default title to "st".

13 years agorearranged code, resize fixed.
Aurélien Aptel [Wed, 2 Jun 2010 14:01:30 +0000 (16:01 +0200)]
rearranged code, resize fixed.

14 years agolittle clean up.
Aurélien Aptel [Mon, 26 Apr 2010 22:04:29 +0000 (00:04 +0200)]
little clean up.

14 years agouse SHELL environment variable (thx Thomas Adam)
Aurélien Aptel [Mon, 26 Apr 2010 17:20:53 +0000 (19:20 +0200)]
use SHELL environment variable (thx Thomas Adam)