LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2011, 04:13 PM   #1
svm
LQ Newbie
 
Registered: Nov 2010
Posts: 8

Rep: Reputation: 0
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
 
Old 11-05-2011, 07:23 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing default settings when using remastersys Predatorian Linux - Software 1 03-28-2011 08:26 AM
changing the default resolution of tty jaakkop Linux - Hardware 5 08-06-2009 09:11 AM
Changing default tty font armandino Fedora 1 10-31-2008 01:34 PM
How to reset monitor settings to default autodetected settings in openSUSE? chengas123 Linux - General 2 09-17-2008 11:24 AM
Changing default kde settings mr_mandrill Slackware 2 06-09-2004 07:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration