Package: bash
Version: 3.1-5
Severity: important

Situation:

1. xon/xoff flow control is enabled by default:

$ stty -a | grep ixon
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
                                                                   ^^^^

2. Ctrl-S makes the terminal block since it is the stop character and
   ixon is enabled. I claim to block after Ctrl-S makes no sense for
   interactive terminals. See man 3 termios and 3.

3. The bash man page says:

   "To find other matching entries in the history list, type Control-S
    or Control-R as appropriate"

   Unfortunately with the current terminal settings this doesn't
   work. The terminal blocks as described in 2.

4. Ctrl-Q resumes input to the terminal, as specified in man 3
   termios.

To summarize:

Some package (not sure if bash), should disable xon/xoff flow control
to avoid it to clash with functionality offered by other programs (in
this case bash).

I.e. the default should be:

$ stty -ixon
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff
                                                                   ^^^^^
With this setting bash shows after pressing Control-S:

(i-search)`': 

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages bash depends on:
ii  base-files                   3.1.14      Debian base system miscellaneous f
ii  debianutils                  2.17        Miscellaneous utilities specific t
ii  libc6                        2.3.6.ds1-2 GNU C Library: Shared libraries
ii  libncurses5                  5.5-2       Shared libraries for terminal hand

bash recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to