Changing the default tty settings.
Hello All,
I am trying to change the default tty terminal behavior to send the SIGINT signal, by typing "ctrl+g" instead of "ctrl+c". I understand we can use the stty command to do so. But is there a way to make this setting -> "stty intr ^g" the default for every new terminal, without putting this command into the .bashrc/shell init scripts? Thank you for your inputs, Vidya |
AFAIK the login process is as follows: a getty waits for a user to log in on the console. On successful login 'login' replaces the getty. Login then spawns the users shell. And while login doesn't your getty may source console-specific settings.
|
All times are GMT -5. The time now is 09:17 PM. |