10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i am creating a shell script which is accepting file name as input parameter from Java and invoking finacle service.
The service will accpet text file,B2k_session id,etc and upload the text file data in finacle database.
My shell script looks like this:-
#! /bin/ksh... (2 Replies)
Discussion started by: vadlamudy
2. Shell Programming and Scripting
Question in perl
i'm creating a script to take from user a different inputs one of them is the carriage return .. so that i want to make an if condition if the user hit enter key the user will go to previous step
it something like that
chomp ($input = <STDIN>);
if ($input =~... (3 Replies)
Discussion started by: doubando
3. Shell Programming and Scripting
I need to know how to test a pressed key is arrowup or arrowdown and etc..
I found that the "echo" won't print anything if i enter the arrowup in the below code:
echo "you pressed $REPLY"
Then i find a way to achieve my goal.
1 #! /bin/bash
3 ARROWUP='\;then... (4 Replies)
Discussion started by: homeboy
4. Shell Programming and Scripting
I have a script in which I want to disable the "Enter" key press. Actually my script executes some process in background. So, till that background process is running, I don't want "Enter" key to be pressed by user. Is this can be achieved using trap command? (6 Replies)
Discussion started by: R0H0N
5. Shell Programming and Scripting
I'm porting an install script from AIX to Red Hat (2.6.18-164.el5 #1 SMP)
I have this script working in both AIX and HP-UX.
The script is a wrapper for a Micro Focus Server Express install program. It responds to the install program questions with a here-now list. Responses includes... (14 Replies)
Discussion started by: duker61
6. Shell Programming and Scripting
I'm trying to create a script that waits a given amount of time unless a given key is pressed. I found a very useful thread here
however, I cannot figure out a way of avoiding the keypress if the... (2 Replies)
Discussion started by: cue
7. UNIX for Dummies Questions & Answers
i am using sun solaris, when i press escape key in putty/netterm screen will blink for a second, plese let me know where this setting is done by my admin, what i feel is my admin must have set some control key for this so that screen will refresh each time i press escape key. please let... (1 Reply)
Discussion started by: sudheer157
8. Shell Programming and Scripting
Is it possible to enter data into a read command and automatically enter, for instance
echo "Andy" /r
could this work cos it doesn't seem to be working for me! (2 Replies)
Discussion started by: chapmana
9. UNIX for Dummies Questions & Answers
Well, you might have guessed it, I am looking for a way to control the return key under Solaris 8 and using telnet connections.
I notice a difference between Solaris and System V but I don't know exactly where to look for changes. The stty params are slightly different but as far as I... (2 Replies)
Discussion started by: nulnul7
i´m making a program, and i would like to know how can i know what key was pressed. i'm using Sun5.7 and C.
is there a keypress/keypressed function in C?
how can i know recognize the keys (enter, tab, shift, etc.)?
can i recognize two keys ? (shift+A, ctrl+C, etc)
any idea.. thanks (4 Replies)
Discussion started by: DebianJ