* term.c (term_get_fkeys): Some systems define `static' to be the
authorJim Blandy <jimb@redhat.com>
Wed, 19 Aug 1992 06:38:40 +0000 (06:38 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 19 Aug 1992 06:38:40 +0000 (06:38 +0000)
commita796ac82a396d99bcb77f00736328a84dce83768
tree36a07269eea1adee5377716a443f4e45a5a3b2a1
parent345677047df477bf523ff915ff91249031c180d1
* term.c (term_get_fkeys): Some systems define `static' to be the
     empty string, which means that you can't have constant
     initialized arrays inside a function.  So move the `keys' array
     outside of the function.

* term.c (keys): Include definitions for "K2" (the center key on
     an IBM keypad), "F1" (F11), and "F2" (F12).  Handle "k0" and "k;"
     specially; see the code for details.

* term.c (clear_end_of_line): Remember that on some systems,
     "static" gets defined to be the null string, so we can't declare
     an array to be static and then initialize it.  Since the array in
     question (buf) is only one element long, just make it a scalar
     rather than an array; it can then be initialized, even if it's
     not static.
src/term.c