In src/parse_confic.c there are two typos which cause an error message

        Parse error in config file on line nnn

if you try to assign function keys f9 or f10 using the usual KEY_F(<n>)
syntax. These two require KEY_(F<n>).
This bug was present as early as 2002 and is still present in the latest
version 0.6.13.

The attached patch applies to 0.6.10 (the current version in cygwin) and
also to 0.6.13. I've also sent it to the maintainer, Bas Zoetekouw. So
it might be taken intp account in 0.6.14.

Henning



--- a/src/parse_config.c        2006-06-24 17:16:14.000000000 +0200
+++ b/src/parse_config.c        2019-06-04 21:29:14.902420800 +0200
@@ -867,9 +867,9 @@
                                        *key = KEY_F(7);
                                else if (!(strncmp(temp + 4, "F(8)", 4)))
                                        *key = KEY_F(8);
-                               else if (!(strncmp(temp + 4, "(F9)", 4)))
+                               else if (!(strncmp(temp + 4, "F(9)", 4)))
                                        *key = KEY_F(9);
-                               else if (!(strncmp(temp + 4, "(F10)", 5)))
+                               else if (!(strncmp(temp + 4, "F(10)", 5)))
                                        *key = KEY_F(10);
                                else if (!(strncmp(temp + 4, "F(11)", 5)))
                                        *key = KEY_F(11);
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to