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

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.

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

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

14 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

14 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

15 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

15 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

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

15 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

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

15 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

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

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

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

15 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

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

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

15 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

15 years agosimplify flushing
Matthias-Christian Ott [Sun, 15 Jun 2008 15:31:24 +0000 (17:31 +0200)]
simplify flushing

15 years agocorrect buffering
Matthias-Christian Ott [Sun, 15 Jun 2008 07:19:22 +0000 (09:19 +0200)]
correct buffering

15 years agomake local functions and variables static
Matthias-Christian Ott [Sat, 14 Jun 2008 21:29:11 +0000 (23:29 +0200)]
make local functions and variables static

15 years agoadd select(2)-based i/o multiplexing
Matthias-Christian Ott [Sat, 14 Jun 2008 21:24:12 +0000 (23:24 +0200)]
add select(2)-based i/o multiplexing

15 years agodrop stdio usage
Matthias-Christian Ott [Sat, 14 Jun 2008 21:12:07 +0000 (23:12 +0200)]
drop stdio usage

Std requires I/O multiplexing which is very complicated with
stdio, because it provides no transparent buffering.

15 years agomake st and std separate programmes
Matthias-Christian Ott [Sat, 14 Jun 2008 09:03:29 +0000 (11:03 +0200)]
make st and std separate programmes

15 years agoadd missing header file
Matthias-Christian Ott [Tue, 10 Jun 2008 16:01:15 +0000 (18:01 +0200)]
add missing header file

15 years agoassume glibc by default
Matthias-Christian Ott [Tue, 10 Jun 2008 16:00:15 +0000 (18:00 +0200)]
assume glibc by default

15 years agosource utility functions out to util.c
Matthias-Christian Ott [Tue, 10 Jun 2008 15:56:57 +0000 (17:56 +0200)]
source utility functions out to util.c

15 years agoadd copyright comment
Matthias-Christian Ott [Tue, 10 Jun 2008 15:32:15 +0000 (17:32 +0200)]
add copyright comment

15 years agosource getpty() out to pty.c
Matthias-Christian Ott [Tue, 10 Jun 2008 15:30:15 +0000 (17:30 +0200)]
source getpty() out to pty.c

15 years agoupdate TODO
Matthias-Christian Ott [Mon, 9 Jun 2008 20:24:44 +0000 (22:24 +0200)]
update TODO

15 years agocorrect function name
Matthias-Christian Ott [Mon, 9 Jun 2008 20:21:37 +0000 (22:21 +0200)]
correct function name

15 years agoremove xinerama flags
Matthias-Christian Ott [Sun, 8 Jun 2008 19:36:58 +0000 (21:36 +0200)]
remove xinerama flags

The xinerama related variables in config.mk are a relict of
dwm and therefore should be removed.

15 years agoadd missing header file
Matthias-Christian Ott [Sun, 8 Jun 2008 19:18:49 +0000 (21:18 +0200)]
add missing header file

15 years agoadd parser loop
Matthias-Christian Ott [Sun, 8 Jun 2008 19:17:02 +0000 (21:17 +0200)]
add parser loop

15 years agoremove useless variable
Matthias-Christian Ott [Sun, 8 Jun 2008 18:55:42 +0000 (20:55 +0200)]
remove useless variable

15 years agoreplace state with separate variables
Matthias-Christian Ott [Sun, 8 Jun 2008 18:47:08 +0000 (20:47 +0200)]
replace state with separate variables

15 years agoterminate error message with newline
Matthias-Christian Ott [Wed, 4 Jun 2008 17:52:59 +0000 (19:52 +0200)]
terminate error message with newline

15 years agocorrect LENGTH()
Matthias-Christian Ott [Mon, 2 Jun 2008 18:15:52 +0000 (20:15 +0200)]
correct LENGTH()