[Pkg-sysvinit-devel] Bug#402847: sysvinit: Should drop ECHOPRT but set ECHOE?

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Dec 13 01:51:55 CET 2006


Package: sysvinit
Version: 2.86.ds1-36
Severity: wishlist

Hi,

In src/init.c, one can read

        tty.c_lflag = ISIG|ICANON|ECHO|ECHOCTL|ECHOPRT|ECHOKE;

Is there a reason for setting ECHOPRT and not ECHOE?

Doing so makes the console behave in a not very beautiful way,
particularly in emergency sessions: except at the shell prompt, when the
user types something and tries to erase it, the result is

 foo\foo/

Shouldn't ECHOPRT be dropped and ECHOE set instead, for avoiding such
strange effect?

Samuel

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages sysvinit depends on:
ii  file-rc                      0.8.10      Alternative boot mechanism using a
ii  initscripts                  2.86.ds1-36 Scripts for initializing and shutt
ii  libc6                        2.3.6.ds1-9 GNU C Library: Shared libraries
ii  libselinux1                  1.32-3      SELinux shared libraries
ii  libsepol1                    1.14-2      Security Enhanced Linux policy lib
ii  sysvinit-utils               2.86.ds1-36 System-V-like utilities

sysvinit recommends no packages.

-- no debconf information




More information about the Pkg-sysvinit-devel mailing list