Changeset 948b942


Ignore:
Timestamp:
Mar 1, 2004, 10:44:43 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
fe1f605
Parents:
afbf668
Message:
Print C-\ correctly (from gildea)
Dropped first brace in muxevents functions for consistency
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rafbf668 r948b942  
    11$Id$
    22
    3 2.1.6pre1
     32.1.6-pre-1
    44        pexec will now incrimentally display data as it is output
    55          by the child process.  Additionally, commands running under
     
    99          to when data is available for non-blocking read/write/except.
    1010        Switched the stderr_redir stuff to use muxevents.
     11        Print C-\ correctly (from gildea)
     12        Dropped first brace in muxevents functions for consistency
    1113       
    12142.1.5
  • keypress.c

    rcf83b7a r948b942  
    154154    if ((OWL_CTRL(j) == j)) {
    155155      strcat(kb, "C-");
    156       j |= 0x60;
     156      j |= 0x40;
     157      if (isupper(j)) j = tolower(j);
    157158
    158159    }
  • muxevents.c

    rafbf668 r948b942  
    1313
    1414/* 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) {
     15int owl_muxevents_add(owl_muxevents *muxevents, int fd, int eventmask, void (*handler_fn)(int handle, int fd, int eventmask, void *data), void *data)
     16{
    1617  owl_mux *mux;
    1718 
     
    3637
    3738/* deactivates a muxevent entry with the given handle */
    38 void owl_muxevents_remove(owl_muxevents *muxevents, int handle) {
     39void owl_muxevents_remove(owl_muxevents *muxevents, int handle)
     40{
    3941  int max, i;
    4042  owl_mux *m;
     
    5254/* cleans up a muxevents list at a safe time (ie, when it is
    5355   not being traversed). */
    54 void owl_muxevents_gc(owl_muxevents *muxevents) {
     56void owl_muxevents_gc(owl_muxevents *muxevents)
     57{
    5558  int max, i, done=0;
    5659  owl_mux *m;
     
    7376
    7477/* dispatches out events */
    75 void owl_muxevents_dispatch(owl_muxevents *muxevents, int timeout_usec) {
     78void owl_muxevents_dispatch(owl_muxevents *muxevents, int timeout_usec)
     79{
    7680  int nevents, i, rv, emask;
    7781  owl_mux *m;
     
    124128  owl_muxevents_gc(muxevents);
    125129}
    126 
    127 
Note: See TracChangeset for help on using the changeset viewer.