10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
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 Replies
2. Shell Programming and Scripting
hi experts
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 Replies
3. Shell Programming and Scripting
Hi all,
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:
read
echo "you pressed $REPLY"
Then i find a way to achieve my goal.
1 #! /bin/bash
2
3 ARROWUP='\;then... (4 Replies)
Discussion started by: homeboy
4 Replies
4. Shell Programming and Scripting
Hi Experts,
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
6 Replies
5. Shell Programming and Scripting
Hi,
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
14 Replies
6. Shell Programming and Scripting
Hello everyone.
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
https://www.unix.com/shell-programming-scripting/59605-trap-key-press-script.html
however, I cannot figure out a way of avoiding the keypress if the... (2 Replies)
Discussion started by: cue
2 Replies
7. UNIX for Dummies Questions & Answers
hi folks,
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
1 Replies
8. Shell Programming and Scripting
Is it possible to enter data into a read command and automatically enter, for instance
read name
echo "Andy" /r
could this work cos it doesn't seem to be working for me! (2 Replies)
Discussion started by: chapmana
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all!
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
2 Replies
10. Programming
hi
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
4 Replies