From: millert Date: Sun, 12 Mar 2000 00:42:16 +0000 (+0000) Subject: If no 'begin' key on keypad, use 'home' instead since PC keyboards X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5a462a1e41ee1335a8480ae3a746f6d023d5fce2;p=openbsd If no 'begin' key on keypad, use 'home' instead since PC keyboards have 'home', not 'begin'. --- diff --git a/usr.bin/mg/ttykbd.c b/usr.bin/mg/ttykbd.c index 52febf6df78..f4a16799a34 100644 --- a/usr.bin/mg/ttykbd.c +++ b/usr.bin/mg/ttykbd.c @@ -43,6 +43,8 @@ ttykeymapinit() dobindkey(map_table[0].p_map, "next-line", key_down); if (key_beg) dobindkey(map_table[0].p_map, "beginning-of-line", key_beg); + else if (key_home) + dobindkey(map_table[0].p_map, "beginning-of-line", key_home); if (key_end) dobindkey(map_table[0].p_map, "end-of-line", key_end); if (key_npage)