Aurélien Aptel [Tue, 31 Aug 2010 22:30:39 +0000 (00:30 +0200)]
added correct line drawing characters for default font.
Aurélien Aptel [Tue, 31 Aug 2010 16:30:18 +0000 (18:30 +0200)]
use struct instead of array.
Aurélien Aptel [Tue, 31 Aug 2010 16:22:59 +0000 (18:22 +0200)]
cleanup.
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
Aurélien Aptel [Tue, 31 Aug 2010 14:56:27 +0000 (16:56 +0200)]
fix build.
Aurélien Aptel [Tue, 31 Aug 2010 14:53:34 +0000 (16:53 +0200)]
add selinit() and renamed clipboard_* to sel*.
Aurélien Aptel [Tue, 31 Aug 2010 14:30:11 +0000 (16:30 +0200)]
move event configuration in xinit().
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.
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.
pancake@nopcode.org [Tue, 31 Aug 2010 09:40:57 +0000 (11:40 +0200)]
fix crash for small windows
use unconditional infinite loops
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.
pancake [Mon, 30 Aug 2010 21:49:15 +0000 (23:49 +0200)]
fix build
use config.def.h mechanism
add SHELL in config.h
pancake [Mon, 30 Aug 2010 21:41:37 +0000 (23:41 +0200)]
initial implementation of selection and clipboard
pancake@nopcode.org [Mon, 30 Aug 2010 15:07:54 +0000 (17:07 +0200)]
fix segfault
Aurélien Aptel [Mon, 30 Aug 2010 14:48:18 +0000 (16:48 +0200)]
added support for alternate screen.
Aurélien Aptel [Mon, 30 Aug 2010 13:28:29 +0000 (15:28 +0200)]
cursor is hid when unfocused.
Aurélien Aptel [Mon, 30 Aug 2010 11:04:19 +0000 (13:04 +0200)]
use predefined OS macro instead of uname.
Aurélien Aptel [Sun, 29 Aug 2010 23:20:38 +0000 (01:20 +0200)]
st should compile on NetBSD.
Aurélien Aptel [Mon, 30 Aug 2010 01:12:11 +0000 (03:12 +0200)]
removed pty.h. minimal system guessing added in config.mk.
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.
Aurélien Aptel [Sun, 29 Aug 2010 23:45:57 +0000 (01:45 +0200)]
removed useless cursor init. and renamed xcursor() to xdrawcursor().
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.
Aurélien Aptel [Sun, 29 Aug 2010 23:19:05 +0000 (01:19 +0200)]
removed old VT52 escapes, fixed VT100 IND.
pancake [Sun, 29 Aug 2010 22:32:49 +0000 (00:32 +0200)]
fix warning
Aurélien Aptel [Sun, 29 Aug 2010 18:12:44 +0000 (20:12 +0200)]
fixed optimized drawing routine and factored some code.
Aurélien Aptel [Sun, 29 Aug 2010 17:41:36 +0000 (19:41 +0200)]
fixed pixmap buffer drawing.
Aurélien Aptel [Sun, 29 Aug 2010 17:14:05 +0000 (19:14 +0200)]
added a XFlush() 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.
Aurélien Aptel [Sun, 29 Aug 2010 10:27:59 +0000 (12:27 +0200)]
merged tscroll() with tscrollup().
Aurélien Aptel [Sat, 28 Aug 2010 01:18:22 +0000 (03:18 +0200)]
st now runs on Linux, OpenBSD and FreeBSD.
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)
Aurélien Aptel [Thu, 26 Aug 2010 22:58:28 +0000 (00:58 +0200)]
fixed potential bug in IS_SET().
Aurélien Aptel [Thu, 26 Aug 2010 22:28:27 +0000 (00:28 +0200)]
merged tcursorwrap() with tnewline(), added few comments and updated copyright.
Aurélien Aptel [Thu, 26 Aug 2010 22:05:50 +0000 (00:05 +0200)]
cleaned some spaces.
Aurélien Aptel [Thu, 26 Aug 2010 21:43:08 +0000 (23:43 +0200)]
added macro to test flags, removed tmovecursor().
Aurélien Aptel [Thu, 26 Aug 2010 19:37:12 +0000 (21:37 +0200)]
faster resizing.
Aurélien Aptel [Thu, 26 Aug 2010 19:36:21 +0000 (21:36 +0200)]
close master/slave pty in the shell process.
Aurélien Aptel [Thu, 26 Aug 2010 19:34:37 +0000 (21:34 +0200)]
clean \t.
Aurélien Aptel [Thu, 26 Aug 2010 19:33:53 +0000 (21:33 +0200)]
update function prototypes.
Aurélien Aptel [Thu, 26 Aug 2010 19:32:34 +0000 (21:32 +0200)]
fix \b and clean \t.
Aurélien Aptel [Sun, 22 Aug 2010 17:46:46 +0000 (19:46 +0200)]
added F1-12 key, fixed DCH and ICH.
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.
Aurélien Aptel [Fri, 13 Aug 2010 20:43:30 +0000 (22:43 +0200)]
renamed a function.
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!
pancake@nopcode.org [Thu, 8 Jul 2010 15:34:02 +0000 (17:34 +0200)]
fix gcc warnings
Aurélien Aptel [Thu, 8 Jul 2010 14:31:41 +0000 (16:31 +0200)]
fixed background color bug (thx Devin J. Pohly).
Aurélien Aptel [Thu, 3 Jun 2010 21:14:37 +0000 (23:14 +0200)]
added PBaseSize hint and set default title to "st".
Aurélien Aptel [Wed, 2 Jun 2010 14:01:30 +0000 (16:01 +0200)]
rearranged code, resize fixed.
Aurélien Aptel [Mon, 26 Apr 2010 22:04:29 +0000 (00:04 +0200)]
little clean up.
Aurélien Aptel [Mon, 26 Apr 2010 17:20:53 +0000 (19:20 +0200)]
use SHELL environment variable (thx Thomas Adam)
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.
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.
Aurélien Aptel [Sun, 21 Feb 2010 13:59:32 +0000 (14:59 +0100)]
added VT100 NEL.
Aurélien Aptel [Sun, 21 Feb 2010 13:39:31 +0000 (14:39 +0100)]
added VT100 RI.
Aurélien Aptel [Sun, 21 Feb 2010 13:28:32 +0000 (14:28 +0100)]
added VT100 save&load cursor support.
Aurélien Aptel [Sun, 21 Feb 2010 13:14:58 +0000 (14:14 +0100)]
ECH handled correctly.
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.
Aurélien Aptel [Wed, 3 Feb 2010 15:18:04 +0000 (16:18 +0100)]
graphic charset and a few more escapes.
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.
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.
Aurélien Aptel [Mon, 7 Sep 2009 19:19:29 +0000 (21:19 +0200)]
Fixed possible segfault by reverting to the key struct (again).
Anselm R Garbe [Fri, 10 Jul 2009 15:27:14 +0000 (16:27 +0100)]
only compile tdump if DEBUG flag is set
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
Aurélien Aptel [Sun, 21 Jun 2009 17:52:06 +0000 (19:52 +0200)]
reverted back to the old Key struct.
Aurélien Aptel [Sun, 21 Jun 2009 17:37:12 +0000 (19:37 +0200)]
updated "key" to a lookup table.
Aurélien Aptel [Wed, 17 Jun 2009 18:44:36 +0000 (20:44 +0200)]
removed old unused cursor() proto.
Aurélien Aptel [Wed, 17 Jun 2009 00:58:40 +0000 (02:58 +0200)]
fixed the scrolling bug and cleaned some stuff.
Aurélien Aptel [Tue, 16 Jun 2009 10:34:10 +0000 (12:34 +0200)]
dump escseq if not handled.
Aurélien Aptel [Tue, 16 Jun 2009 00:41:45 +0000 (02:41 +0200)]
clean up.
Aurélien Aptel [Tue, 16 Jun 2009 00:33:38 +0000 (02:33 +0200)]
added/removed files, updated Makefile.
Aurélien Aptel [Tue, 16 Jun 2009 00:23:46 +0000 (02:23 +0200)]
made kpress() more flexible, removed st.h, added config.h.
Aurélien Aptel [Thu, 11 Jun 2009 15:03:25 +0000 (17:03 +0200)]
updated TODO.
Aurélien Aptel [Thu, 11 Jun 2009 14:41:14 +0000 (16:41 +0200)]
added sigchld handler, cleaned error checking.
Aurélien Aptel [Wed, 27 May 2009 23:33:01 +0000 (01:33 +0200)]
cleaned up (removed space indentation). select/event bug fixed.
Aurélien Aptel [Tue, 26 May 2009 00:21:02 +0000 (02:21 +0200)]
fixed a memory leak & segfault in tresize.
Aurélien Aptel [Thu, 14 May 2009 22:40:47 +0000 (00:40 +0200)]
updated TODO.
Aurélien Aptel [Thu, 14 May 2009 22:39:51 +0000 (00:39 +0200)]
tab moves the cursor instead of inserting spaces.
Aurélien Aptel [Wed, 13 May 2009 23:03:17 +0000 (01:03 +0200)]
handle tabulation (still not perfect)
Aurélien Aptel [Wed, 13 May 2009 22:28:10 +0000 (00:28 +0200)]
removed truecolor stuff
Aurélien Aptel [Wed, 13 May 2009 22:27:37 +0000 (00:27 +0200)]
removed the truecolor stuff
Aurélien Aptel [Wed, 13 May 2009 22:18:05 +0000 (00:18 +0200)]
same thing, really fixed this time.
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)
Aurélien Aptel [Sun, 10 May 2009 21:32:21 +0000 (23:32 +0200)]
Removed unused variable and cleaned some comment.
Anselm R Garbe [Sun, 10 May 2009 12:17:09 +0000 (13:17 +0100)]
backport of local changes
Matthias-Christian Ott [Fri, 5 Sep 2008 18:25:34 +0000 (20:25 +0200)]
add accidentally omitted word
Matthias-Christian Ott [Mon, 25 Aug 2008 15:56:00 +0000 (17:56 +0200)]
use stdio(3)
Matthias-Christian Ott [Mon, 25 Aug 2008 14:29:37 +0000 (16:29 +0200)]
add description of std
Matthias-Christian Ott [Thu, 7 Aug 2008 08:38:54 +0000 (10:38 +0200)]
add prototype for command parsing
Matthias-Christian Ott [Mon, 21 Jul 2008 15:10:33 +0000 (17:10 +0200)]
correct year of copyright notice
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.
Matthias-Christian Ott [Mon, 21 Jul 2008 08:34:02 +0000 (10:34 +0200)]
reunite pty.c with std.c
Matthias-Christian Ott [Mon, 21 Jul 2008 07:25:47 +0000 (09:25 +0200)]
correct programme name
Matthias-Christian Ott [Mon, 21 Jul 2008 07:25:25 +0000 (09:25 +0200)]
use errx() for help and version messages
Matthias-Christian Ott [Thu, 10 Jul 2008 20:43:24 +0000 (22:43 +0200)]
merge with backout head
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.
Matthias-Christian Ott [Wed, 9 Jul 2008 09:10:38 +0000 (11:10 +0200)]
remove TODO
Matthias-Christian Ott [Wed, 9 Jul 2008 08:50:44 +0000 (10:50 +0200)]
make ptm and pts static
Matthias-Christian Ott [Sat, 5 Jul 2008 11:29:21 +0000 (13:29 +0200)]
remove useless variable
Matthias-Christian Ott [Fri, 4 Jul 2008 16:18:51 +0000 (18:18 +0200)]
remove emallocz()
Matthias-Christian Ott [Fri, 4 Jul 2008 16:05:08 +0000 (18:05 +0200)]
replace eprint() functions with BSD error functions