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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

14 years agodouble-buffering added using pixmap (finally).
Aurélien Aptel [Mon, 15 Mar 2010 22:56:38 +0000 (23:56 +0100)]
double-buffering added using pixmap (finally).

results in a lot of simplification :
- no more dirty flags (perf are good enough).
- no more ugly gfx call in emulation functions.
LINESPACE removed from config.h.
BORDER is now handled correctly.

14 years agobold attribute is back.
Aurélien Aptel [Thu, 11 Mar 2010 22:50:50 +0000 (23:50 +0100)]
bold attribute is back.

visibility of the cursor is not saved/loaded anymore.
scrolling up/down is fixed.
added RI and RIS sequences.
fixed cursor drawing bug.

14 years agoadded VT100 NEL.
Aurélien Aptel [Sun, 21 Feb 2010 13:59:32 +0000 (14:59 +0100)]
added VT100 NEL.

14 years agoadded VT100 RI.
Aurélien Aptel [Sun, 21 Feb 2010 13:39:31 +0000 (14:39 +0100)]
added VT100 RI.

14 years agoadded VT100 save&load cursor support.
Aurélien Aptel [Sun, 21 Feb 2010 13:28:32 +0000 (14:28 +0100)]
added VT100 save&load cursor support.

14 years agoECH handled correctly.
Aurélien Aptel [Sun, 21 Feb 2010 13:14:58 +0000 (14:14 +0100)]
ECH handled correctly.

14 years agomore escapes & more compability:
Aurélien Aptel [Mon, 8 Feb 2010 22:16:55 +0000 (23:16 +0100)]
more escapes & more compability:

cursor keys are handled in kpress according to the Application Mode (DECPAM).
define & enum were renamed.
tcursor() is now tmovecursor() which is more correct.
tcpos() is now tcursor(), as DECSC is also supposed to save attributes.
capnames are indicated whenever possible.

Currently:
alsamixer looks fine, totally usable.
ncmpc is almost ok.
emacs looks like shit.

14 years agographic charset and a few more escapes.
Aurélien Aptel [Wed, 3 Feb 2010 15:18:04 +0000 (16:18 +0100)]
graphic charset and a few more escapes.

14 years agoTERM set to xterm by default (which broke a lot of stuff), better escape handling...
Aurélien Aptel [Wed, 3 Feb 2010 02:25:35 +0000 (03:25 +0100)]
TERM set to xterm by default (which broke a lot of stuff), better escape handling (title), and a little clean up.

15 years agodrawing is faster but the bold attr is not supported anymore.
Aurélien Aptel [Wed, 28 Oct 2009 13:34:22 +0000 (14:34 +0100)]
drawing is faster but the bold attr is not supported anymore.

15 years agoFixed possible segfault by reverting to the key struct (again).
Aurélien Aptel [Mon, 7 Sep 2009 19:19:29 +0000 (21:19 +0200)]
Fixed possible segfault by reverting to the key struct (again).

15 years agoonly compile tdump if DEBUG flag is set
Anselm R Garbe [Fri, 10 Jul 2009 15:27:14 +0000 (16:27 +0100)]
only compile tdump if DEBUG flag is set

15 years agowe definately need pixmaps for the drawing, currently drawing into the window is...
Anselm R Garbe [Fri, 10 Jul 2009 15:23:11 +0000 (16:23 +0100)]
we definately need pixmaps for the drawing, currently drawing into the window is painfully slow! much more slower than drawing into a pixmap and mapping that when finished -- several optimisations

15 years agoreverted back to the old Key struct.
Aurélien Aptel [Sun, 21 Jun 2009 17:52:06 +0000 (19:52 +0200)]
reverted back to the old Key struct.

15 years agoupdated "key" to a lookup table.
Aurélien Aptel [Sun, 21 Jun 2009 17:37:12 +0000 (19:37 +0200)]
updated "key" to a lookup table.

15 years agoremoved old unused cursor() proto.
Aurélien Aptel [Wed, 17 Jun 2009 18:44:36 +0000 (20:44 +0200)]
removed old unused cursor() proto.

15 years agofixed the scrolling bug and cleaned some stuff.
Aurélien Aptel [Wed, 17 Jun 2009 00:58:40 +0000 (02:58 +0200)]
fixed the scrolling bug and cleaned some stuff.

15 years agodump escseq if not handled.
Aurélien Aptel [Tue, 16 Jun 2009 10:34:10 +0000 (12:34 +0200)]
dump escseq if not handled.

15 years agoclean up.
Aurélien Aptel [Tue, 16 Jun 2009 00:41:45 +0000 (02:41 +0200)]
clean up.

15 years agoadded/removed files, updated Makefile.
Aurélien Aptel [Tue, 16 Jun 2009 00:33:38 +0000 (02:33 +0200)]
added/removed files, updated Makefile.

15 years agomade kpress() more flexible, removed st.h, added config.h.
Aurélien Aptel [Tue, 16 Jun 2009 00:23:46 +0000 (02:23 +0200)]
made kpress() more flexible, removed st.h, added config.h.

15 years agoupdated TODO.
Aurélien Aptel [Thu, 11 Jun 2009 15:03:25 +0000 (17:03 +0200)]
updated TODO.

15 years agoadded sigchld handler, cleaned error checking.
Aurélien Aptel [Thu, 11 Jun 2009 14:41:14 +0000 (16:41 +0200)]
added sigchld handler, cleaned error checking.

15 years agocleaned up (removed space indentation). select/event bug fixed.
Aurélien Aptel [Wed, 27 May 2009 23:33:01 +0000 (01:33 +0200)]
cleaned up (removed space indentation). select/event bug fixed.

15 years agofixed a memory leak & segfault in tresize.
Aurélien Aptel [Tue, 26 May 2009 00:21:02 +0000 (02:21 +0200)]
fixed a memory leak & segfault in tresize.

15 years agoupdated TODO.
Aurélien Aptel [Thu, 14 May 2009 22:40:47 +0000 (00:40 +0200)]
updated TODO.

15 years agotab moves the cursor instead of inserting spaces.
Aurélien Aptel [Thu, 14 May 2009 22:39:51 +0000 (00:39 +0200)]
tab moves the cursor instead of inserting spaces.

15 years agohandle tabulation (still not perfect)
Aurélien Aptel [Wed, 13 May 2009 23:03:17 +0000 (01:03 +0200)]
handle tabulation (still not perfect)

15 years agoremoved truecolor stuff
Aurélien Aptel [Wed, 13 May 2009 22:28:10 +0000 (00:28 +0200)]
removed truecolor stuff

15 years agoremoved the truecolor stuff
Aurélien Aptel [Wed, 13 May 2009 22:27:37 +0000 (00:27 +0200)]
removed the truecolor stuff

15 years agosame thing, really fixed this time.
Aurélien Aptel [Wed, 13 May 2009 22:18:05 +0000 (00:18 +0200)]
same thing, really fixed this time.

15 years agoadded some error checking in xinit (fixed the segfault caused by a missing font)
Aurélien Aptel [Wed, 13 May 2009 22:04:34 +0000 (00:04 +0200)]
added some error checking in xinit (fixed the segfault caused by a missing font)

15 years agoRemoved unused variable and cleaned some comment.
Aurélien Aptel [Sun, 10 May 2009 21:32:21 +0000 (23:32 +0200)]
Removed unused variable and cleaned some comment.

15 years agobackport of local changes
Anselm R Garbe [Sun, 10 May 2009 12:17:09 +0000 (13:17 +0100)]
backport of local changes

16 years agoadd accidentally omitted word
Matthias-Christian Ott [Fri, 5 Sep 2008 18:25:34 +0000 (20:25 +0200)]
add accidentally omitted word

16 years agouse stdio(3)
Matthias-Christian Ott [Mon, 25 Aug 2008 15:56:00 +0000 (17:56 +0200)]
use stdio(3)

16 years agoadd description of std
Matthias-Christian Ott [Mon, 25 Aug 2008 14:29:37 +0000 (16:29 +0200)]
add description of std

16 years agoadd prototype for command parsing
Matthias-Christian Ott [Thu, 7 Aug 2008 08:38:54 +0000 (10:38 +0200)]
add prototype for command parsing

16 years agocorrect year of copyright notice
Matthias-Christian Ott [Mon, 21 Jul 2008 15:10:33 +0000 (17:10 +0200)]
correct year of copyright notice

16 years agosimplify Makefile
Matthias-Christian Ott [Mon, 21 Jul 2008 15:06:59 +0000 (17:06 +0200)]
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.

16 years agoreunite pty.c with std.c
Matthias-Christian Ott [Mon, 21 Jul 2008 08:34:02 +0000 (10:34 +0200)]
reunite pty.c with std.c

16 years agocorrect programme name
Matthias-Christian Ott [Mon, 21 Jul 2008 07:25:47 +0000 (09:25 +0200)]
correct programme name

16 years agouse errx() for help and version messages
Matthias-Christian Ott [Mon, 21 Jul 2008 07:25:25 +0000 (09:25 +0200)]
use errx() for help and version messages

16 years agomerge with backout head
Matthias-Christian Ott [Thu, 10 Jul 2008 20:43:24 +0000 (22:43 +0200)]
merge with backout head

16 years agoBacked out changeset d2bb4220fdf3
Matthias-Christian Ott [Thu, 10 Jul 2008 20:42:10 +0000 (22:42 +0200)]
Backed out changeset d2bb4220fdf3

Ptm and pts are used by pty.c, thus they have to be non-static.

16 years agoremove TODO
Matthias-Christian Ott [Wed, 9 Jul 2008 09:10:38 +0000 (11:10 +0200)]
remove TODO

16 years agomake ptm and pts static
Matthias-Christian Ott [Wed, 9 Jul 2008 08:50:44 +0000 (10:50 +0200)]
make ptm and pts static

16 years agoremove useless variable
Matthias-Christian Ott [Sat, 5 Jul 2008 11:29:21 +0000 (13:29 +0200)]
remove useless variable

16 years agoremove emallocz()
Matthias-Christian Ott [Fri, 4 Jul 2008 16:18:51 +0000 (18:18 +0200)]
remove emallocz()

16 years agoreplace eprint() functions with BSD error functions
Matthias-Christian Ott [Fri, 4 Jul 2008 16:05:08 +0000 (18:05 +0200)]
replace eprint() functions with BSD error functions