Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem in terminal settings

Status
Not open for further replies.

sureshp

Programmer
Aug 28, 2000
79
Hi,
I am trying to set the terminal settings through stty commands for Intr EOF and Kill as i shown here.
****
stty intr <del key>
stty eof <^D>
stty intr <^C>
****

Immediately after running this I can able to view this things if I put #stty command without any arguments.
But if I put DEL for infinite loop process it's not working.
Even after rebooting it's not working.
Any idea.Thanks in advance
[sig][/sig]
 
If my question is not clear,I put my objective here.
I want to set the terminal settings so that If I press DEL key my process should be killed or interupted. [sig][/sig]
 
I don't have a UNIX system in front of me right now but try typing Control-V and then the Del key. (or ^C or ^D) [sig]<p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top