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?
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. defaults
It would be handy if there was some config file for this, e.g. /etc/termios.
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?