comparison GETTING.GNU.SOFTWARE @ 1015:58c373be762c

* 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.
author Jim Blandy <jimb@redhat.com>
date Wed, 19 Aug 1992 06:38:40 +0000
parents e6c69aa0f536
children 508bb8dd1e88
comparison
equal deleted inserted replaced
1014:6e25f9b75841 1015:58c373be762c