Home
last modified time | relevance | path

Searched refs:keym (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.sbin/bsdconfig/share/
H A Dkeymap.subr54 keym \
64 # f_keymap_register $name $desc $keym $mark
76 local name="$1" desc="$2" keym="$3" mark="$4"
80 keymap_$name set keym "$keym"
103 local keym="$1"
106 [ "${keym#*/}" = "$keym" ] && keym="$DEFAULT_KEYMAP_DIR/$keym"
109 [ -f "$keym" -a -r "$keym" ] && return $SUCCESS
113 if [ ! -e "$keym" ]; then
114 f_dprintf "%s: No such file or directory" "$keym"
115 elif [ ! -f "$keym" ]; then
[all …]
/freebsd/usr.sbin/kbdmap/
H A Dkbdmap.c69 char *keym; member
85 if (!strcmp(km->keym, key)) in get_keymap()
110 remove_keymap(const char *keym) in remove_keymap() argument
115 if (!strcmp(keym, km->keym)) { in remove_keymap()
127 add_keymap(const char *desc, int mark, const char *keym) in add_keymap() argument
133 if (!strcmp(km->keym, keym)) { in add_keymap()
144 km_new->keym = strdup(keym); in add_keymap()
311 asprintf(&kbd_cmd, "kbdcontrol -l %s/%s", dir, km->keym); in do_kbdcontrol()
316 fprintf(stderr, "keymap=\"%s\"\n", km->keym); in do_kbdcontrol()
328 asprintf(&vid_cmd, "%s/%s", dir, km->keym); in do_vidfont()
[all …]
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dkeymap72 local keym="$1"
79 if [ "$keym" ]; then
81 err=$( f_keymap_kbdcontrol "$keym" 2>&1 > /dev/null )
90 f_dialog_title "$( printf "$msg_test_keymap" "${keym:-$msg_default}" )"
161 keymap_$k get keym keym
164 if [ "$keym" = "$keymap" ]; then
173 '($radio) $desc' '' '$keym: $desc'