artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05c7814
)
If no 'begin' key on keypad, use 'home' instead since PC keyboards
author
millert
<millert@openbsd.org>
Sun, 12 Mar 2000 00:42:16 +0000
(
00:42
+0000)
committer
millert
<millert@openbsd.org>
Sun, 12 Mar 2000 00:42:16 +0000
(
00:42
+0000)
have 'home', not 'begin'.
usr.bin/mg/ttykbd.c
patch
|
blob
|
history
diff --git
a/usr.bin/mg/ttykbd.c
b/usr.bin/mg/ttykbd.c
index
52febf6
..
f4a1679
100644
(file)
--- 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)