Package: mg
Version: 20110905-1
Severity: normal
Tags: patch

Currently mg doesn't have a binding for the Delete key. Debian Policy 9.8
says that it should. The attached two-line patch fixes this.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mg depends on:
ii  libc6        2.13-27
ii  libncurses5  5.9-4

mg recommends no packages.

mg suggests no packages.

-- no debconf information
--- mg-20110905.orig/ttykbd.c	2012-02-29 11:35:35.000000000 +0100
+++ mg-20110905/ttykbd.c	2012-02-29 12:25:59.521218562 +0100
@@ -55,6 +55,8 @@
 		dobindkey(fundamental_map, "scroll-up", key_npage);
 	if (key_ppage)
 		dobindkey(fundamental_map, "scroll-down", key_ppage);
+	if (key_dc)
+		dobindkey(fundamental_map, "delete-char", key_dc);
 #endif /* FKEYS */
 
 #ifndef	NO_STARTUP

Reply via email to