Commit Graph

1072 Commits

Author SHA1 Message Date
Aurélien Aptel
eff05c7b90 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.
2010-02-08 23:16:55 +01:00
Aurélien Aptel
e6b3f5c755 graphic charset and a few more escapes. 2010-02-03 16:18:04 +01:00
Aurélien Aptel
0981437524 TERM set to xterm by default (which broke a lot of stuff), better escape handling (title), and a little clean up. 2010-02-03 03:25:35 +01:00
Aurélien Aptel
f2dff29a16 drawing is faster but the bold attr is not supported anymore. 2009-10-28 14:34:22 +01:00
Aurélien Aptel
4e6915a16b Fixed possible segfault by reverting to the key struct (again). 2009-09-07 21:19:29 +02:00
Anselm R Garbe
dab8326e64 only compile tdump if DEBUG flag is set 2009-07-10 16:27:14 +01:00
Anselm R Garbe
cf65699a29 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 2009-07-10 16:23:11 +01:00
Aurélien Aptel
0a5e510209 reverted back to the old Key struct. 2009-06-21 19:52:06 +02:00
Aurélien Aptel
4d794b3479 updated "key" to a lookup table. 2009-06-21 19:37:12 +02:00
Aurélien Aptel
44d8c319a9 removed old unused cursor() proto. 2009-06-17 20:44:36 +02:00
Aurélien Aptel
b8ffa1d7e9 fixed the scrolling bug and cleaned some stuff. 2009-06-17 02:58:40 +02:00
Aurélien Aptel
d5f4554431 dump escseq if not handled. 2009-06-16 12:34:10 +02:00
Aurélien Aptel
53937e045a clean up. 2009-06-16 02:41:45 +02:00
Aurélien Aptel
2e37752961 added/removed files, updated Makefile. 2009-06-16 02:33:38 +02:00
Aurélien Aptel
8b4bfe31ec made kpress() more flexible, removed st.h, added config.h. 2009-06-16 02:23:46 +02:00
Aurélien Aptel
5d8aa08ba5 updated TODO. 2009-06-11 17:03:25 +02:00
Aurélien Aptel
ad39f000be added sigchld handler, cleaned error checking. 2009-06-11 16:41:14 +02:00
Aurélien Aptel
2f35cef54b cleaned up (removed space indentation). select/event bug fixed. 2009-05-28 01:33:01 +02:00
Aurélien Aptel
129bcd7586 fixed a memory leak & segfault in tresize. 2009-05-26 02:21:02 +02:00
Aurélien Aptel
059d2ba264 updated TODO. 2009-05-15 00:40:47 +02:00
Aurélien Aptel
a866108af2 tab moves the cursor instead of inserting spaces. 2009-05-15 00:39:51 +02:00
Aurélien Aptel
1cf8b77d27 handle tabulation (still not perfect) 2009-05-14 01:03:17 +02:00
Aurélien Aptel
0ecfcc39b0 removed truecolor stuff 2009-05-14 00:28:10 +02:00
Aurélien Aptel
abe6f3b0e4 removed the truecolor stuff 2009-05-14 00:27:37 +02:00
Aurélien Aptel
86fa756033 same thing, really fixed this time. 2009-05-14 00:18:05 +02:00
Aurélien Aptel
ccafacb3ff added some error checking in xinit (fixed the segfault caused by a missing font) 2009-05-14 00:04:34 +02:00
Aurélien Aptel
fd281ad336 Removed unused variable and cleaned some comment. 2009-05-10 23:32:21 +02:00
Anselm R Garbe
d58dd3b8bc backport of local changes 2009-05-10 13:17:09 +01:00
Matthias-Christian Ott
802f1922f9 add accidentally omitted word 2008-09-05 20:25:34 +02:00
Matthias-Christian Ott
a7f50ebb64 use stdio(3) 2008-08-25 17:56:00 +02:00
Matthias-Christian Ott
07d1edcd76 add description of std 2008-08-25 16:29:37 +02:00
Matthias-Christian Ott
d61a2a8fce add prototype for command parsing 2008-08-07 10:38:54 +02:00
Matthias-Christian Ott
240411e7d0 correct year of copyright notice 2008-07-21 17:10:33 +02:00
Matthias-Christian Ott
e0d0a2b96e 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.
2008-07-21 17:06:59 +02:00
Matthias-Christian Ott
082d8bb82b reunite pty.c with std.c 2008-07-21 10:34:02 +02:00
Matthias-Christian Ott
6c6b65ea6e correct programme name 2008-07-21 09:25:47 +02:00
Matthias-Christian Ott
746931a3d4 use errx() for help and version messages 2008-07-21 09:25:25 +02:00
Matthias-Christian Ott
a95f4f2ed9 merge with backout head 2008-07-10 22:43:24 +02:00
Matthias-Christian Ott
7a132bd6ac Backed out changeset d2bb4220fdf3
Ptm and pts are used by pty.c, thus they have to be non-static.
2008-07-10 22:42:10 +02:00
Matthias-Christian Ott
fb4508b0b7 remove TODO 2008-07-09 11:10:38 +02:00
Matthias-Christian Ott
0cbcedb89f make ptm and pts static 2008-07-09 10:50:44 +02:00
Matthias-Christian Ott
afc73c920d remove useless variable 2008-07-05 13:29:21 +02:00
Matthias-Christian Ott
b3902ca178 remove emallocz() 2008-07-04 18:18:51 +02:00
Matthias-Christian Ott
f982c1c37c replace eprint() functions with BSD error functions 2008-07-04 18:05:08 +02:00
Matthias-Christian Ott
d83cbc27b9 simplify flushing 2008-06-15 17:31:24 +02:00
Matthias-Christian Ott
3cb6793781 correct buffering 2008-06-15 09:19:22 +02:00
Matthias-Christian Ott
cf147ae9da make local functions and variables static 2008-06-14 23:29:11 +02:00
Matthias-Christian Ott
f9a0524f94 add select(2)-based i/o multiplexing 2008-06-14 23:24:12 +02:00
Matthias-Christian Ott
a49919a10c drop stdio usage
Std requires I/O multiplexing which is very complicated with
stdio, because it provides no transparent buffering.
2008-06-14 23:12:07 +02:00
Matthias-Christian Ott
0c0ada8a7f make st and std separate programmes 2008-06-14 11:03:29 +02:00