[Bug 80635] Re: Please disable flow-control by default

Matt Day 80635 at bugs.launchpad.net
Sat Oct 22 20:06:30 UTC 2011


I just solved this issue for my users on my Ubuntu system... my two
cents:

1) Complaint was: terminal sessions freezing up once in a blue moon.
     Finally I figured out they had just typoed ^S

2) To fix this I created a script: /usr/local/bin/default-stty
     which I run from /etc/profile and /etc/csh.login

3) I'm surprised there is no standard way to set default tty settings for all users.
     It would be handy if there was some config file for this, e.g. /etc/termios.defaults
     Not sure exactly where it belongs. Does any flavor of Unix have this option?

4) For example, I also want everybody to "stty echok". Just a preference
of mine.

5) This is not a bash problem. Really this comes down to an inability to customize
     the TTYDEF_* values in the Linux kernel's sys/ttydefaults.h
     without recompiling the kernel. Maybe it should be a sysctl setting at least?

6) So, this bug should be moved to wherever Linux kernel config feature requests belong.
     Is there such a category in Ubuntu/debian?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/80635

Title:
  Please disable flow-control by default

Status in “bash” package in Ubuntu:
  Triaged
Status in “bash” package in Debian:
  New

Bug description:
  Binary package hint: coreutils

  Not sure if this is the right package, but I think flow-control
  (XON/XOFF - ctrl-s/ctrl-q) should be disabled by default. It's easy to
  hit ctrl-s instead of for example ctrl-a (in screen), and wonder why
  your shell isn't responding anymore. I doubt many people use it
  anyway, and those who do can enable it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/80635/+subscriptions




More information about the foundations-bugs mailing list