Aurélien Aptel
ee858b4805
use one global struct instead of many vars for selection. Cleanup.
14 years ago
Aurélien Aptel
80f70f1c22
use GLYPH_SET to test if a char is set; cleanup.
14 years ago
pancake@nopcode.org
23cc3fc571
fix crash for small windows
use unconditional infinite loops
14 years ago
Aurélien Aptel
160bda1b60
toggle ATTR_REVERSE on selected text, factored some code and fixed Makefile.
14 years ago
pancake
596bb133a5
fix build
use config.def.h mechanism
add SHELL in config.h
14 years ago
pancake
0ba53e48c7
initial implementation of selection and clipboard
14 years ago
pancake@nopcode.org
e1ce89f267
fix segfault
14 years ago
Aurélien Aptel
12c25bcea9
added support for alternate screen.
14 years ago
Aurélien Aptel
326586ba43
cursor is hid when unfocused.
14 years ago
Aurélien Aptel
ae5baac932
use predefined OS macro instead of uname.
14 years ago
Aurélien Aptel
bef87acd0d
st should compile on NetBSD.
14 years ago
Aurélien Aptel
1bb7398f4b
removed pty.h. minimal system guessing added in config.mk.
14 years ago
Aurélien Aptel
e851736e8b
removed (visual) bell. '\a' sets the urgency flag if st is unfocused.
14 years ago
Aurélien Aptel
188293c828
removed useless cursor init. and renamed xcursor() to xdrawcursor().
14 years ago
Aurélien Aptel
7d88cf88d0
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 ago
Aurélien Aptel
1f6e7b84c6
removed old VT52 escapes, fixed VT100 IND.
14 years ago
pancake
581ae58b41
fix warning
14 years ago
Aurélien Aptel
5258d60545
fixed optimized drawing routine and factored some code.
14 years ago
Aurélien Aptel
b4f623f910
fixed pixmap buffer drawing.
14 years ago
Aurélien Aptel
eab9aad1dc
added a XFlush() in xbell().
14 years ago
Aurélien Aptel
2181040594
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 ago
Aurélien Aptel
c186c8ef9a
merged tscroll() with tscrollup().
14 years ago
Aurélien Aptel
6db6980e27
st now runs on Linux, OpenBSD and FreeBSD.
14 years ago
Aurélien Aptel
c563328571
removed XINERAMA from config.mk and fixed a segfault when st is
started without a display. (thx Hiltjo Posthuma)
14 years ago
Aurélien Aptel
a1018e0e9e
fixed potential bug in IS_SET().
14 years ago
Aurélien Aptel
fbb66da9a9
merged tcursorwrap() with tnewline(), added few comments and updated copyright.
14 years ago
Aurélien Aptel
42b2912e21
cleaned some spaces.
14 years ago
Aurélien Aptel
5d611cd547
added macro to test flags, removed tmovecursor().
14 years ago
Aurélien Aptel
4db3df312a
faster resizing.
14 years ago
Aurélien Aptel
e8c13ebe80
close master/slave pty in the shell process.
14 years ago
Aurélien Aptel
5c93f399c5
clean \t.
14 years ago
Aurélien Aptel
44226483fb
update function prototypes.
14 years ago
Aurélien Aptel
b09401b96b
fix \b and clean \t.
14 years ago
Aurélien Aptel
a7922bd1d9
added F1-12 key, fixed DCH and ICH.
14 years ago
Aurélien Aptel
ce3f4fc647
fixed backspace problem, updated terminfo entry and moved TNAME in config.h.
14 years ago
Aurélien Aptel
d2f157c741
renamed a function.
14 years ago
Anselm R Garbe
10e49a0505
applied Devin J Pohly's st color info patches, thanks Devin!
14 years ago
pancake@nopcode.org
9e8f5f1348
fix gcc warnings
14 years ago
Aurélien Aptel
499c70cda0
fixed background color bug (thx Devin J. Pohly).
14 years ago
Aurélien Aptel
2f96cfeada
added PBaseSize hint and set default title to "st".
14 years ago
Aurélien Aptel
2f5ebe0a4d
rearranged code, resize fixed.
14 years ago
Aurélien Aptel
476f93794a
little clean up.
14 years ago
Aurélien Aptel
d01c55c9ab
use SHELL environment variable (thx Thomas Adam)
14 years ago
Aurélien Aptel
b3b7ffce5f
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 ago
Aurélien Aptel
0f4dd5035e
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 ago
Aurélien Aptel
7cdaf130b1
added VT100 NEL.
14 years ago
Aurélien Aptel
639f16d200
added VT100 RI.
14 years ago
Aurélien Aptel
636c369d86
added VT100 save&load cursor support.
14 years ago
Aurélien Aptel
3ba517e796
ECH handled correctly.
14 years ago
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.
15 years ago