Changeset e9b1f60


Ignore:
Timestamp:
Apr 20, 2003, 10:34:06 AM (18 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:
d54838d
Parents:
ecd5dc5
Message:
 only 'make distclean' will nuke core and ~ files now
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    recd5dc5 re9b1f60  
    4242        added the 'term' command which takes the 'raise' and 'deiconify'
    4343          options.  It assumes xterm for now.
     44        only 'make distclean' will nuke core and ~ files now
    4445       
    45461.2.8
  • Makefile.in

    rd0d65df re9b1f60  
    2727
    2828clean:
    29         $(RM) *~ *.o owl tester core $(AUTOGEN) owl_prototypes.h.new
     29        $(RM) owl tester *.o $(AUTOGEN) owl_prototypes.h.new
    3030
    3131distclean: clean
    32         $(RM) config.cache config.log config.status Makefile config.h TAGS
     32        $(RM) config.cache config.log config.status Makefile config.h TAGS *~ core
    3333
    3434proto: owl_prototypes.h
  • functions.c

    recd5dc5 re9b1f60  
    26322632}
    26332633
    2634 void owl_function_xterm_raise() {
    2635   char buff[10];
    2636 
    2637   buff[0]=0x1b;
    2638   buff[1]='[';
    2639   buff[2]='5';
    2640   buff[3]='t';
    2641   write(fileno(stdout), buff, 4);
    2642 }
    2643 
    2644 void owl_function_xterm_deiconify() {
    2645   char buff[10];
    2646 
    2647   buff[0]=0x1b;
    2648   buff[1]='[';
    2649   buff[2]='1';
    2650   buff[3]='t';
    2651   write(fileno(stdout), buff, 4);
    2652 }
     2634void owl_function_xterm_raise(void) {
     2635  printf("\033[5t");
     2636  fflush(stdout);
     2637}
     2638
     2639void owl_function_xterm_deiconify(void) {
     2640  printf("\033[1t");
     2641  fflush(stdout);
     2642}
Note: See TracChangeset for help on using the changeset viewer.