Bug#242785: termwrap: does not understand devfs terminal devices
Package: base-config
Version: 2.17
Severity: minor
Tags: patch
termwrap does not understand devfs device names. That
is not a problem during installation but it may be
useful after installation.
Attached patch fixes this problem
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=uk_UA, LC_CTYPE=uk_UA
Versions of packages base-config depends on:
ii adduser 3.52 Add and remove users and groups
ii apt 0.5.24 Advanced front-end for dpkg
ii aptitude 0.2.14.1-2 curses-based apt frontend
ii bsdutils 1:2.12-6 Basic utilities from 4.4BSD-Lite
ii console-data 2002.12.04dbs-35 Keymaps, fonts, charset maps, fall
ii console-tools 1:0.2.3dbs-50 Linux console and font utilities
ii debconf 1.4.21 Debian configuration management sy
ii debianutils 2.8.1 Miscellaneous utilities specific t
ii gettext-base 0.14.1-2 GNU Internationalization utilities
ii passwd 1:4.0.3-26 Change and administer password and
-- debconf information excluded
? termwrap-devfs.diff
Index: termwrap
===================================================================
RCS file: /cvsroot/base-config/base-config/termwrap,v
retrieving revision 1.32
diff -u -r1.32 termwrap
--- termwrap 31 Mar 2004 01:21:12 -0000 1.32
+++ termwrap 8 Apr 2004 18:22:02 -0000
@@ -184,10 +184,10 @@
#esac
;;
-/dev/tty|/dev/tty[1-9]*)
+/dev/tty|/dev/tty[1-9]*|/dev/vc/*)
TERMINAL=console
;;
-/dev/tty[p-za-e]*)
+/dev/tty[p-za-e]*|/dev/pts/*)
TERMINAL=pseudo
if [ ! -z "$DISPLAY" ]; then
TERMINAL=x
Reply to: