diff -Nru /tmp/tryIcdhZHY/console-tools-0.2.3dbs/debian/changelog /tmp/llPQvgj8hT/console-tools-0.2.3dbs/debian/changelog --- /tmp/tryIcdhZHY/console-tools-0.2.3dbs/debian/changelog 2006-09-15 13:58:48.000000000 +0100 +++ /tmp/llPQvgj8hT/console-tools-0.2.3dbs/debian/changelog 2006-10-20 09:38:46.000000000 +0100 @@ -1,3 +1,12 @@ +console-tools (1:0.2.3dbs-62ubuntu10) edgy; urgency=low + + * debian/patches/999_ubuntu_getfd.patch: Make get_console_fd try to open + /proc/self/fd/0, so that kbd_mode can be used to query or modify any tty + by running kbd_mode < /dev/ttyN. This is a copy of a change by Denis + Barbier in kbd 1.12-15. + + -- Colin Watson Fri, 20 Oct 2006 09:38:39 +0100 + console-tools (1:0.2.3dbs-62ubuntu9) edgy; urgency=low * Accept console-setup as an alternative for console-common and diff -Nru /tmp/tryIcdhZHY/console-tools-0.2.3dbs/debian/patches/999_ubuntu_getfd.patch /tmp/llPQvgj8hT/console-tools-0.2.3dbs/debian/patches/999_ubuntu_getfd.patch --- /tmp/tryIcdhZHY/console-tools-0.2.3dbs/debian/patches/999_ubuntu_getfd.patch 1970-01-01 01:00:00.000000000 +0100 +++ /tmp/llPQvgj8hT/console-tools-0.2.3dbs/debian/patches/999_ubuntu_getfd.patch 2006-10-19 22:13:05.000000000 +0100 @@ -0,0 +1,14 @@ +diff -ruN console-tools-0.2.3-old/lib/misc-console-utils.c console-tools-0.2.3/lib/misc-console-utils.c +--- console-tools-0.2.3-old/lib/misc-console-utils.c 1999-10-25 21:24:47.000000000 +0100 ++++ console-tools-0.2.3/lib/misc-console-utils.c 2006-10-19 22:13:01.000000000 +0100 +@@ -69,6 +69,10 @@ + return fd; + } + ++ fd = open_a_console("/proc/self/fd/0"); ++ if (fd >= 0) ++ return fd; ++ + fd = open_a_console("/dev/tty"); + if (fd >= 0) + return fd;