The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Enter to OBP jess_t03 SUN Solaris 5 02-13-2008 12:14 PM
how to trap unix signal if the process killed/interupt occured in bash... manas_ranjan Shell Programming and Scripting 15 09-23-2007 09:47 AM
Building a better mouse trap, or How many lines of code does it take to trap a mouse? mph Shell Programming and Scripting 4 04-06-2006 05:02 PM
Cant enter password possuman72 SUN Solaris 2 06-10-2005 03:44 PM
Fmli Signal/trap Marcos Brito Shell Programming and Scripting 0 03-22-2005 03:20 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-18-2008
Sreejith_VK
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
trap signal for enter key

hi ,

What is the trap signal for "ENTER key"?
  #2 (permalink)  
Old 04-18-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,807
Are you trying to have the return key break into the program?
  #3 (permalink)  
Old 04-19-2008
cfajohnson's Avatar
cfajohnson cfajohnson is online now Forum Advisor  
Shell programmer, author
  
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,380
Quote:
Originally Posted by Sreejith_VK View Post
What is the trap signal for "ENTER key"?

There isn't one.

What are you trying to do?
  #4 (permalink)  
Old 04-21-2008
Sreejith_VK
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
yes i am trying to have a return key break into my script.

Last edited by Sreejith_VK; 04-21-2008 at 12:42 AM..
  #5 (permalink)  
Old 04-21-2008
Sreejith_VK
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
I was actually trying to exit the program after "enter".
I did it by
Quote:
echo "\nPress Enter to continue...\n"
read
exit 1
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:33 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0