Matthias-Christian Ott
6bcdd0edd5
use stdio(3)
18 years ago
Matthias-Christian Ott
7e57d1fbba
add description of std
18 years ago
Matthias-Christian Ott
841d2339e3
add prototype for command parsing
18 years ago
Matthias-Christian Ott
76c66a3556
reunite pty.c with std.c
18 years ago
Matthias-Christian Ott
2346bd1d39
correct programme name
18 years ago
Matthias-Christian Ott
019a118b67
use errx() for help and version messages
18 years ago
Matthias-Christian Ott
fbac4d5cb6
Backed out changeset d2bb4220fdf3
...
Ptm and pts are used by pty.c, thus they have to be non-static.
18 years ago
Matthias-Christian Ott
23bc536ebd
make ptm and pts static
18 years ago
Matthias-Christian Ott
f917857f4e
remove useless variable
18 years ago
Matthias-Christian Ott
eb92c4da84
remove emallocz()
18 years ago
Matthias-Christian Ott
d16fdbb6fa
replace eprint() functions with BSD error functions
18 years ago
Matthias-Christian Ott
f757e6f839
simplify flushing
18 years ago
Matthias-Christian Ott
dadd3d0a6d
correct buffering
18 years ago
Matthias-Christian Ott
1bc8d0beb3
make local functions and variables static
18 years ago
Matthias-Christian Ott
7c63f47d3d
add select(2)-based i/o multiplexing
18 years ago
Matthias-Christian Ott
bed0807e77
drop stdio usage
...
Std requires I/O multiplexing which is very complicated with
stdio, because it provides no transparent buffering.
18 years ago
Matthias-Christian Ott
3e8930a7a6
source utility functions out to util.c
18 years ago
Matthias-Christian Ott
df9140d050
add copyright comment
18 years ago
Matthias-Christian Ott
3f14681cd6
source getpty() out to pty.c
18 years ago
Matthias-Christian Ott
e4be8afef2
correct function name
18 years ago
Matthias-Christian Ott
130b90d8d0
add missing header file
18 years ago
Matthias-Christian Ott
62872197f8
add parser loop
18 years ago
Matthias-Christian Ott
19a38b1fd3
remove useless variable
18 years ago
Matthias-Christian Ott
512ca99d8c
replace state with separate variables
18 years ago
Matthias-Christian Ott
538a0c4431
terminate error message with newline
18 years ago
Matthias-Christian Ott
75b1565fdc
correct LENGTH()
18 years ago
Matthias-Christian Ott
4059fb04fa
simplify control flow
18 years ago
Matthias-Christian Ott
1ebcc5c97b
remove debug code
18 years ago
Matthias-Christian Ott
28f831b74b
remove stdio slave pty opening
18 years ago
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.
18 years ago
Anselm R Garbe
d272d5a95e
applied Matthias-Christians changes to std.c
18 years ago
Anselm R Garbe
a4e3e95194
added some new files for the initial rewrite of st from scratch
18 years ago