version 1.7, 2001/05/23 16:13:59 |
version 1.8, 2001/05/23 20:19:44 |
|
|
#ifndef NO_STARTUP |
#ifndef NO_STARTUP |
if (inmacro) { |
if (inmacro) { |
for (s = 0; s < maclcur->l_used - 1; s++) { |
for (s = 0; s < maclcur->l_used - 1; s++) { |
if (doscan(curmap, c = CHARMASK(maclcur->l_text[s])) |
if (doscan(curmap, c = CHARMASK(maclcur->l_text[s]), &curmap) |
!= NULL) { |
!= NULL) { |
if (remap(curmap, c, NULL, (KEYMAP *)NULL) |
if (remap(curmap, c, NULL, (KEYMAP *)NULL) |
!= TRUE) |
!= TRUE) |
return FALSE; |
return FALSE; |
} |
} |
curmap = ele->k_prefmap; |
|
} |
} |
(VOID)doscan(curmap, c = maclcur->l_text[s]); |
(VOID)doscan(curmap, c = maclcur->l_text[s], NULL); |
maclcur = maclcur->l_fp; |
maclcur = maclcur->l_fp; |
} else { |
} else { |
#endif /* !NO_STARTUP */ |
#endif /* !NO_STARTUP */ |
|
|
ewprintf("%s", prompt); |
ewprintf("%s", prompt); |
pep[-1] = ' '; |
pep[-1] = ' '; |
pep = keyname(pep, c = getkey(FALSE)); |
pep = keyname(pep, c = getkey(FALSE)); |
if (doscan(curmap, c) != NULL) |
if (doscan(curmap, c, &curmap) != NULL) |
break; |
break; |
*pep++ = '-'; |
*pep++ = '-'; |
*pep = '\0'; |
*pep = '\0'; |
curmap = ele->k_prefmap; |
|
} |
} |
#ifndef NO_STARTUP |
#ifndef NO_STARTUP |
} |
} |
|
|
return FALSE; |
return FALSE; |
} |
} |
while (--kcount) { |
while (--kcount) { |
if (doscan(curmap, c = *keys++) != NULL) { |
if (doscan(curmap, c = *keys++, &curmap) != NULL) { |
if (remap(curmap, c, NULL, (KEYMAP *)NULL) != TRUE) |
if (remap(curmap, c, NULL, (KEYMAP *)NULL) != TRUE) |
return FALSE; |
return FALSE; |
} |
} |
curmap = ele->k_prefmap; |
|
} |
} |
(VOID)doscan(curmap, c = *keys); |
(VOID)doscan(curmap, c = *keys, NULL); |
return remap(curmap, c, funct, pref_map); |
return remap(curmap, c, funct, pref_map); |
} |
} |
|
|