update_sun_fkeys();
static Bool domenu (	Widget w GCC_UNUSED,	XEvent *event GCC_UNUSED,	String *params,             /* mainMenu, vtMenu, or tekMenu */	Cardinal *param_count)      /* 0 or 1 */{    TScreen *screen = &term->screen;    if (*param_count != 1) {	Bell(XkbBI_MinorError,0);	return False;    }    switch (params[0][0]) {      case 'm':	if (!screen->mainMenu) {	    screen->mainMenu = create_menu (term, toplevel, "mainMenu",					    mainMenuEntries,					    XtNumber(mainMenuEntries));	    update_securekbd();	    update_allowsends();#ifdef ALLOWLOGGING	    update_logging();#endif	    update_8bit_control();	    update_decbkm();	    update_sun_kbd();	    if (screen->terminal_id < 200) {		set_sensitivity (screen->mainMenu,				 mainMenuEntries[mainMenu_8bit_ctrl].widget,				 FALSE);	    }	    update_sun_fkeys();#if !defined(SIGTSTP) || defined(AMOEBA)	    set_sensitivity (screen->mainMenu,			     mainMenuEntries[mainMenu_suspend].widget, FALSE);#endif#if !defined(SIGCONT) || defined(AMOEBA)	    set_sensitivity (screen->mainMenu, 			     mainMenuEntries[mainMenu_continue].widget, FALSE);#endif	}	break;      case 'v':	if (!screen->vtMenu) {	    screen->vtMenu = create_menu (term, toplevel, "vtMenu",					  vtMenuEntries,					  XtNumber(vtMenuEntries));	    update_scrollbar();	    update_jumpscroll();	    update_reversevideo();	    update_autowrap();	    update_reversewrap();	    update_autolinefeed();	    update_appcursor();	    update_appkeypad();	    update_scrollkey();	    update_scrollttyoutput();	    update_allow132();	    update_cursesemul();	    update_visualbell();	    update_marginbell();#ifndef NO_ACTIVE_ICON	    if (!screen->fnt_icon || !screen->iconVwin.window) {		set_sensitivity (screen->vtMenu,				 vtMenuEntries[vtMenu_activeicon].widget,				 FALSE);	    }	    else		update_activeicon();#endif /* NO_ACTIVE_ICON */	}	break;      case 'f':	if (!screen->fontMenu) {	    screen->fontMenu = create_menu (term, toplevel, "fontMenu",					    fontMenuEntries,					    NMENUFONTS);  	    set_menu_font (True);	    set_sensitivity (screen->fontMenu,			     fontMenuEntries[fontMenu_fontescape].widget,			     (screen->menu_font_names[fontMenu_fontescape]			      ? TRUE : FALSE));	}	FindFontSelection (NULL, True);	set_sensitivity (screen->fontMenu,			 fontMenuEntries[fontMenu_fontsel].widget,			 (screen->menu_font_names[fontMenu_fontsel]			  ? TRUE : FALSE));	break;#if OPT_TEK4014      case 't':	if (!screen->tekMenu) {	    screen->tekMenu = create_menu (term, toplevel, "tekMenu",					   tekMenuEntries,					   XtNumber(tekMenuEntries));	    set_tekfont_menu_item (screen->cur.fontsize, TRUE);	}	break;#endif      default:	Bell(XkbBI_MinorError,0);	return False;    }    return True;}