Package: fish Version: 1.21.7-1 Severity: wishlist Tags: patch below is a patch which futher expands the emacs-style keybindings in fish to include more cursor movement commands.
thanks, stew ------------------ diff -ru fish-1.21.7.orig/input.c fish-1.21.7/input.c --- fish-1.21.7.orig/input.c 2006-06-08 13:15:57.000000000 -0400 +++ fish-1.21.7/input.c 2006-06-08 13:16:36.000000000 -0400 @@ -1270,7 +1270,14 @@ add_escaped_mapping( L"emacs", (L"\\C-h"), L"Control-h", L"backward-delete-char" ); add_escaped_mapping( L"emacs", (L"\\C-e"), L"Control-e", L"end-of-line" ); add_escaped_mapping( L"emacs", (L"\\C-w"), L"Control-w", L"backward-kill-word" ); + add_escaped_mapping( L"emacs", (L"\\C-p"), L"Control-p", L"history-search-backward" ); + add_escaped_mapping( L"emacs", (L"\\C-n"), L"Control-n", L"history-search-forward" ); + add_escaped_mapping( L"emacs", (L"\\C-f"), L"Control-f", L"forward-char" ); + add_escaped_mapping( L"emacs", (L"\\C-b"), L"Control-b", L"backward-char" ); add_escaped_mapping( L"emacs", (L"\e\x7f"), L"Alt-backspace", L"backward-kill-word" ); + add_escaped_mapping( L"emacs", (L"\eb"), L"Alt-b", L"backward-word" ); + add_escaped_mapping( L"emacs", (L"\ef"), L"Alt-f", L"forward-word" ); + add_escaped_mapping( L"emacs", (L"\ed"), L"Alt-d", L"forward-kill-word" ); add_terminfo_mapping( L"emacs", (key_ppage), L"Page Up", L"beginning-of-history" ); add_terminfo_mapping( L"emacs", (key_npage), L"Page Down", L"end-of-history" ); } -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.16-2-k7-smp Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages fish depends on: ii bc 1.06-19 The GNU bc arbitrary precision cal ii elinks [www-browser 0.11.1-1 advanced text-mode WWW browser ii firefox [www-browse 1.5.dfsg+1.5.0.3-2 lightweight web browser based on M ii libc6 2.3.6-13 GNU C Library: Shared libraries ii libncurses5 5.5-2 Shared libraries for terminal hand ii links2 [www-browser 2.1pre22-1 Web browser running in both graphi ii w3-el-e21 [www-brow 4.0pre.2001.10.27-19 Web browser for GNU Emacs 21 ii w3m [www-browser] 0.5.1-4 WWW browsable pager with excellent Versions of packages fish recommends: pn xsel <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]