Commit Graph

17 Commits

Author SHA1 Message Date
christos
a13cd75612 kill ptr_t and ioctl_t, add * sizeof(*foo) to all allocations. 2011-07-28 20:50:55 +00:00
christos
e63c844a17 term -> terminal 2011-07-28 00:45:50 +00:00
christos
e8bbf84cd0 reset and redraw on sigcont. From Anon Ymous. 2009-02-19 15:20:22 +00:00
christos
ec70918ed3 SA_RESTART for all signals but SIGINT. From Anon Ymous. 2009-02-18 15:04:40 +00:00
christos
d25b6758ed in order for read() to return EINTR we need to use sigaction, not signal,
otherwise SA_RESTART is set.
2009-02-15 21:25:01 +00:00
christos
872a7369cc Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
using multiple EditLine objects. Mostly from Preston A. Elder.
2008-09-10 15:45:37 +00:00
agc
eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
christos
5f1f221c24 sig_t is non portable 2003-03-10 00:58:05 +00:00
christos
0e0ac6b723 - constify; passes all gcc and lint strict checks.
- add config.h [Jason Evans], to create a portable version of libedit that
  can be easily compiled on other OS's.
2002-03-18 16:00:50 +00:00
jdolecek
417c215317 make constant arrays a const 2001-01-09 17:31:04 +00:00
christos
ed19c5fdb0 fix dumb typo in signal setup [from OpenBSD]
return -1 if alloc fails.
2001-01-04 15:55:03 +00:00
lukem
d30d584a91 convert to new style guide, which includes:
- ansi prototypes & features (such as stdargs)
- 8 space indents
2000-09-04 22:06:28 +00:00
simonb
1528b77539 More trailing white space. 1999-07-02 15:14:07 +00:00
christos
54fac6850e Fix compiler warnings. 1997-07-06 18:25:21 +00:00
christos
eb54427340 Portability fixes:
__const		-> const
BADSIG		-> SIG_ERR
int flags	-> u_int flags
#if __STDC__	-> #ifdef __STDC__
1997-04-11 17:52:44 +00:00
lukem
2543e3e651 RCSid police
editline first appeared in 4.4BSD not NetBSD1.0
1997-01-11 06:47:47 +00:00
cgd
6dc2f1db52 libedit! 1994-05-06 06:01:42 +00:00