- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- stty intr '^C'
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 12:41 AM
тАО11-28-2002 12:41 AM
I have this command in a program.
stty intr '^C'
What does this command do ?
Thank you for your answer.
Best Regards.
Arnaud
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 12:46 AM
тАО11-28-2002 12:46 AM
Re: stty intr '^C'
See man stty
You will find something like
stty erase "^H" kill "^U" intr "^C" eof "^D"
stty hupcl ixon ixoff
In most profiiles and it is setting a value to a system meta command
Steve Steel
Do not meddle in the affairs of Unix, for it is subtle and quick to core dump.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 12:47 AM
тАО11-28-2002 12:47 AM
Re: stty intr '^C'
from man stty:
==================================
The command:
stty kill '^X' intr '^C'
sets the delete-line character to ^X (Ctrl-X) and the interrupt
character to ^C. This command is usually found in the .login or
.profile file so that ^X and ^C need not be set by the user at each
login session.
==================================
use "stty" to check your current settings.
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 12:58 AM
тАО11-28-2002 12:58 AM
Re: stty intr '^C'
That command maps CTRL+C key sequence to a UNIX
Interrupt. Therefore when a program is running
occupying the shell prompt . When you press CTRL+C it will interrup the program and you get your shell prompt back
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 12:59 AM
тАО11-28-2002 12:59 AM
Re: stty intr '^C'
Steve what do you think when you speak "Do not meddle in the affairs of Unix, for it is subtle and quick to core dump. " (I'm sorry but I don't understand very much, I'm french)
My program is maded by an advanced developer, it must undoubtedly be question of core, could you say some to me of advantage. I will wish to withdraw this line in this program. Can I do it?
Thank you for your answer.
Best Regards.
Arnaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 01:10 AM
тАО11-28-2002 01:10 AM
SolutionSorry for english speaking people ...
Le 'stty intr ^C' est le positionnement de la s??quence de touches qui enverra un signal 2 (SIGINT) au programme, donc un arr??t classique par CTRL-C au clavier. Sinon, il est d'usage dans les forums de terminer une r??ponse par une maxime ou une devise. Dans ce cas c'??tait en gros :
Ne te m??le pas des affaires d'UNIX car c'est subtile et prompt ?? dumper ...
C'est donc sans rapport direct avec ta question et il n'y a pas de raison de retirer la ligne du script.
Cordialement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 01:13 AM
тАО11-28-2002 01:13 AM
Re: stty intr '^C'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 01:14 AM
тАО11-28-2002 01:14 AM
Re: stty intr '^C'
Il serait bon que je revois mes cours d'anglais ;)
Merci en tout cas ?? vous tous pour votre collaboration.
Thank you in any case with you all for your collaboration.
Arnaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 01:15 AM
тАО11-28-2002 01:15 AM
Re: stty intr '^C'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 01:19 AM
тАО11-28-2002 01:19 AM
Re: stty intr '^C'
My God I am drowned in these expressions ;) "I have gone nuts :-) "
Best regards
Arnaud ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2002 01:19 AM
тАО11-28-2002 01:19 AM
Re: stty intr '^C'
maybe our explorer is damaged??
And Steve:
I think your quotation is a littlebit confusing for newbies ;-)).
Regards
Volkmar
(Don't worry - be happy)