Changeset 948b942
- Timestamp:
- Mar 1, 2004, 10:44:43 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- fe1f605
- Parents:
- afbf668
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
rafbf668 r948b942 1 1 $Id$ 2 2 3 2.1.6 pre13 2.1.6-pre-1 4 4 pexec will now incrimentally display data as it is output 5 5 by the child process. Additionally, commands running under … … 9 9 to when data is available for non-blocking read/write/except. 10 10 Switched the stderr_redir stuff to use muxevents. 11 Print C-\ correctly (from gildea) 12 Dropped first brace in muxevents functions for consistency 11 13 12 14 2.1.5 -
keypress.c
rcf83b7a r948b942 154 154 if ((OWL_CTRL(j) == j)) { 155 155 strcat(kb, "C-"); 156 j |= 0x60; 156 j |= 0x40; 157 if (isupper(j)) j = tolower(j); 157 158 158 159 } -
muxevents.c
rafbf668 r948b942 13 13 14 14 /* returns a handle id or 0 on failure */ 15 int owl_muxevents_add(owl_muxevents *muxevents, int fd, int eventmask, void (*handler_fn)(int handle, int fd, int eventmask, void *data), void *data) { 15 int owl_muxevents_add(owl_muxevents *muxevents, int fd, int eventmask, void (*handler_fn)(int handle, int fd, int eventmask, void *data), void *data) 16 { 16 17 owl_mux *mux; 17 18 … … 36 37 37 38 /* deactivates a muxevent entry with the given handle */ 38 void owl_muxevents_remove(owl_muxevents *muxevents, int handle) { 39 void owl_muxevents_remove(owl_muxevents *muxevents, int handle) 40 { 39 41 int max, i; 40 42 owl_mux *m; … … 52 54 /* cleans up a muxevents list at a safe time (ie, when it is 53 55 not being traversed). */ 54 void owl_muxevents_gc(owl_muxevents *muxevents) { 56 void owl_muxevents_gc(owl_muxevents *muxevents) 57 { 55 58 int max, i, done=0; 56 59 owl_mux *m; … … 73 76 74 77 /* dispatches out events */ 75 void owl_muxevents_dispatch(owl_muxevents *muxevents, int timeout_usec) { 78 void owl_muxevents_dispatch(owl_muxevents *muxevents, int timeout_usec) 79 { 76 80 int nevents, i, rv, emask; 77 81 owl_mux *m; … … 124 128 owl_muxevents_gc(muxevents); 125 129 } 126 127
Note: See TracChangeset
for help on using the changeset viewer.