=== modified file 'driver-ti.c' --- driver-ti.c 2008-11-02 17:59:30 +0000 +++ driver-ti.c 2008-11-02 14:43:19 +0000 @@ -7,7 +7,6 @@ #include #include #include -#include struct ti_keyinfo { const char *seq; @@ -76,25 +75,6 @@ return NULL; } -static void start_driver(termkey_t *tk) -{ - /* The terminfo database will contain keys in application cursor key mode. - * We may need to enable that mode - */ - if(keypad_xmit) { - // Can't call putp or tputs because they suck and don't give us fd control - write(tk->fd, keypad_xmit, strlen(keypad_xmit)); - } -} - -static void stop_driver(termkey_t *tk) -{ - if(keypad_local) { - // Can't call putp or tputs because they suck and don't give us fd control - write(tk->fd, keypad_local, strlen(keypad_local)); - } -} - static void free_driver(void *private) { } @@ -256,8 +236,5 @@ .new_driver = new_driver, .free_driver = free_driver, - .start_driver = start_driver, - .stop_driver = stop_driver, - .getkey = getkey, };