Commit Graph

39 Commits

Author SHA1 Message Date
Matthias-Christian Ott db20559694 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 76c66a3556 reunite pty.c with std.c 2008-07-21 10:34:02 +02:00
Matthias-Christian Ott 2346bd1d39 correct programme name 2008-07-21 09:25:47 +02:00
Matthias-Christian Ott 019a118b67 use errx() for help and version messages 2008-07-21 09:25:25 +02:00
Matthias-Christian Ott 3993557404 merge with backout head 2008-07-10 22:43:24 +02:00
Matthias-Christian Ott fbac4d5cb6 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 3333bca385 remove TODO 2008-07-09 11:10:38 +02:00
Matthias-Christian Ott 23bc536ebd make ptm and pts static 2008-07-09 10:50:44 +02:00
Matthias-Christian Ott f917857f4e remove useless variable 2008-07-05 13:29:21 +02:00
Matthias-Christian Ott eb92c4da84 remove emallocz() 2008-07-04 18:18:51 +02:00
Matthias-Christian Ott d16fdbb6fa replace eprint() functions with BSD error functions 2008-07-04 18:05:08 +02:00
Matthias-Christian Ott f757e6f839 simplify flushing 2008-06-15 17:31:24 +02:00
Matthias-Christian Ott dadd3d0a6d correct buffering 2008-06-15 09:19:22 +02:00
Matthias-Christian Ott 1bc8d0beb3 make local functions and variables static 2008-06-14 23:29:11 +02:00
Matthias-Christian Ott 7c63f47d3d add select(2)-based i/o multiplexing 2008-06-14 23:24:12 +02:00
Matthias-Christian Ott bed0807e77 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 c9e63f9c30 make st and std separate programmes 2008-06-14 11:03:29 +02:00
Matthias-Christian Ott 61f6e92f65 add missing header file 2008-06-10 18:01:15 +02:00
Matthias-Christian Ott f513f1d9da assume glibc by default 2008-06-10 18:00:15 +02:00
Matthias-Christian Ott 3e8930a7a6 source utility functions out to util.c 2008-06-10 17:56:57 +02:00
Matthias-Christian Ott df9140d050 add copyright comment 2008-06-10 17:32:15 +02:00
Matthias-Christian Ott 3f14681cd6 source getpty() out to pty.c 2008-06-10 17:30:15 +02:00
Matthias-Christian Ott 9995f245ee update TODO 2008-06-09 22:24:44 +02:00
Matthias-Christian Ott e4be8afef2 correct function name 2008-06-09 22:21:37 +02:00
Matthias-Christian Ott 9a644176d0 remove xinerama flags
The xinerama related variables in config.mk are a relict of
dwm and therefore should be removed.
2008-06-08 21:36:58 +02:00
Matthias-Christian Ott 130b90d8d0 add missing header file 2008-06-08 21:18:49 +02:00
Matthias-Christian Ott 62872197f8 add parser loop 2008-06-08 21:17:02 +02:00
Matthias-Christian Ott 19a38b1fd3 remove useless variable 2008-06-08 20:55:42 +02:00
Matthias-Christian Ott 512ca99d8c replace state with separate variables 2008-06-08 20:47:08 +02:00
Matthias-Christian Ott 538a0c4431 terminate error message with newline 2008-06-04 19:52:59 +02:00
Matthias-Christian Ott 75b1565fdc correct LENGTH() 2008-06-02 20:15:52 +02:00
Matthias-Christian Ott 4059fb04fa simplify control flow 2008-06-02 20:01:35 +02:00
Matthias-Christian Ott 1ebcc5c97b remove debug code 2008-06-02 18:42:23 +02:00
Matthias-Christian Ott 28f831b74b remove stdio slave pty opening 2008-06-02 18:41:23 +02:00
Matthias-Christian Ott 38c5ff876d drop support for proprietary UNIX variants
Proprietary UNIX variants like AIX, HP-UX or SCO UNIX
are nowadays rarely used and maintaining compatibility to
non-standard operating systems interfaces is wasteful and
practically useless.

Projects like xterm suffer from backward compatibility to decades-old
UNIX variants and terminal standards. This does not conform to st's
design goals.
2008-06-02 18:40:22 +02:00
Anselm R Garbe 2803f76fa8 slight changes 2008-06-01 18:04:49 +01:00
Anselm R Garbe d272d5a95e applied Matthias-Christians changes to std.c 2008-06-01 18:02:48 +01:00
Anselm R Garbe a4e3e95194 added some new files for the initial rewrite of st from scratch 2008-05-20 10:03:59 +01:00
arg@localhost.localdomain 9e7b36d72b added new TODO 2008-05-11 16:36:13 +00:00