Searched defs:fkey (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-head/contrib/dialog/
H A Dmousewget.c28 mouse_wgetch(WINDOW *win, int *fkey, bool ignore_errs) argument
35 key = dlg_getc(win, fkey);
86 dlg_mouse_wgetch(WINDOW *win, int *fkey) argument
88 return mouse_wgetch(win, fkey, TRUE);
92 dlg_mouse_wgetch_nowait(WINDOW *win, int *fkey) argument
94 return mouse_wgetch(win, fkey, FALSE);
H A Dmsgbox.c50 int key = 0, fkey; local
126 key = dlg_mouse_wgetch(dialog, &fkey);
127 if (dlg_result_key(key, fkey, &result))
130 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) {
135 if (fkey) {
H A Dyesno.c47 int key = 0, fkey; local
112 key = dlg_mouse_wgetch(dialog, &fkey);
113 if (dlg_result_key(key, fkey, &result))
120 if (fkey) {
H A Dinputbox.c74 int key, fkey, code; local
107 key = fkey = 0;
180 key = dlg_mouse_wgetch((state == sTEXT) ? editor : dialog, &fkey);
181 if (dlg_result_key(key, fkey, &result))
189 if (fkey
197 edit = dlg_edit_string(input, &chr_offset, key, fkey, first);
214 if (!fkey && (code = dlg_char_to_button(key, buttons)) >= 0) {
221 if (fkey) {
H A Dpause.c75 int key = 0, fkey; local
194 key = dlg_mouse_wgetch_nowait(dialog, &fkey);
198 if (dlg_result_key(key, fkey, &result))
H A Dtrace.c165 dlg_trace_chr(int ch, int fkey) argument
173 if (last_err && !fkey && ch == ERR) {
183 if (fkey) {
184 if (fkey > KEY_MAX || (fkey_name = keyname(fkey)) == 0) {
186 switch ((DLG_KEYS_ENUM) fkey) {
234 fprintf(myFP, "chr %s (ch=%#x, fkey=%d)\n", fkey_name, ch, fkey);
236 fprintf(myFP, "chr %s (ch=%d, fkey=%d)\n", fkey_name, ch, fkey);
[all...]
H A Dguage.c246 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument
252 if (!fkey && (ch == ERR)) {
402 int fkey; local
419 ch = dlg_getc(obj->obj.win, &fkey);
421 if (fkey && ch == KEY_RESIZE) {
448 while (valid(obj) && handle_my_getc(&(obj->obj), ch, fkey, &result));
H A Dprogressbox.c287 int key = 0, fkey; local
317 key = dlg_mouse_wgetch(obj->obj.win, &fkey);
318 if (dlg_result_key(key, fkey, &result))
321 if (!fkey && (check = dlg_char_to_button(key, buttons)) >= 0) {
326 if (fkey) {
H A Drangebox.c212 int key = 0, key2, fkey; local
325 key = dlg_mouse_wgetch(dialog, &fkey);
326 if (dlg_result_key(key, fkey, &result))
333 if (fkey) {
H A Dtailbox.c232 handle_my_getc(DIALOG_CALLBACK * cb, int ch, int fkey, int *result) argument
240 if (!fkey && dlg_char_to_button(ch, obj->buttons) == 0) {
242 fkey = TRUE;
245 if (fkey) {
322 int fkey; local
404 ch = dlg_getc(dialog, &fkey);
406 if (fkey && ch == KEY_RESIZE) {
421 while (handle_my_getc(&(obj->obj), ch, fkey, &result));
H A Dtimebox.c179 int key = 0, key2, fkey; local
298 key = dlg_mouse_wgetch(dialog, &fkey);
299 if (dlg_result_key(key, fkey, &result))
306 if (fkey) {
H A Dui_getc.c231 dlg_getc_callbacks(int ch, int fkey, int *result) argument
241 if (!(p->handle_getc(p, ch, fkey, result))) {
342 really_getch(WINDOW *win, int *fkey) argument
359 *fkey = 0;
364 ch = *fkey = my_wchar;
390 *fkey = (ch > KEY_MIN && ch < KEY_MAX);
434 dlg_getc(WINDOW *win, int *fkey) argument
459 ch = really_getch(win, fkey);
466 before_fkey = *fkey;
468 ch = dlg_lookup_key(win, ch, fkey);
660 int fkey = 0; local
[all...]
H A Dchecklist.c195 int key = 0, fkey; local
386 key = dlg_mouse_wgetch(dialog, &fkey);
387 if (dlg_result_key(key, fkey, &result))
390 was_mouse = (fkey && is_DLGK_MOUSE(key));
406 fkey = FALSE;
408 key = dlg_lookup_key(dialog, key, &fkey);
461 if (!fkey) {
501 if (fkey) {
558 if (fkey) {
H A Ddlg_keys.c204 * fkey in/out (on input, it is nonzero if curses_key is a function key,
208 dlg_lookup_key(WINDOW *win, int curses_key, int *fkey) argument
217 if (*fkey != 0 && curses_key == KEY_MOUSE) {
225 if (*fkey != 0 && curses_key == KEY_RESIZE) {
229 if (*fkey == 0 || curses_key < KEY_MAX) {
243 int function_key = (*fkey != 0);
248 *fkey = 0;
253 *fkey = q->dialog_key;
254 return *fkey;
273 dlg_result_key(int dialog_key, int fkey GCC_UNUSE
819 int fkey = (binding->curses_key > 255); local
[all...]
H A Dtreeview.c199 int key = 0, fkey; local
364 key = dlg_mouse_wgetch(dialog, &fkey);
365 if (dlg_result_key(key, fkey, &result))
368 was_mouse = (fkey && is_DLGK_MOUSE(key));
383 fkey = FALSE;
385 key = dlg_lookup_key(dialog, key, &fkey);
422 if (!fkey) {
462 if (fkey) {
518 if (fkey) {
H A Deditbox.c352 int key, fkey, code; local
388 fkey = 0;
504 key = dlg_mouse_wgetch((state == sTEXT) ? editing : dialog, &fkey);
513 if (dlg_result_key(key, fkey, &result))
517 was_mouse = (fkey && is_DLGK_MOUSE(key));
525 if (fkey
551 key = dlg_lookup_key(dialog, key, &fkey);
559 if (fkey) {
636 edit = dlg_edit_string(buffer, &chr_offset, key, fkey, FALSE);
652 if (!fkey
[all...]
H A Dinputstr.c518 dlg_edit_string(char *string, int *chr_offset, int key, int fkey, bool force) argument
529 if (!fkey) {
530 fkey = TRUE; /* assume we transform */
536 fkey = FALSE; /* this is used for navigation */
539 fkey = FALSE; /* ...no, we did not transform */
544 if (fkey) {
H A Dmenubox.c149 int key = 0, fkey = 0; local
169 key = dlg_mouse_wgetch(data->menu, &fkey);
170 if (dlg_edit_string(result, &offset, key, fkey, first)) {
341 int key = 0, fkey; local
519 key = dlg_mouse_wgetch(dialog, &fkey);
520 if (dlg_result_key(key, fkey, &result))
524 if (fkey) {
590 if (!found && fkey) {
650 if (fkey) {
H A Dtextbox.c499 int fkey = 0; local
540 key = dlg_getc(widget, &fkey);
541 if (fkey) {
542 switch (fkey) {
560 if (dlg_edit_string(input, &offset, key, fkey, first)) {
701 int key = 0, fkey; local
822 key = dlg_mouse_wgetch(dialog, &fkey);
823 if (dlg_result_key(key, fkey, &result))
826 if (!fkey && (code = dlg_char_to_button(key, obj.buttons)) >= 0) {
831 if (fkey) {
[all...]
H A Dbuildlist.c553 int key = 0, fkey; local
771 key = dlg_mouse_wgetch(dialog, &fkey);
772 if (dlg_result_key(key, fkey, &result))
775 was_mouse = (fkey && is_DLGK_MOUSE(key));
804 fkey = FALSE;
809 fkey = FALSE;
816 fkey = FALSE;
819 key = dlg_lookup_key(dialog, key, &fkey);
869 if (!fkey) {
908 if (!found && fkey) {
[all...]
/freebsd-head/contrib/opie/libopie/
H A Dverify.c73 struct opie_otpkey key, fkey, lastkey; local
111 memcpy(&fkey, &key, sizeof(struct opie_otpkey));
112 opiehash(&fkey, MDX);
113 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey));
116 memcpy(&fkey, &key, sizeof(struct opie_otpkey));
117 opiehash(&fkey, MDX);
118 i = memcmp(&fkey, &lastkey, sizeof(struct opie_otpkey));
125 memcpy(&fkey, &key, sizeof(struct opie_otpkey));
126 opiehash(&fkey, MDX);
127 i = memcmp(&fkey,
[all...]
/freebsd-head/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c81 int key, fkey; local
177 key = dlg_mouse_wgetch(dialog, &fkey);
186 if (!fkey)
/freebsd-head/contrib/nvi/vi/
H A Dvi.c1133 ARG_CHAR_T fkey,
1139 ev.e_c = fkey;
1131 v_count( SCR *sp, ARG_CHAR_T fkey, u_long *countp) argument
/freebsd-head/stand/ficl/
H A Dloader.c790 /* fkey - get a character from a file
792 * fkey ( file -- char )
794 static void fkey(FICL_VM *pVM) function
848 dictAppendWord(dp, "fkey", fkey, FW_DEFAULT);
/freebsd-head/usr.sbin/kbdcontrol/
H A Dkbdcontrol.c512 fprintf(fp, " fkey%02d", val - F_FN + 1);
920 fkeyarg_t fkey; local
924 fkey.keynum = i;
925 strcpy(fkey.keydef, fkey_table[i]);
926 fkey.flen = strlen(fkey_table[i]);
927 if (ioctl(0, SETFKEY, &fkey) < 0)
935 fkeyarg_t fkey; local
941 fkey.keynum = atoi(keynumstr);
942 if (fkey.keynum < 1 || fkey
[all...]

Completed in 96 milliseconds

12